Hello Gerrit,

"Gerrit Voß" <vo...@vossg.org> schrieb im 
Newsbeitrag news:1265678906.2315.108.ca...@sheldon...

>> I have the following scene graph:
>>
>>         root
>>           |
>> MaterialGroup - SwitchMaterial - ChunkMaterial 1
>>           |                                   - ChunkMaterial 2
>>           |
>>      SubTree
>>
>> So my question is it sensible to have a 'OverrideMaterialGroup' which
>> does basically the same as ChunkOverrideGroup but with the chunks
>> defined in ChunkMaterial 1 or 2? I.e. it should only override these
>> chunks which are defined by the active material.
>>
>
> I would more tend towards a SwitchOverride group node along the lines
> of the SwitchMaterial node group. I'll see if I can squeeze it in
> somewhere as I'm running late one quite some OpenSG stuff already.
>
I'm a little more in favor for a 'OverrideMaterialGroup' for some reasons:
1. I would not have to alter my graph structure apart from replacing 
MaterialGroup with 'OverrideMaterialGroup'
2. It could serve Material, SwitchMaterial,... beside to ChunkMaterial
3. The Material concept is more abstract than the Chunk concept. So I would 
like to override 'Materials', but only replace them if chunk based 
overriding is not possible.

That said I think that the SwitchOverride would be a worthwhile addition on 
its own.

Currently, I'm trying to impelement a 'OverrideMaterialGroup', as it would 
suit me, to get some feeling for the details.

Best,
Johannes




------------------------------------------------------------------------------
The Planet: dedicated and managed hosting, cloud storage, colocation
Stay online with enterprise data centers and the best network in the business
Choose flexible plans and management services without long-term contracts
Personal 24x7 support from experience hosting pros just a phone call away.
http://p.sf.net/sfu/theplanet-com
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to