metastart/metanext in a shader

   3807   2   0
User Avatar
Member
12998 posts
Joined: July 2005
Offline
Hi there,

It's been a while since I used it, but is it possible to point the metastart to the geometry for the current object being rendered when the metastart() is used in a shader?

I notice that don't seem to be able to use the op syntax from a shader like this - especially if I want to use it in the sense of “render the geometry to which this shader is attached” - like a “op:.” sense, almost - or a “op:$OBJ”, really.

Is there a way to do this; and avoid writing the .bgeo files to disk and render from that?

Thanks,
Jason

PS. I see that the FX Tools “heavy smoke” requires you to write to disk too - so I assume this might be impossible to do?
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
User Avatar
Member
665 posts
Joined: July 2005
Offline
Sadly you have to write to disk.

In fact, the only way to properly get attributes into a volume render is by writing to disk

(by properly, I mean non-interpolated)
User Avatar
Member
12998 posts
Joined: July 2005
Offline
I can't think of why it shouldn't be possible, and its truly useful for all those Metaballs-As-Volumes renders - so I can imagine there is already an RFE logged for this.
Jason Iversen, Technology Supervisor & FX Pipeline/R+D Lead @ Weta FX
also, http://www.odforce.net [www.odforce.net]
  • Quick Links