Jump to content


How To Match Crease In Mtor And Houdini?


  • Please log in to reply
2 replies to this topic

#1 lunlam

lunlam

    Peon

  • Members
  • Pip
  • 2 posts
  • Joined: 25-January 07

Posted 31 January 2007 - 07:27 PM

Hi all,
I am trying to write a geo exporter for maya. I also want to transfer crease defined in mtor.
In mtor, multiple maya sets containing edges are used to define the crease weight. PRMAN's subd tag also defines crease on edge set basis. e.g. ["crease" "crease"] [2 1 2 1] [1 2 5 6] [20 20]
That means prman will render 2 edge sets of crease value 20.
But I find that houdini only have one creaseweight attribute.
My question is how to map the value from mtor crease sets to houdini's creaseweight attr?

#2 edward

edward

    Grand Master

  • Members
  • PipPipPipPipPip
  • 3,326 posts
  • Joined: 10-September 02
  • Name:e.d.w.a.r.d. .

Posted 31 January 2007 - 09:52 PM

Since the creaseweight attribute is a vertex attribute, in theory, it's possible to have different crease values on either side of an edge. I have no idea what it means though to have different crease values on the different sides of an edge though.
don't panic!

#3 lunlam

lunlam

    Peon

  • Members
  • Pip
  • 2 posts
  • Joined: 25-January 07

Posted 01 February 2007 - 01:17 AM

I figured out how to do that. The creaseweight of a edge in houdini is defined by two vertex. What I need to do is to find
out the corresponding edge in MTOR crease sets. and assign the value to the vertices.
By the way, does houdini support corner tag of prman?




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users