Hello Dirk,

"Dirk Reiners" <dirk.rein...@gmail.com> 
schrieb im Newsbeitrag news:4b7c5d3f.5060...@gmail.com...
>
> Well, The chunk list in the SM is primarily to make it easy for people to 
> add
> things to the SM, but internally (and that is true for all Materials), the
> internal State is used to switch between OpenGL modes. The chunk list was 
> mainly
> convenience to avoid having to a lot of different Material subclasses, but 
> it
> was never the primary holder of information.
>
Ah, I understand...
>
> The main reason is that most materials were expected to create their 
> states
> internally (by creating the appropriate chunks like shaders etc) to 
> abstract
> higher-level shading methods. For those materials you don't want the user 
> to
> mess with (or even care about) the actual chunks created. We don't have a 
> lot of
> those yet, but conceptually IMHO it still makes sense.
>
Thanks for clarification.

Best,
Johannes




------------------------------------------------------------------------------
Download Intel&reg; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs 
proactively, and fine-tune applications for parallel performance. 
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to