FAQ FAQ      Search Search      Memberlist Memberlist      Usergroups Usergroups      Register Register      Profile Profile      Check private messages Check private messages      Log in Log in     

Transfering surface information in between two meshes

 
Post new topic   Reply to topic    Houdini Forum Index -> Technical Discussion
View previous topic :: View next topic  
Author Message
grayOlorin
Houdini Expert


Joined: 05 Oct 2010
Posts: 402
Location: Orlando

usa.gif
PostPosted: Fri Apr 29, 2011 8:27 am GMT    Post subject: Transfering surface information in between two meshes Reply with quote

Hi, wanted to see if someone in this forum could point me in the right direction:

How do you do map transfer/generation in between two meshes in Houdini? some examples of what I am looking for:

- Create a tangent space normal map from a hi res mesh (without UVs) to a low res mesh

- Transfer the color map from a scan model to a low res model without transfering UVs (by doing ray intersections in 3D space)

What I am looking for is similar to the transfer maps utility in maya or the ultimapper in XSI (however, I am looking for basically the results, even if the process is completely different) . I looked into the help, through several forums, etc. but could not find anything in regards to this.

Thank you in advance Smile

_________________
-G
Back to top
View user's profile Send private message
john_z
Talkative


Joined: 08 Jun 2009
Posts: 45

italy.gif
PostPosted: Fri Apr 29, 2011 8:44 am GMT    Post subject: Reply with quote

Hi,

an option could be to use the AttribTransfer SOP, it works by proximity
so you don't need UVs.
Back to top
View user's profile Send private message
brianBurke
Houdini Adept


Joined: 03 Nov 2008
Posts: 162
Location: method

usa.gif
PostPosted: Fri Apr 29, 2011 11:42 am GMT    Post subject: Re: Transfering surface information in between two meshes Reply with quote

creating a shader that raytraces up and down the normal of your low res mesh with the tracing scoped only to the hi-res mesh is the way to go. you can then use mantra -u to save the results as a texture. too busy to make an example right now, but maybe later in the day i can post a file.

i do this a lot (mostly with scan data) and mantra does a great job at it.

-b

grayOlorin wrote:
Hi, wanted to see if someone in this forum could point me in the right direction:

How do you do map transfer/generation in between two meshes in Houdini? some examples of what I am looking for:

- Create a tangent space normal map from a hi res mesh (without UVs) to a low res mesh

- Transfer the color map from a scan model to a low res model without transfering UVs (by doing ray intersections in 3D space)

What I am looking for is similar to the transfer maps utility in maya or the ultimapper in XSI (however, I am looking for basically the results, even if the process is completely different) . I looked into the help, through several forums, etc. but could not find anything in regards to this.

Thank you in advance Smile
Back to top
View user's profile Send private message Visit poster's website
brianBurke
Houdini Adept


Joined: 03 Nov 2008
Posts: 162
Location: method

usa.gif
PostPosted: Fri Apr 29, 2011 12:22 pm GMT    Post subject: Reply with quote

found an old setup to get the maps off of a scan, swapped in some simple geometry for sharing:


good luck dude



dispfromscan.jpg
 Description:
 Filesize:  122.15 KB
 Viewed:  2327 Time(s)

dispfromscan.jpg



texturefromscan.hip
 Description:
this file generated this image

Download
 Filename:  texturefromscan.hip
 Filesize:  511.46 KB
 Downloaded:  347 Time(s)

Back to top
View user's profile Send private message Visit poster's website
grayOlorin
Houdini Expert


Joined: 05 Oct 2010
Posts: 402
Location: Orlando

usa.gif
PostPosted: Fri Apr 29, 2011 3:52 pm GMT    Post subject: Reply with quote

Wow man! Thank you for this example! This is what I was looking for Smile

Love the fact that you can basically bake whatever you can trace...! This is great stuff

Thank you all for your replies!

_________________
-G
Back to top
View user's profile Send private message
oldiesgoodies
Lurker


Joined: 04 Jan 2010
Posts: 20

blank.gif
PostPosted: Fri Oct 28, 2011 11:40 am GMT    Post subject: Reply with quote

Hi

The sample by brian is giving me error

"mantra: UV rendering unsupported with ray tracing." I tried other engines as well and does not seem to change the result.
Back to top
View user's profile Send private message
grayOlorin
Houdini Expert


Joined: 05 Oct 2010
Posts: 402
Location: Orlando

usa.gif
PostPosted: Sat Oct 29, 2011 12:12 pm GMT    Post subject: Reply with quote

Hi are you rendering inside if render view, mplay, or to an image? I have found that rendering to uvs does not play well with render view

Also, are your render engines using micropolygon?

_________________
-G
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Houdini Forum Index -> Technical Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


phpBB component v1.2.4 RC3 by Adam van Dongen. Based on phpBB © 2001, 2002 phpBB Group