Jump to content

projecting 2d curves onto a mesh


sschoellhammer

Recommended Posts

Hello, 

 

first of all I'm pretty new to houdini so please excuse any sillyness. :]

 

So what I'm trying to do is projecting 2d-curves onto a mesh. 

 

I created a "curve drawing plane" with uvs and I transfer those uvs onto my curve shapes. ( or I directly project the same uvs to the curves, it doesnt matter) 

My round mesh I want to project to has roughly the same uvs as the plane.

 

Last I use a attribtransferbyuv node to transfer the positions from my mesh onto the curves.

 

Does that sound about right? It seems it's missing a lot of points :/ 

 

I think it might be easiest to look at the result so I'm attaching the houdini file! 

 

Thanks for any hints! 

 

Seb 

post-14409-0-37232600-1441020986_thumb.p

project_problem.hipnc

Link to comment
Share on other sites

That's a cool approach thanks! I guess I can create an unwrapped version of the mesh I want to project to and then use the lattice. 

 

I still wonder why my method doesn't work, the transfer by uv node's help is broken which doesn't help :/. 

 

The last post in your thread suggests that transferring by uv should work but only on nurbs surfaces. I tried nurbs but no luck..

Link to comment
Share on other sites

 

I still wonder why my method doesn't work, the transfer by uv node's help is broken which doesn't help :/. 

 

 

Always log a bug if something like the help is broken. I've just logged this as (ID=70893)

 

On the sidefx.com page/Support menu/ Submit bugs and Rfe 

Link to comment
Share on other sites

Here's another way of getting the curve onto the surface

by encoding point positions into color attribute, setting

point positions to uv positions and then attribute transferring

those colors onto the curve. It's based on the slides from Andy Boyd

http://www.andyboyd3d.com/siggraph_talk/img33.html

project_problem_yader.hipnc

post-7548-0-28766000-1441146102_thumb.pn

  • Like 1
Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...