[JAVA3D] Exporting from Java3D!!

2003-11-17 Thread Ben Logan
Ok, there is a lot of talk about importing various file formats etc etc into Java3D, what about the other way round? My program loads a variety of 3DS shapes and then allows the user to construct a scene with them, what I need to know is how to then output the scene when the user has finished as a

Re: [JAVA3D] Exporting from Java3D!!

2003-11-17 Thread Alessandro borges
You can export/import a complete scene to a Java3D proprietary format by using com.sun.j3d.utils.scenegraph.io package. Read the Javadocs about it. I guess there are more ways to it, but I am not skilled enought to talk about. Alessandro --- Ben Logan <[EMAIL PROTECTED]> escreveu: > Ok, there

[JAVA3D] Cloning objects

2003-11-17 Thread Carlos Vieira
Hi, I am loading a 3ds object and i want to show that object 15 times. I don't want to load 15 times the object. How can i do this i'm getting the error of "...child already has a parent...", which i understand, but i tried clone and nothing appears on the screen... i made detach before adding

Re: [JAVA3D] Cloning objects

2003-11-17 Thread Michael Pfeiffer
You should share your data using a SharedGroup ( http://java.sun.com/products/java-media/3D/forDevelopers/J3D_1_3_API/j3dapi/javax/media/j3d/SharedGroup.html ) and a Link node ( http://java.sun.com/products/java-media/3D/forDevelopers/J3D_1_3_API/j3dapi/javax/media/j3d/Link.html) On Mon, 17 Nov 2

Re: [JAVA3D] Xms and Xmx

2003-11-17 Thread Paul Gordon
I'm pretty sure you can't, otherwise that would defeat the whole point! As a security measure, the stack size is implicitly capped so that the program can't take over the machine unless you explicitly allow it... Your best bet to make the invocation simple is to write a .bat and a .sh in your distr

Re: [JAVA3D] Exporting from Java3D!!

2003-11-17 Thread P. Flavin
You can save your Java3d scenegraph to a ".j3f" file as demonstrated by Sun's Java3d Scenegraph Editor. You can use Sun's Scenegraph Editor directly or adopt it as you prefer ( the source is available for free ). I've done it, I know it works,

Re: [JAVA3D] Cloning objects

2003-11-17 Thread Christian Britton
If you want to be able to move each one independantly, you should load it once and then call "cloneTree()" on the original each time you want to get a new independant one identical to the original. Don't forget to cast it to the original class (Shape3D for ex.)! Have fun! CHRIS P.S. We do this a l

Re: [JAVA3D] Exporting from Java3D!!

2003-11-17 Thread Christian Britton
Maybe you can "serialize" your stuff... CHRIS - Original Message - From: "Ben Logan" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Monday, November 17, 2003 5:10 AM Subject: [JAVA3D] Exporting from Java3D!! > Ok, there is a lot of talk about importing various file formats etc etc >

Re: [JAVA3D] Exporting from Java3D!!

2003-11-17 Thread RWGRAY
"serialize"-ation stinks during development. If you make a change to a class then everything you have serialized can not be (easily) read back in. Cheers, Bob Gray -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED] Behalf Of Christian Britton Sent: Monday,

[JAVA3D] Java 3D FAQ Weekly Posting (17 Nov 2003)

2003-11-17 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday November 17 2003 This is a posting of topics covered in the Java 3D FAQ. The answers to these questions are kept at: http://www.j3d.org/faq Please consult this list and the web site before asking questions on the mailing list. If t

[JAVA3D] Additive blending

2003-11-17 Thread MV
Hi,   I was wondering if it is possible to do additive blending with Java3D. I need to blend a texture so that its color values (rgb) are added to DST buffer ‘background’. Operation: Rr = Srgb * Sa + Drgb * Da where R = result, S = source, D = destination, rgb = colorvalue, a = alpha. S

Re: [JAVA3D] Xms and Xmx

2003-11-17 Thread William Denniss
On Tue, 2003-11-18 at 01:10, Paul Gordon wrote: > I'm pretty sure you can't, otherwise that would defeat the whole point! > As a security measure, the stack size is implicitly capped so that the > program can't take over the machine unless you explicitly allow it... > > Your best bet to make the in

Re: [JAVA3D] Xms and Xmx with InstallAnywhere NOW?

2003-11-17 Thread ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)
I appreciate the answer...but I have a followup for anyone using InstallAnywhere NOW: is there a way to tell "InstallAnywhere NOW" to include the -Xms and -Xmx values at the start? I'm having trouble doing it. Thanks again, Mario Mariusz Zaczek NASA - Johnson Space Center Automated Vehi

Re: [JAVA3D] Xms and Xmx with InstallAnywhere NOW?

2003-11-17 Thread Mona Wong-Barnum
Hi Mario: My apologies of this answer has been explored or talked about already... We use Java Web Start to launch our Java 3D application. In the JNLP file, we can add info about the memory size and this works for us. Here is our JNLP file for our Java 3D application, notice th

[JAVA3D] Color of Box

2003-11-17 Thread Guang Bin Liu
Hi Friends: How can I set different colours to different surface of a Box? Thank you! G.B. Liu === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For gener