Brian Furtaw (brian++at++sgi.com)
Thu, 2 Jan 1997 13:23:46 -0500
Brian
On Dec 31, 12:29pm, LIM MING WAH wrote:
> Subject: Keeping current position
>
> Hello all,
> I have recently tried to load many objects (up to 5) to perfly by
> distributing them to different DCSs. Then I modified the keybd.c to take
> in numbers from 1 to 5 and this toggles through the objects to be moved.
> The problem I face is that whenever I toggle back to an object whcih I
> have moved previously, it altomatically resets to its initial position.
> Is there any way which I can preserve their most recent position when I
> call up the object?
>
>
>
> I have added this to the keybd.c file:
>
> void toggleobject(int choice)
> {
>
> ViewState->sceneDCS = pointer[choice];
> initXformer();
>
> }
>
>
> ==========================================================================
> Jonathan
> Department of Mechanical and Production Engineering
> Faculty of Engineering
> National University of Singapore
> ==========================================================================
>
>
>
>
>
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/Technology/Performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com
>-- End of excerpt from LIM MING WAH
-- o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-o-oBrian Furtaw (brian++at++sgi.com) VisSim Technical Consultant 12200-G Plum Orchard Drive Office: (301)572-3293 Fax: (301)872-3293 Silver Spring, Maryland 20904 OpenGL/ImageVision/OpenInventor/Performer ======================================================================= 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:54:16 PDT