Hi,
I want to use xyzdist vop in shader. It can't work. Am I wrong?
Thanks!
xyzdist vop in shader
2298 4 1- jerry7
- Member
- 620 posts
- Joined: Nov. 2013
- Offline
- Konstantin Magnus
- Member
- 670 posts
- Joined: Sept. 2013
- Offline
I am also trying to measure the distance from a shading surface to another object (in this case a wireframe).
In the documentation it says xyzdist can read internal paths like opobj/etc
It only seems to output the max search distance, though. Any ideas?
Additional question: Whats the most straight forward way to create a custom wireframe shader?
In the documentation it says xyzdist can read internal paths like opobj/etc
It only seems to output the max search distance, though. Any ideas?
Additional question: Whats the most straight forward way to create a custom wireframe shader?
https://procegen.konstantinmagnus.de/ [procegen.konstantinmagnus.de]
- tamte
- Member
- 8538 posts
- Joined: July 2007
- Offline
op: syntax in Mantra can only point to geometry that is defined in IFD
that is any SOP node with render flag that is included in Mantra's objects
of course to make it not renderable you can clear vm_rendervisibility field
so in your specific case you need to create new object that will hold your wireframe geo
see example
to the other question to render just wireframe you can try using Wren ROP, it offers some basic control, but nothing fancy, depends on what you need it for
that is any SOP node with render flag that is included in Mantra's objects
of course to make it not renderable you can clear vm_rendervisibility field
so in your specific case you need to create new object that will hold your wireframe geo
see example
to the other question to render just wireframe you can try using Wren ROP, it offers some basic control, but nothing fancy, depends on what you need it for
Tomas Slancik
FX Supervisor
Method Studios, NY
FX Supervisor
Method Studios, NY
- subscriptions
- Member
- 28 posts
- Joined: Oct. 2017
- Offline
- jsmack
- Member
- 7755 posts
- Joined: Sept. 2011
- Online
-
- Quick Links