Gerrit Voß wrote: > Hi, > > On Thu, 2009-03-12 at 15:03 -0500, Patrick Hartling wrote: >> 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* > > Yes but before it returned a Material *, so that piece of code > should have never compiled it either form, there is a cast missing.
FWIW, IIRC it returned a SimpleMaterial, which is a ChunkMaterial. Cheers, /Marcus ------------------------------------------------------------------------------ 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
