Keeping current position

New Message Reply Date view Thread view Subject view Author view

LIM MING WAH (eng30228++at++leonis.nus.sg)
Tue, 31 Dec 1996 12:29:36 +0800 (SST)


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


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:54:12 PDT

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.