Hello Vincent,
> 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
Sorry I'm definitely the wrong guy for Windows related OpenSG problems.
Buy maybe you can just patch the original OSGDVRSimpleShader.
e.g. check for the number of color channels in the image and use one
or the other call for registering the textures.
Gruss
Manfred.
======================================================================
Manfred Weiler [EMAIL PROTECTED]
Visualisierung und Interaktive Systeme Telefon: 0711/7816-208
Universitaet Stuttgart, IfI FAX: 0711/7816-340
-------------------------------------------------------
This SF.net email is sponsored by Demarc:
A global provider of Threat Management Solutions.
Download our HomeAdmin security software for free today!
http://www.demarc.com/Info/Sentarus/hamr30
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users