PDA

View Full Version : renderman shader antialising


NealSct
03-05-2011, 04:50 PM
Hi guys

I am facing atialising problem while rendering .i am writing a shader that having simple vertical
black lines but when i am rendering ,the area near camera shows jaggy edges . some one please tell me how prefilter antialising code add in to shader.


thanks
Neal

Gravedigger
03-06-2011, 08:24 AM
hi neal,

shader antialiasing is an art for itself and it usually cannot be done by some swiss army prefilter antialising code :D

are you using RSL?
how does your code look like? i guess you did your lines with the step funtion. use filterstep instead

grs
Patrik

rendermaniac
03-06-2011, 08:53 AM
I think Advanced Renderman (http://www.amazon.com/Advanced-RenderMan-Creating-Pictures-Kaufmann/dp/1558606181/) has a filteredpulse() function which does what you want. This is a classic case where you get aliasing issues.

Simon

CGTalk Moderation
03-06-2011, 08:53 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.