how or where can I input Cs in Vex builder when I am working on a Rman shading network?
thank you for your attention!
short question about Vex builder
6232 8 2-
- brucelay
- Member
- 313 posts
- Joined: July 2005
- Offline
-
- Simon
- Member
- 2199 posts
- Joined: July 2005
- Offline
-
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
-
- brucelay
- Member
- 313 posts
- Joined: July 2005
- Offline
-
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
I am glad you asked this.
Please append an Attribute SOP to your SOP chain. Go to the RenderMan folder. Check the "Add Default Mappings.
Now MMB to get the info on the Attrribute SOP. You will clearly see at the bottom all the attribute mappings. In there you should see Cd -> Cs and Alpha -> Os.
There you go. You can now use the primitive SOP, point SOP or vertex SOP and use the Color and Alpha parameters to control Cs and Os before the Attribute SOP configured as above.
Please append an Attribute SOP to your SOP chain. Go to the RenderMan folder. Check the "Add Default Mappings.
Now MMB to get the info on the Attrribute SOP. You will clearly see at the bottom all the attribute mappings. In there you should see Cd -> Cs and Alpha -> Os.
There you go. You can now use the primitive SOP, point SOP or vertex SOP and use the Color and Alpha parameters to control Cs and Os before the Attribute SOP configured as above.
There's at least one school like the old school!
-
- brucelay
- Member
- 313 posts
- Joined: July 2005
- Offline
-
- brucelay
- Member
- 313 posts
- Joined: July 2005
- Offline
jeff
I still cannot get it working.
e.g. if I am going to add a Cs for a sphere.
1) I attached an “attribute” sop after the sphere.
2) I went to the “renderman” page of the attribute, check the “add default Mapping” box
Should I put a “primitive” sop between the attribute sop and the sphere sop? Should I go to “Attributes” page of the primitive sop? Should I choose “add colour”?
in the attribute sop, what should I put for Houdini RiName and RiType?
I think I should put Cs for RiType. Should I choose constant colour for it?
Pls forgive me that I am a beginner!
I still cannot get it working.
e.g. if I am going to add a Cs for a sphere.
1) I attached an “attribute” sop after the sphere.
2) I went to the “renderman” page of the attribute, check the “add default Mapping” box
Should I put a “primitive” sop between the attribute sop and the sphere sop? Should I go to “Attributes” page of the primitive sop? Should I choose “add colour”?
in the attribute sop, what should I put for Houdini RiName and RiType?
I think I should put Cs for RiType. Should I choose constant colour for it?
Pls forgive me that I am a beginner!
-
- old_school
- Staff
- 2540 posts
- Joined: July 2005
- Offline
brucelayYes. You are correct. The Attribute SOP's default renderman mappings will take Cd and Alpha and map each to Cs and Os respectively. If Cd and Alpha do not exist, then you get zeros for Cs and Os. You can also use either the Point SOP or the Vertex SOP to add Cd and Alpha. All three SOPs work but they have to be before the Attribute SOP.
Should I put a “primitive” sop between the attribute sop and the sphere sop? Should I go to “Attributes” page of the primitive sop? Should I choose “add colour”?
brucelayNo you don't have to do this for the “default” mapped attributes. You can find out what these default attributes are by Right Mosuse Button pressing on the Attribute SOP's icon after you check on default mappings.
In the attribute sop, what should I put for Houdini RiName and RiType?
I think I should put Cs for RiType. Should I choose constant colour for it?
You would only need to type in additional attribute names if you had custom attributes defined on your data and your RenderMan shader was set up to read that attribute.
There's at least one school like the old school!
-
- brucelay
- Member
- 313 posts
- Joined: July 2005
- Offline
-
- Quick Links

