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.

If without, you have a problem. There is no well defined way to add
variables without fcdEdit (that's what it's for).

> in header file:
> TextureChunkPtr _finalSoftShadowTexture;
> ImagePtr _finalSoftShadowImage;
...
> 
> Am I missing something?
> 
> I saw this comment in derived header:
>   // Variables should all be in SoftShadowMapViewportBase.
> but I don't want a field container...

Sorry, there is really no way to extend OpenSG successfully in the way
you want to without creating a new FieldContainer. 

        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