Angus Dorbie (dorbie++at++sgi.com)
Mon, 24 May 1999 11:05:56 -0700
There's very little else can go wrong here. Performer does not copy your
data. If you 'compile' a display list the gl makes a copy, otherwise
your data is drawn in immediate mode, what you have in memory is what
you get drawn.
One problem already suggested is multiprocessing creating copies of your
data because you create the array before the call to pfConfig.
You'll have to figure out which of the above is going wrong.
A useful test would be to run in single threaded mode to see if this
fixes the problem. There is a simple command line option for this in
perfly.
Cheers,Angus.
c.mottram wrote:
>
> Checking it out, the scene loader is basically perfly.C with some bits added
> to add my own data to each object, the call
> if(PackedAttrFormat)
> {
> pfuTravCreatePackedAttrs(scene, PackedAttrFormat, 0x0);
> }
> is pretty definately not made, assuming that is, that this is the bit which
> would pack the arrays.
> The object files are Inventor files,
> the only other thing I do is add a node above each object to move them around.
> Copies I make of the objects while they're moving, show the distortion I
> would have expected, but are again static.
>
> cheers & tanks Chiron
>
> At 09:56 AM 5/24/99 -0700, you wrote:
> >Did you compile your geometry to display lists, or perhaps traverse it
> >to packed arrays so that your original data representation is not the
> >one being drawn?
> >
> >Cheers,ANgus.
> >
> >
> >c.mottram wrote:
> >>
> >> Hi, just wondering whether anyone else has had this problem, I have some
> >> code to squidge objects depending on some function and the position of each
> >> of the vertices, now I never had any problems with this until my latest
> >> upgrade to IRIX 6.5.3.
> >> Now I have anomolous situation where the code works perfectly on an O2, it
> >> works fine too when I am remotely logged on to the Onyx but am displaying on
> >> an O2, but if I am on the Onyx and using the Onyx's own graphics, the
> >> objects stay the same shape.
> >> Is there a function I have to call to tell the Onyx's graphics that the
> >> geometry has changed?
> >>
> >> thanks in advance Chiron
> >> VRCentre
> >> UCL
> >> London
> >>
> >> -----------------------------------------------------------------------
> >> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> >> Submissions: info-performer++at++sgi.com
> >> Admin. requests: info-performer-request++at++sgi.com
> >
> >--
> >"Microsoft's system was like a forest that hadn't had a controlled
> > burn in decades, just waiting for one person with a match to turn
> > it into a disaster. Melissa was Microsoft's fault. They left their
> > system wide open to this sort of abuse, they knew it could happen
> > and did nothing." -- Bruce Perens
> >
> >For advanced 3D graphics Performer + OpenGL based examples and tutors:
> >http://www.dorbie.com/
> >
> >
>
> -----------------------------------------------------------------------
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
-- "Microsoft's system was like a forest that hadn't had a controlled burn in decades, just waiting for one person with a match to turn it into a disaster. Melissa was Microsoft's fault. They left their system wide open to this sort of abuse, they knew it could happen and did nothing." -- Bruce PerensFor advanced 3D graphics Performer + OpenGL based examples and tutors: http://www.dorbie.com/
This archive was generated by hypermail 2.0b2 on Mon May 24 1999 - 11:06:03 PDT