Get Object Transform in VOPs of Object

   2051   2   1
User Avatar
Member
271 posts
Joined: March 2012
Offline
Hi all,
I'm coming from Lightwave and, as you can see in the attached image, when shading I can have a node that refers to the current item (Item: Self) and get supplied various bits of information about that item.

So, how would one do this in VOPs?

Attachments:
GetObjTrans.png (38.1 KB)

User Avatar
Member
483 posts
Joined: Dec. 2006
Offline
http://www.sidefx.com/h15-masterclass-material-stylesheets/ [sidefx.com]

Something like this?

I don't know if you mean with “object” a complete model, a group/part of the model,
polygons(primitives), points, …
nearly everything can drive a shader
maybe you are looking for something like the attached…
use “technical desktop” then it's easier to understand, what*s going on.
You cann attach arbitary attributes to points, primitives, …
and then use them in other context
Edited by matthias_k - July 8, 2016 17:32:30

Attachments:
attributes-in-shader.jpg (1.1 MB)
attributes_in_shader-1.hip (204.7 KB)

English is not my native language, sorry in advance for any misunderstanding :-)
User Avatar
Member
271 posts
Joined: March 2012
Offline
Coolio - thanks matthias! This should help, but I was just wondering about the efficiency of storing this into per point, but I suppose you can do the same thing with a detail attribute too?
  • Quick Links