Curve render flip issue
1698
3
2
mzigaib
Member
948 posts
Joined: April 2008
Offline
Dec. 10, 2013 3:13 p.m.
I am trying to render curves as textured ribbons but they flip if I deform them, I am trying to use the up vector but it doesn't seem to work. Any Ideas on how to avoid this issue? Thanks in advance.
Attachments:
ribbon_orient.hipnc (967.9 KB)
mzigaib
Member
948 posts
Joined: April 2008
Offline
Dec. 10, 2013 7:48 p.m.
I forgot to mention that in my file in order to see the issue you need to use renderview and check for the frames when the line bends down and compare it in the timeline when it is opposite you'll see the flip issue. I hope it makes sense.
Dec. 11, 2013 3:52 a.m.
That's because you should define a default vector (0,1,0) for the orient attr !
If you bypass twist node ,so the line not twisted , then you can't render your ribbon at the default orient direction !!!
to solve that you can simply add an up direction by orient attr
Attachments:
JK_Ribbon.hipnc (1005.2 KB)
mzigaib
Member
948 posts
Joined: April 2008
Offline
Dec. 11, 2013 6:53 a.m.
So direction that I was using for my orient attribute wasn´t helping, thanks for helping you are awesome!