Simple enough question (I hope).
In a SOP:
Create a sphere
Add a Paint SOP
Paint some pretty colors
Render - Viola, its grey. (the OpenGL window shows the colors)
How do you pass the diffuse colors to the renderer? None of the SHOPs seem to pick the colors up from the object, they just override them. I tried setting the colors to the appropriate SOP channel, but nothing.
Help?
P.S. My real geometry is data that is generated by an external program with colors per vertex, but the answer to the above should work for this case as well.
Passing colors to a SHOP
8581 2 0-
- bolstad
- Member
- 7 posts
- Joined: July 2005
- Offline
-
- stevenong
- Member
- 1634 posts
- Joined: July 2005
- Offline
Hi Mark,
You have to append an Attribute SOP to the Paint SOP and rename 'Cd' to 'diff' under the Point tab.
You can go here [odforce.net] for more details.
I hope the above helps!
Cheers!
steven
You have to append an Attribute SOP to the Paint SOP and rename 'Cd' to 'diff' under the Point tab.
You can go here [odforce.net] for more details.
I hope the above helps!
Cheers!
steven
-
- Brask
- Member
- 7 posts
- Joined: July 2005
- Offline
-
- Quick Links