Hello Manfred,
Actually I didn't generate any class, I just copied the
OSGDVRSimpleShader files nad modified there names. That's not really
nice but I don't konw how I should do. Just for information: I'm working
with Windows XP and Visual Studio 7 .Net 2003 ...
Well, I tried to do like the Cubes example, but I got following the
compile error:
OSGDVRRGBShaderBase.cpp(16) : error C2491:
'osg::DVRRGBShaderBase::MTInfluenceMask' : definition of dllimport
static data member not allowed
I hope you can help me....
Vincent
Manfred Weiler wrote:
Hello Vincent,
I didn't find an example in order to inherit from an OpenSG class. I
seems to be not so easy. Do you have an example ? Should I do exactly
the same way like OSGDVRSimpleShader ? I tried it but had some runtime
problems...
You did use fcdEdit for generating the class, right?
I know there are some tricks for external OpenSG classes to work.
But I have to hand over problems with building OpenSG and OpenSG based
applications to someone in the core team.
What I usually do is enter "My" as name of the library for the 'external'
OpenSG classes. There used to be a template OSGMyDef.h in Examples/Cubes
which I just copied into the directory of the new node. After that it just
worked. But I am not shure whether this file is still maintained.
I haven't updated my OpenSG packacke for quite a while.
Manfred.
======================================================================
Manfred Weiler [EMAIL PROTECTED]
Visualisierung und Interaktive Systeme Telefon: 0711/7816-208
Universitaet Stuttgart, IfI FAX: 0711/7816-340
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users
--
Vincent Honnet
Photographie und Software Service
Mariahilfstr. 15
52062 Aachen
E-Mail: [EMAIL PROTECTED]
Tel.: 0241 400 8882
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users