Hi All, Probably a basic question, here goes...
I want to know which of the two is more memory intensive: suppose i want to draw two spheres at different locations on my scene, there are two ways of doing it: 1. Create a single geometry and two Shape3D's, put them in corresponding TransformGroup which is translated and scaled according to requirements and add to the main BranchGroup. 2. Create separate geometry's for each sphere and add to the main BranchGroup. Regards, Ranjan George ingenovis, A Division of iLabs Ltd. Phone : 91-040-3352900/2 Ext.2006/2016 Fax : 91-040-3351522 Email : [EMAIL PROTECTED] http://www.ingenovis.com -----Original Message----- From: Mojtaba [mailto:[EMAIL PROTECTED]] Sent: Wednesday, November 20, 2002 12:17 AM To: [EMAIL PROTECTED] Subject: [JAVA3D] Java3D in CAVE Hello, We recently got our Java3D applications to work on SGI InfiniteReality3 system and I just thought it may be useful for others to know some of the things we had to do. 1-Attach head view in Java3D to tracker position in CAVE: this involves writing the JNI interface to TrackD, writing an InputDevice implementation and giving it to the PhysicalEnvironment as a Sensor and declaring it as a head sensor (ask if you need to see the Java or C code). This allowed Java3D to draw the correct perspective depending on where the user's head is in the CAVE. 2-Setting view parameters: screen width and height, screen's TrackBasetoImagePlate, windoweyepoint policy, enabling tracking in View as well as other miscl. things such as stereo and front clip distance and policy (ask if you want numbers particular to our system). 3- working out the small details! A small detail that gave us some problems was matching screen resolution to the actual screen used (for example we had 3 screens but we wanted to display on only one screen not knowing that Java3D draws for the entire screen space). Another small thing to get the stereo working properly is to include -Dj3d.stereo=PREFERRED which wasn't necessary for us on the PC. The system isn't perfect but is impressive given the amount of effort it took to go from PC to ONYX machines. Using Java3D was a huge advantage with regards to this. We'll be incorporating the Wand soon and I will send out an email when we do. Mojtaba Hosseini =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help". =========================================================================== To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email to [EMAIL PROTECTED] and include in the body of the message "help".