Julia Ellery (modellers++at++intersim.co.uk)
Thu, 21 Aug 1997 16:56:59 +0000
I am trying to modify code that moves an object with the eyepoint
eg. a headup display object. The object is created with a DCS node
that is updated to match the eyepoint position immediately after
the eyepoint is updated between pfSync and pfFrame. This works fine.
Now, for the sake of generalisation, I want such objects to
be modelled in the database as normal and flagged as being
"stuck to eyepoint" so that the Realtime code can put a
node callback on the DCS node, in a similar way to other
special effects. However, I cannot seem to get this to work
whatever callback I try and put the code in
(ie. pre/post_app/cull/draw). The object "shudders" and seems
to change scale, as well as not correctly moving with the eyepoint.
Is it possible to do this sort of thing on a callback and
if so, how?
I have other DCS nodes that I am currently updating altogether
after pfFrame, that I am considering moving "locally" to
their respective node callbacks but now wonder if this
will give similar trouble.
Any comments appreciated.
Regards,
Julia Ellery,
Senior Visual Software Engineer,
Intersim Limited, Units 7-8, Thorgate Road, Littlehampton. Sussex. UK
Tel: +44 (0)1903 733428
Fax: +44 (0)1903 730246
email: modellers++at++intersim.co.uk
=======================================================================
List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
Submissions: info-performer++at++sgi.com
Admin. requests: info-performer-request++at++sgi.com
This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:55:45 PDT