Closed caps render problem.

   4526   2   0
User Avatar
Member
29 posts
Joined: July 2006
Offline
Hello,

I am modelling a simple object (tube based) with both ends closed.
While on OpenGL preview it looks very nice, I am experiencing problems with rendering. Screen-shots and sample .hip file attached. Any ideas why it is happening? I did try closing caps in the tube node itself and with special cap node, but both of them gave me problems at the render stage.

Kamil.

Attachments:
cap_test.hipnc (75.4 KB)
Picture 7.png (37.3 KB)
Picture 5.png (79.5 KB)

User Avatar
Staff
2592 posts
Joined: July 2005
Offline
kamild
Hello,

I am modelling a simple object (tube based) with both ends closed.

NURBs based?

I'm making this assumption. When the caps are rendered in OpenGL, they are converted to polygons for rendering.

When mantra renders, they are most likely rendered as trimmed Bezier patches.

Try appending a “convert” SOP and try converting NURBs (or Bezier?) curves to either polygons or trimmed Bezier patches.

My guess is that the trimming code has precision issues which are causing the artifacts you see. Converting to polygons might be a better option (just for the end-caps)

P.S. At the moment, I can't run Houdini.
User Avatar
Member
29 posts
Joined: July 2006
Offline
Yes, problem solved. It is rendering as it should. - Thank you very much!

Regards,
Kamil.
  • Quick Links