Render curves as tubes?
4853 8 1- Anti-Distinctlyminty
- Member
- 271 posts
- Joined: March 2012
- Offline
Hi all,
I was wondering if I was missing something when it comes to render curves as tubes. I know that if you have a curve, you can set it's width attribtue and that will make it render as a strip. Then, using a hairNormal shader you can make it appear as a tube…ish. However, this is only a shader effect, so when it comes to rendering displacements on the tube, things can look pretty odd.
It is possible to render points as spheres, complete with actual geometry that can be displaced properly…but is this not possible with curves?
I was wondering if I was missing something when it comes to render curves as tubes. I know that if you have a curve, you can set it's width attribtue and that will make it render as a strip. Then, using a hairNormal shader you can make it appear as a tube…ish. However, this is only a shader effect, so when it comes to rendering displacements on the tube, things can look pretty odd.
It is possible to render points as spheres, complete with actual geometry that can be displaced properly…but is this not possible with curves?
- robsdesign
- Member
- 236 posts
- Joined: March 2015
- Offline
- BabaJ
- Member
- 2035 posts
- Joined: Sept. 2015
- Offline
- Anti-Distinctlyminty
- Member
- 271 posts
- Joined: March 2012
- Offline
I was thinking more along the lines of implicit tubes, but the replies I got over at odforce here [forums.odforce.net] just say that Mantra currently does not support this, which is a shame.
@robsdesign I tried using the sweep with nurbs, but the structure is quite large and the render times just went through the roof. I'm not sure why…maybe the combination of nurbs and displacement. In any case it's nmot usable
@BabaJ See above I'm trying to keep to just implicit tubes from curves.
I'll put in and RFE for this.
@robsdesign I tried using the sweep with nurbs, but the structure is quite large and the render times just went through the roof. I'm not sure why…maybe the combination of nurbs and displacement. In any case it's nmot usable
@BabaJ See above I'm trying to keep to just implicit tubes from curves.
I'll put in and RFE for this.
- mark
- Staff
- 2590 posts
- Joined: July 2005
- Offline
- Anti-Distinctlyminty
- Member
- 271 posts
- Joined: March 2012
- Offline
mark
By default, mantra will shade just the centerline of the open curves. There's a setting to change it so that it shades curves as surfaces. I think vm_curvesurface is the setting. Memory will go up a little, but not as much as sweeping NURBs.
Hi Mark,
I have tried that, but the setting seems to make no difference.
I've attached my test scene, and you can see that the setting does not change the output.
Is there something I'm doing wrong here?
- Anti-Distinctlyminty
- Member
- 271 posts
- Joined: March 2012
- Offline
- mark
- Staff
- 2590 posts
- Joined: July 2005
- Offline
- Anti-Distinctlyminty
- Member
- 271 posts
- Joined: March 2012
- Offline
-
- Quick Links