Welcome, Guest. Please Login.
OpenDX User Forum
05/25/13 at 04:28:02
News: OpenDX 4.4.4 source code now available.


Pages: 1
Attaching attribute/information to field data (Read 3599 times)
Nicholas Yue
Forum Newbie
*


RenderMan RIB output

Posts: 19
Attaching attribute/information to field data
11/24/06 at 03:10:09
 
Hi,
 
  In OpenDX, is there a concept of attaching/adding addition information/attribute to field data.
 
  I am thinking of writing some kind of inboard/outboard module which can append shader (e.g. OpenGL2/MentalRay/RenderMan shader) information to a given field, so that OpenDX user can vary the look they get from the display. Of course, I will have to write a display outboard module that will understand those additional information.
 
  I have written a basic outboard module but lack the knowledge of writing a "shader" module.
 
  What would be an existing module closest to what I describe above I can start looking at?
 
Cheers
Back to top
 
 
WWW Nicholas Yue   IP Logged
Nicholas Yue
Forum Newbie
*


RenderMan RIB output

Posts: 19
Re: Attaching attribute/information to field data
Reply #1 - 11/25/06 at 01:08:25
 
After looking around, I think the built-in module/node call "Options" is probably most suitable for me to model my Shader attachment module.
 
Options add a given attribute to a field data, I have not seen the underlying code yet but I have seen something call a DXSetAttribute() or DXSetComponentAttribute() in the API which looks promising.
 
Cheers
 
Back to top
 
 
WWW Nicholas Yue   IP Logged
Pages: 1