From: Tomlinson, Gordon (GORDON.TOMLINSON++at++ca.com)
Date: 07/29/2000 08:10:48
Hi Chris
Try setting the flux mode to PFFLUX_COPY_LAST_DATA
I found you have to do this if your changing fluxed
attributes from any PF process other then APP
Gordon.
_________________________________________________________________
Gordon Tomlinson
Senior Software Engineer
Visualization Engineering
MultiGen-Paradigm
Suite 400, 14900 Landmark Blvd Dallas Texas 75240 USA
Tel: 972 960 2301 ext 309 Fax: 972 960 9049
_________________________________________________________________
Email: gordon.tomlinson++at++cai.com <mailto:gordon.tomlinson++at++cai.com>
______________________________________________________________
'Smoke me a kipper, I'll be back before breakfast'
__________________________________________________________________
NOTE:
All opinions here within this email are solely mine and DO NOT
reflect those of Computer Associate CA or any other employee.
-----Original Message-----
From: christopher.g.dorosky++at++lmco.com
[mailto:christopher.g.dorosky++at++lmco.com]
Sent: Friday, July 28, 2000 2:59 PM
To: dorbie++at++sgi.com
Cc: info-performer++at++sgi.com
Subject: pfFlux errors
Angus,
I tried fluxing every attribute (except the bounding box), and get this
error message when I run.
If the flux changer runs from the app, it sort of works, with these error
messages
FRAME IN USE
[0] frame=198 keep=197
[1] frame=197 keep=196
[2] frame=195 keep=-5
praddBuffer flux frame 198, we=0, Buffers : read=1 sync=0 dirty=0.
If the flux changer runs from the cull, no error messages, and no rotation
or color updates happen.
Is there anywhere where I can find what any of this means so I can debug?
Are there any examples anywhere of fluxed geoset attributes?
I have successfully used pfFluxes before (not as geoset attributes) and it
wasn't this hard. Are there extra rules to follow when the flux is a geoset
attribute?
Thanks,
Christopher Dorosky
Lead Electronic Systems Engineer - Real Time Simulation
Lockheed Martin Missiles and Fire Control - Dallas
christopher.g.dorosky++at++lmco.com
972-603-2349
> ----------
> From: Angus Dorbie[SMTP:dorbie++at++sgi.com]
> Sent: Friday, July 28, 2000 2:02 PM
> To: christopher.g.dorosky++at++lmco.com
> Subject: Re: pfFlux, fluxed geosets, fluxed geoset attributes
>
> No fluxing the geoset fluxes the whole thing, it's another different way
> of doing a similar thing and is usefull when changing the numbers of
> primitives etc.
>
> Cheers,ANgus.
>
>
> christopher.g.dorosky++at++lmco.com wrote:
> >
> > Thank you, I will try fluxing all the attributes. But what about
> creating a
> > fluxed geoset. Is this necessary when fluxing attributes, or does this
> do
> > something different? Why would you want a fluxed geoset?
> >
> > Thanks.
> >
> > Christopher Dorosky
> > Lead Electronic Systems Engineer - Real Time Simulation
> > Lockheed Martin Missiles and Fire Control - Dallas
> > christopher.g.dorosky++at++lmco.com
> > 972-603-2349
> >
> > > ----------
> > > From: Angus Dorbie[SMTP:dorbie++at++sgi.com]
> > > Sent: Friday, July 28, 2000 12:37 PM
> > > To: christopher.g.dorosky++at++lmco.com
> > > Cc: info-performer++at++sgi.com; zhz++at++cthulhu.engr.sgi.com
> > > Subject: Re: pfFlux, fluxed geosets, fluxed geoset attributes
> > >
> > > Iff you use fluxed attributes in a geoset then ALL attributes must be
> > > fluxed.
> > >
> > > CHeers,Angus.
> > >
> > > christopher.g.dorosky++at++lmco.com wrote:
> > > >
> > > > pfHelp!!!
> > > >
> > > > I have been looking at Angus' program for billboard trees. There was
> a
> > > > comment in there about how the geoset attributes could be fluxed. I
> > > decided
> > > > to try this, since I will have an application with a very large
> number
> > > of
> > > > trees.
> > > >
> > > > I am assuming that the way to do this is with a pfFlux, not a fluxed
> > > geoset,
> > > > right? I worked through the fluxed_gset example in pguide, but still
> > > have no
> > > > understanding about when it is appropriate to use a fluxed geoset.
> Do
> > > you do
> > > > this when things about the geoset can change other than the
> attributes?
> > > >
> > > > Here is what I tried.
> > > >
> > > > I made the application run app_cull_draw. I rewrote the part that
> calls
> > > > UpdateBilbo, so that it was called from a post app callback (the
> idea
> > > being
> > > > that I could change it to post cull, etc). This worked fine.
> > > >
> > > > Changing it to post cull made the scene not update. So I changed
> > > > billy->coords from a pfVec3 * to a pfFlux *. In the UpdateBilbo
> routine,
> > > I
> > > > changed the tmpcos (or whatever) pointer to point to
> > > > pfFluxGetWritableData(billy->coords). I allow the function to do the
> > > > coordinate changing like it did before, and do a fluxwritecomplete
> at
> > > the
> > > > end.
> > > >
> > > > This works terribly. The trees jump all over the place and don't
> rotate.
> > > >
> > > > Interestingly enough, if I change to APPCULLDRAW, it works fine.
> > > >
> > > > What is going on here? I am very unclear about the following two
> things:
> > > > When is it appropriate to use a fluxed geoset?
> > > > When is it appropriate to use a pfFlux for a geoset attribute?
> > > >
> > > > For the geoset attributes which are pfFluxes, does something
> > > automatically
> > > > do a pfFluxGetCurData each frame to make things update?
> > > >
> > > > Thanks!
> > > >
> > > > Chris
> > > >
> > > > Eventually, I want to have the rotation done by the compute process.
> > > >
> > > > Christopher Dorosky
> > > > Lead Electronic Systems Engineer - Real Time Simulation
> > > > Lockheed Martin Missiles and Fire Control - Dallas
> > > > christopher.g.dorosky++at++lmco.com
> > > > 972-603-2349
> > > >
> -----------------------------------------------------------------------
> > > > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > > > Submissions: info-performer++at++sgi.com
> > > > Admin. requests: info-performer-request++at++sgi.com
> > >
> > > --
> > > For Performer+OpenGL tutorials http://www.dorbie.com/
> > >
> > > "In the middle of difficulty lies opportunity."
> > > --Albert Einstein
> > >
> -----------------------------------------------------------------------
> > > List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> > > Submissions: info-performer++at++sgi.com
> > > Admin. requests: info-performer-request++at++sgi.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
>
> --
> For Performer+OpenGL tutorials http://www.dorbie.com/
>
> "In the middle of difficulty lies opportunity."
> --Albert Einstein
>
-----------------------------------------------------------------------
List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2b29 : Sat Jul 29 2000 - 08:11:14 PDT