Hi Dirk, On 2/16/06, Dirk Reiners <[EMAIL PROTECTED]> wrote: > > Hi Josef, > > On Thu, 2006-02-16 at 19:41 +0100, Josef Grunig wrote: > > Hi all, > > > > I've successfully inherited ShadowMapViewport, overrided two methods > > and made some changes here and there... all runs well without > > problems. > > > > Now I need to add a new TextureChunkPtr variable in my derived class. > > Since I dont't need a fieldContainer I only added those few lines: > > Hm, did you do the derivation with or without fcdEdit? > > If with, you can just add them to the .fcd file.
I used fcdEdit following your step by step guide posted on this ML. 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; > > Sorry, there is really no way to extend OpenSG successfully in the way > you want to without creating a new FieldContainer. > OK, I'm gonna wrap all my new variables with FieldContainers. Thank you Dirk, -- Josef Grunig www.blending-life.org ------------------------------------------------------- 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&kid3432&bid#0486&dat1642 _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
