Hi Brian -- The parent model's ext ref record contains control bits to specify whether to override child palettes or not. You should be able to tweak these in Creator if necessary. (As a last resort, you could add an option to the OSG OpenFlight plugin to force using child palettes.) If those bits specify that the parent palette overrides the child palette, and the parent palette is empty, then I believe the behavior is undefined. Your light points are indexing into an empty palette. I'm not sure what the OSG OpenFlight plugin does in that case, but I imagine it ain't pretty. :-) Paul Martz Skew Matrix Software LLC http://www.skew-matrix.com <http://www.skew-matrix.com/> 303 859 9466
_____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian R Hill Sent: Friday, February 23, 2007 9:12 AM To: osg users Subject: RE: [osg-users] OpenFlight LightPoint Problem (OpenFlightversion 15.7) Paul, Thanks for the pointer! The files are actually version 15.8, and the problem is that the external reference doesn't override the parent light point palette and the parent light point palette is empty. I think Creator defaults the external reference to use the parent light point palette. Is the desired behavior to ignore external reference light points if the external reference doesn't override the parent light point palette (default), even in the case where the parent light point palette is empty? Brian ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ------------------------ This is a PRIVATE message. If you are not the intended recipient, please delete without copying and kindly advise us by e-mail of the mistake in delivery. NOTE: Regardless of content, this e-mail shall not operate to bind CSC to any order or other contract unless pursuant to explicit written agreement or government initiative expressly permitting the use of e-mail for such purpose. ---------------------------------------------------------------------------- ---------------------------------------------------------------------------- ------------------------ "Paul Martz" <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 02/22/2007 01:12 PM Please respond to osg users <[email protected]> To "'osg users'" <[email protected]> cc Subject RE: [osg-users] OpenFlight LightPoint Problem (OpenFlight version 15.7) Set a breakpoint at ReaderWriterFLT.cpp line 206 and make sure the parent light point palette isn't overriding the ext ref. From the description of your model, this shouldn't be happening (unless you have mis-configured the parent model ext ref record). A breakpoint at LightPointRecords.cpp line 78 might also be illuminating (excuse the pun) then step through the code if that breakpoint gets hit. -Paul _____ From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brian R Hill Sent: Thursday, February 22, 2007 10:47 AM To: osg users Subject: [osg-users] OpenFlight LightPoint Problem (OpenFlight version 15.7) Folks, Clarification: These are Creator 2.5.1 files (OpenFlight 15.7) Light points in external references aren't being loaded. When I load the individual files the light points are fine. When I load them as external references in another file the lightpointnodes are created but they are empty (zero light points). Any ideas? Thanks, Brian_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
_______________________________________________ osg-users mailing list [email protected] http://openscenegraph.net/mailman/listinfo/osg-users http://www.openscenegraph.org/
