shader

   3307   4   0
User Avatar
Member
523 posts
Joined: July 2005
Offline
Hello,


how can you see how a VEX Metal Shader is built?( in VEX)


thanks


bern
User Avatar
Member
4262 posts
Joined: July 2005
Offline
Right click on the shader, and choose “Type Properties”. Once that dialog is up go to the “VEX Code” tab.
if(coffees<2,round(float),float)
User Avatar
Member
523 posts
Joined: July 2005
Offline
Thanks Wolfwood. How can I convert this code for use with PRMan?


bern
User Avatar
Member
12472 posts
Joined: July 2005
Offline
You will have to rewrite it for prman yourself; you can't convert it automatically. But it's very easy Try it.

Look in your Houdini distribution paths for a file called prman.h if you'd like to see how a few of the special/global variables in Mantra map to PrMans.
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
User Avatar
Member
523 posts
Joined: July 2005
Offline
Thanks Jason,


I made a RMAN surface shader in VOPs (simple lighting model) and assigned this shader to my particle system via a shader SOP.
When I render my scene , I get gray (uncolored) spheres.
How can I make the spheres render in the colour of my particles?

With the houdini default shader, I had to change Cd to diff to make it work.
What can I do to make it work with the Rman shader?( how can I get the Cd of my particles into the Rman shader)


thanks and greetings,


bern
  • Quick Links