From: Ippolito, Marco (MARCO.IPPOLITO++at++ca.com)
Date: 12/10/2001 15:01:03
Hi Jason,
OpenFlight beads that have names of a length that is a multiple of 8 are not terminated with a /0. This causes the OpenFlight loader a bit of a problem (since it calls pfNodeName( node, bead->id);).
A workaround would be to is check and see if(strlen(a_node_name) > some_big_number), if so use only the first 8 characters to compare against.
Best Regards,
-- Mark Ippolito MultiGen-Paradigm A Computer Associates Company Software Engineer, OpenFlight Loader-----Original Message----- From: Jason Daly [mailto:jdaly++at++ist.ucf.edu] Sent: Monday, December 10, 2001 2:29 PM To: info-performer++at++sgi.com Subject: OpenFlight loader problems in Linux (fwd)
A while ago I sent the message below. I haven't received a reply yet, and would still really appreciate one :-)
We've managed to isolate a quirk with this problem, however. It seems that the nodes that we routinely fail to find all have eight-character node names. When we reduce or increase the number of characters in the particular node name, it is then able to find the node.
Perhaps the problem is not with PFFLT_CLEAN, but just the fact that eight- character node names are getting munged when the database is converted to the scene graph.
Any thoughts?
--"J"
"I'm a castaway stranded in a desolate land, I can see the footprints in the virtual sand." --Neil Peart
---------- Forwarded message ---------- Date: Tue, 6 Nov 2001 15:52:21 -0500 From: Jason Daly <jdaly++at++ist.ucf.edu> To: info-performer++at++sgi.com Subject: OpenFlight loader problems in Linux
The OpenFlight loader packaged with the Linux version of Performer 2.4.x doesn't seem to acknowledge the instruction to not do flattening/cleaning.
pfdConverterMode_flt(PFFLT_CLEAN, PF_OFF); pfdConverterMode_flt(PFFLT_FLATTEN, PF_OFF);
Despite how much I fiddle with the configuration of the loader (again, Linux version only), it insists on flattening and/or cleaning the tree. I know this because I wrote a small program that loads a database and searches for a named node. Under IRIX, it finds the node, but under Linux it doesn't.
Anyone have a clue as to why this is or any solution? We've been able to work around it so far, but it's getting annoying :-)
--"J"
"I'm a castaway stranded in a desolate land, I can see the footprints in the virtual sand." --Neil Peart
----------------------------------------------------------------------- List Archives, Info, FAQ: http://www.sgi.com/software/performer/ Open Development Project: http://oss.sgi.com/projects/performer/ Submissions: info-performer++at++sgi.com Admin. requests: info-performer-request++at++sgi.com -----------------------------------------------------------------------
This archive was generated by hypermail 2b29 : Mon Dec 10 2001 - 15:03:26 PST