Hi Josef,

On Thu, 2006-02-16 at 22:42 +0000, Josef Grunig wrote:
> 
> I used fcdEdit following your step by step guide posted on this ML. 

OK, good.

> I
> thought it was possible to directly add variables because I saw that
> ShadowMapViewport has defined variables which aren't fields, like the
> fresh one added by Andreas in OSGShadowMapViewport.h
> 
> SimpleMaterialPtr               _unlitMat;

It is possible but has to be done with care. In general I recommend not
doing it.

> OK, I'm gonna wrap all my new variables with FieldContainers.

Hm, that sounds a little too complicated. You don't have to create
special FieldContainers for them, all you have to do is add new Fields
to the .fcd file and regenerate the Base-files. After that they're just
member variables.

Yours

        Dirk




-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to