Hello everybody,

I'm new with OpenSG 2.0 and I'm trying to insert a SHLChunk into a 
ChunkMaterial.

What I would have done in OpenSG 1.8 is:

   SHLChunkPtr _shl = SHLChunk::create();
   _shl->readVertexProgram("vp.txt");
   _shl->readFragmentProgram("fp.txt");
   _shl->addUniformParameter("normalMap", 0);

>From what I see in "testSHLLights.cpp" (Source/System/State/SHL) the procedure 
is still the same. Am I right?

My problem is that when I try to include <OpenSG/OSGSHLChunk.h> I get a 
«header not found» error.
Is the header deprecated or has the "make install" failed?

Additional informations:
 * The test [testSHLLights] works fine;
 * I'm working on Linux 64bit with OpenSG 2.0 rev. 2464

Thank you

-- 
Mauro

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to