RenderTree Shader Values

Discussions concerning programming of SOFTIMAGE©
Post Reply
User avatar
TwinSnakes007
Posts: 316
Joined: 06 Jun 2011, 16:00

RenderTree Shader Values

Post by TwinSnakes007 » 28 Dec 2012, 22:33

Is there anyway to read the values of a RenderTree shader? For instance, the Fractal_Scalar & Particle_Density nodes?

SI already has a mechanism for defining 3D volume data. Dont wanna have to recreate the wheel if I dont have to.

User avatar
rray
Moderator
Posts: 1775
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: RenderTree Shader Values

Post by rray » 29 Dec 2012, 02:44

TwinSnakes007 wrote:Is there anyway to read the values of a RenderTree shader?
From where?
softimage resources section updated Jan 5th 2024

User avatar
TwinSnakes007
Posts: 316
Joined: 06 Jun 2011, 16:00

Re: RenderTree Shader Values

Post by TwinSnakes007 » 29 Dec 2012, 02:45

I dunno....just hoping there was a way via the SDK?

Like, I'm trying to support 3D volume data (point density). SI already has some shader nodes that help define that dataset. So, was just wondering is there anyway to read them or is it all on the MentalRay side?

User avatar
rray
Moderator
Posts: 1775
Joined: 26 Sep 2009, 15:51
Location: Bonn, Germany
Contact:

Re: RenderTree Shader Values

Post by rray » 29 Dec 2012, 02:54

They're all in DLLs I assume so probably with some (or a lot of?) effort you could trick them into thinking you're being mental ray (Pass them a fake state struct etc..).

This would be a hack though, I don't think there's a supported way of talking to shaders.

Or did you mean, the shader settings?
softimage resources section updated Jan 5th 2024

User avatar
TwinSnakes007
Posts: 316
Joined: 06 Jun 2011, 16:00

Re: RenderTree Shader Values

Post by TwinSnakes007 » 29 Dec 2012, 06:37

rray wrote:Or did you mean, the shader settings?
Nope, I mean the calculated particle density values from a typical render tree setup for volume particles.

face
Posts: 57
Joined: 10 Jan 2010, 12:28

Re: RenderTree Shader Values

Post by face » 29 Dec 2012, 09:43

Calculated output values are calculated in the renderer so it shouldn´t give a simple way to read they...
The problem is also that the output values are rgba color values.

face

Post Reply

Who is online

Users browsing this forum: No registered users and 60 guests