Allen Bierbaum wrote:
> What is PrimeMaterial?
> 
> I have some old code that is not compiling now because I try to do:
> 
> OSG::ChuckMaterialMTRecPtr material = OSG::getDefaultMaterial();
> 
> Evidently getDefaultMaterial now returns a PrimeMaterial*
> 
> What is it

I don't know the answer to the above questions, but ...

> and can I store it as a ChunkMaterial?

... make sure that you include OpenSG/OSGPrimeMaterial.h in the .cpp file
where the compile error is occurring. OSGMaterial.h uses a forward
declaration of OSG::PrimeMaterial.

 -Patrick


-- 
Patrick L. Hartling
Senior Software Engineer, Priority 5
http://www.priority5.com/

The information transmitted in this communication is intended only for
the person or entity to which it is addressed and contains proprietary
material. Any review, retransmission, dissemination or other use of, or
taking of any action in reliance upon, this information by persons or
entities other than the intended recipient is prohibited. If you
received this in error, please destroy any copies, contact the sender
and delete the material from any computer.

Attachment: signature.asc
Description: OpenPGP digital signature

------------------------------------------------------------------------------
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to