Dirk Reiners wrote:
>       Hi Patrick,
> 
> Patrick Hartling wrote:
>> Has there been any discussion for how global ambient light might be
>> represented and/or used in OpenSG 2?
> 
> no discussion has happened. My idea was ot use the partial material 
> override by just adding a LightModelChunk that can be added to the tree 
> at a high level.

OK, this makes sense. I am glad to know that partial material overrides are
now available. Should LightModelChunk only capture global ambient light? I
see where two-sided lighting is already handled by a different state chunk
type. The local/infinite viewpoint setting is not currently handled as far
as I can see, and I am not sure what to make of the control control setting
since it only shows up in OSG::RenderOptions. If it should only handle
global ambient light, perhaps it should be called GlobalAmbientChunk to be
in line with TwoSidedLightingChunk.

 -Patrick

> At this point I'm not sure what the status of the partial material 
> override is, though. Gerrit, can you comment on that?
> 
>       Dirk


-- 
Patrick L. Hartling
Senior Software Engineer, Priority 5
http://www.priority5.com/

Attachment: signature.asc
Description: OpenPGP digital signature

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to