Hi all.
I'm messing with an idea that calls for redrawing tracing lines according to a new shape.
For instance, let's say you have a ball (a sphere), but you want to take a section of the surface of that sphere and draw or “trace” a pattern of vector lines in that section on the sphere. Once you have this, let's say you resize that section (make it bigger or a slightly different shape). I want the resizing to cause the trace sop (function) to “redraw” or adjust the tracing to fit the new resized shape.
Does anyone have any info on this?
Thanks!
Redrawing tracing lines according to new shape
2737 2 2- moreguns
- Member
- 22 posts
- Joined: 5月 2006
- Offline
- Antoine Durr
- Member
- 321 posts
- Joined: 7月 2005
- Offline
moregunsWell, it depends on how you transfer your trace to the sphere. Houdini will recook the SOP chain whenever something changes. Thus if your sphere changes, things should recook automatically.
For instance, let's say you have a ball (a sphere), but you want to take a section of the surface of that sphere and draw or “trace” a pattern of vector lines in that section on the sphere. Once you have this, let's say you resize that section (make it bigger or a slightly different shape). I want the resizing to cause the trace sop (function) to “redraw” or adjust the tracing to fit the new resized shape.
That being said, there are a couple of ways to get a tracing onto a sphere. You could use a ray SOP to ray the resulting trace lines onto the sphere. Or you could (if you have a NURBS surface, e.g.) use the TX and TY as MAPU and MAPV to project onto the surface. The project SOP might also be helpful.
- Simon
- Member
- 2199 posts
- Joined: 7月 2005
- Online
-
- Quick Links