Carsten Neumann wrote:

>Allen Bierbaum wrote:
>  
>
>>Carsten Neumann wrote:
>>    
>>
>>>Hm, is it possible to use the DynamicAttachment for this, i.e. add a
>>>DynamicAttachment to the root, then add a MFMaterialPtr named
>>>"materials" and a MFFBOPtr named "fbos", etc. ?
>>> 
>>>
>>>      
>>>
>>I have never used DynamicAttachments.
>>    
>>
>
>me neither.
>
>  
>
>>Is there documentation for them 
>>somewhere?
>>    
>>
>
>;)
>
>I can only point you to the three places I found, where they are used in
>1.x:
>
>System/FileIO/WRL/OSGVRMLNodeDescs.h:typedef
>DynFieldAttachment<GenericAttDesc>  GenericAtt;
>
>System/Image/OSGImageGenericAtt.h:typedef
>DynFieldAttachment<ImageGenericAttDesc>  ImageGenericAtt;
>
>System/FieldContainer/testFieldContainer.cpp:    typedef
>DynFieldAttachment<DynDesc> DynAtt;
>
>The somewhat tricky part seems to be the correct creation of a
>FieldDescription for the dynamically added fields, but these are also
>created for any other container so there should be many examples in the
>code.
>  
>
Ok, I found those now.  Unfortunately this won't help me much because I 
am writing the code in Python. :(

I will take a look at this code though and see if there is anything I 
can learn from it about how to handle this better.

Thanks,
Allen

>       Hope it helps a little,
>               Carsten
>
>-------------------------------------------------------------------------
>Take Surveys. Earn Cash. Influence the Future of IT
>Join SourceForge.net's Techsay panel and you'll get the chance to share your
>opinions on IT & business topics through brief surveys -- and earn cash
>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
>_______________________________________________
>Opensg-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/opensg-users
>
>  
>


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys -- and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to