Hello everyone !
I'm having some troubles trying to get some informations to put in my shaders.
Let me get this clear :
-I have a VOPSOP in which I'm getting informations from a paint SOP
-I'm using the VOPSOP to spread the painting on the mesh ( a head ) and deform it a bit
-Then I'm having a second VOPSOP in which I generate an Alpha, based on the point attribute.
-I'm exporting a parameter that is supposed to contain the color information I called DestrMatte that is supposed to be my alpha with color.
However when i'm rendering with mantra i add an Extra Image Plane based on the variable DestrMatte, but i can't see anything.
Where is my mistake ? I can't figure it out.
Thanks for your help !
Ps: i attached the file and an Obj which is the head
PPs: I'm not sure if i'm posting in the right place, if not can moderators put it where it belongs? Thanks
Problem with VEX variables and render
3428 6 0- titor
- Member
- 8 posts
- Joined: Dec. 2010
- Offline
- Stalkerx777
- Member
- 183 posts
- Joined: Nov. 2008
- Offline
- titor
- Member
- 8 posts
- Joined: Dec. 2010
- Offline
- Stalkerx777
- Member
- 183 posts
- Joined: Nov. 2008
- Offline
- titor
- Member
- 8 posts
- Joined: Dec. 2010
- Offline
Thanks for your example.
But I still got a question
I'd like to do everything in one shader.
I used a Mantra Surface in my example and I plugged my Alpha parameter in the Surface Opacity and in the Surface Alpha.
Is there a way to create a new output ? As if I wanted to call it Matte and plug into it my VOPSOP variable DestrMatte ?
Thanks
But I still got a question
I'd like to do everything in one shader.
I used a Mantra Surface in my example and I plugged my Alpha parameter in the Surface Opacity and in the Surface Alpha.
Is there a way to create a new output ? As if I wanted to call it Matte and plug into it my VOPSOP variable DestrMatte ?
Thanks
- Stalkerx777
- Member
- 183 posts
- Joined: Nov. 2008
- Offline
titorNo, there is no way to add your custom outputs, but there is no need to do it. You have color, opacity,alpha,normals and BSDF outputs.Those standard outputs goes to main RGBA image plane. Any additional information goes to extra image planes.Your can use any of your custom attributes from SOPs in your shader, but you should explicitly export them through Parameter VOP, like in my example, to get them in extra image plane. :wink:
Thanks for your example.
But I still got a question
I'd like to do everything in one shader.
I used a Mantra Surface in my example and I plugged my Alpha parameter in the Surface Opacity and in the Surface Alpha.
Is there a way to create a new output ? As if I wanted to call it Matte and plug into it my VOPSOP variable DestrMatte ?
Thanks
Aleksei Rusev
Sr. Graphics Tools Engineer @ Nvidia
Sr. Graphics Tools Engineer @ Nvidia
- titor
- Member
- 8 posts
- Joined: Dec. 2010
- Offline
-
- Quick Links