I find u ambient occlusion having bad artifact…
No matter which scenes i render, i m bound to have the bad defects…
anyone please guide…
I attached Clay and placed a environment light in the scene with area shape set to “Environment”.
Please advice
Ambient Occlusion- bad defects!
10360 11 2- diskhub
- Member
- 32 posts
- Joined: Dec. 2008
- Offline
- fede
- Member
- 28 posts
- Joined: Jan. 2009
- Offline
I'm no pro yet but my understanding of getting ao in a scene is by adding a light template at scene level and assigning a vex global illumination shader to it.
Then play with the shader's global tint to get darker and brighter results and the shader's sampling to reduce noise at the expense of time.
see my file attached
Then play with the shader's global tint to get darker and brighter results and the shader's sampling to reduce noise at the expense of time.
see my file attached
- jason_iversen
- Member
- 12498 posts
- Joined: July 2005
- Offline
The black artifact comes from the Clay shader, not the AO. This is a long-standing issue with the clay illumination model.
A problem compounding this is that your boxes have consolidated points and therefore being smooth-shaded. Append a Facet SOP (Unique the points or Cusp) to fix that.
PS. If you want an alternative to SESI's Oren Nayar clay shading that doesn't give you those artifacts, you might consider a VEX port of LocIllumOrenNayar from here: http://www.renderman.org/RMR/Pubs/arman/shaders/locillum.h [renderman.org]
A problem compounding this is that your boxes have consolidated points and therefore being smooth-shaded. Append a Facet SOP (Unique the points or Cusp) to fix that.
PS. If you want an alternative to SESI's Oren Nayar clay shading that doesn't give you those artifacts, you might consider a VEX port of LocIllumOrenNayar from here: http://www.renderman.org/RMR/Pubs/arman/shaders/locillum.h [renderman.org]
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
- diskhub
- Member
- 32 posts
- Joined: Dec. 2008
- Offline
- diskhub
- Member
- 32 posts
- Joined: Dec. 2008
- Offline
- fede
- Member
- 28 posts
- Joined: Jan. 2009
- Offline
- diskhub
- Member
- 32 posts
- Joined: Dec. 2008
- Offline
- jason_iversen
- Member
- 12498 posts
- Joined: July 2005
- Offline
diskhub
hi, i tried jason's method and the facet sop works perfectly on geometry…
but for dynamic object such as particle fluid, it didn't work.
I am looking at the alternative shader. But i do not know how to use the header file that he was referring to.
If you know, please advise…
I was kinda indirectly suggesting you switch away from using the VEX Clay shader - to something like a VEX Plastic. It's the Clay that is the real problem and Faceting will only help with object which you want to appear faceted.
Even if the Clay shading didn't have this issue, you probably don't want to shade the particle fluid like clay anyway It's not a very fluid-like lighting model.
The header file is from a PrMan RSL implementation of a clay lighting model and I thought if you were ambitious you could quickly translate it to VEX :wink:
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
also, http://www.odforce.net [www.odforce.net]
- diskhub
- Member
- 32 posts
- Joined: Dec. 2008
- Offline
- stevenong
- Member
- 1631 posts
- Joined: July 2005
- Offline
Hi,
To get a Plastic shader, you can either drag & drop a Plastic material from the Material Palette or go to SHOPs, hit Tab & select the VEX Plastic shader. To get Lambert shading, all you have to do is to set Specular to 0.
Here is a thread [sidefx.com] for rendering fluids.
I also recommend checking out the Learning menu at the top of this web page. There are lots of tutorials to get you started.
Last but not least, I noticed you're from Singapore and so am I. It's good to see one more Singaporean getting into Houdini. There is another new user over at odforce's forum too.
Welcome to Houdini-land!
Cheers!
steven
To get a Plastic shader, you can either drag & drop a Plastic material from the Material Palette or go to SHOPs, hit Tab & select the VEX Plastic shader. To get Lambert shading, all you have to do is to set Specular to 0.
Here is a thread [sidefx.com] for rendering fluids.
I also recommend checking out the Learning menu at the top of this web page. There are lots of tutorials to get you started.
Last but not least, I noticed you're from Singapore and so am I. It's good to see one more Singaporean getting into Houdini. There is another new user over at odforce's forum too.
Welcome to Houdini-land!
Cheers!
steven
- diskhub
- Member
- 32 posts
- Joined: Dec. 2008
- Offline
- stevenong
- Member
- 1631 posts
- Joined: July 2005
- Offline
Hey,
As for translating Renderman shaders to VEX, you can check out these two [forums.odforce.net] threads [forums.odforce.net] over at odforce. There are more but both are good to start with.
There are other [forums.odforce.net] Singaporeans using Houdini too.
Cheers!
steven
As for translating Renderman shaders to VEX, you can check out these two [forums.odforce.net] threads [forums.odforce.net] over at odforce. There are more but both are good to start with.
There are other [forums.odforce.net] Singaporeans using Houdini too.
Cheers!
steven
-
- Quick Links