Re: [JAVA3D] Collision detection issues

2002-11-11 Thread Burrows Anthony
You can't detect with more than than two objects Ramanathan. A 'feature' of the collision detection. When an object collides with a second one, then the only collision events it will respond to are CollisionExit and CollisionMovement. It will not and can not detect a second collision until after

[JAVA3D] rotating without axis flipping

2002-11-11 Thread Bhargavi Devi Sura
Hi, I want to rotate my object along x and y axis. I have written my own class to do this. But the problem is when I rotate 90 degrees along x axis, z axis becomes y axis. Next time when I rotate along Y, it looks like I am rotating along Z. How can I rotate without flipping the axis? Any sample c

[JAVA3D] 3D texture

2002-11-11 Thread Jason Irwin
Hi i was wondering if someone could tell me how to map a texture image onto the 4 sides (front,back,left and right) of a custom shape. i'm using a geometryinfo and applying a Texture2D with the following code buildgeom.setTextureCoordinateParams(1, 2) ; buildgeom.setTextureCoordinates(0,texC

[JAVA3D] viewer VRML

2002-11-11 Thread Massimiliano Pesente
I'd like tknow if there are some VRML viewer open source in the web. Thank you === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help, send email

Re: [JAVA3D] viewer VRML

2002-11-11 Thread Burrows Anthony
CyberVRML is a viewer with all the code you need and the JavaCC file that the loader was built from. Tony -Original Message- From: Massimiliano Pesente [mailto:massimiliano.pesente@;CALIARI.IT] Sent: 11 November 2002 15:55 To: [EMAIL PROTECTED] Subject: [JAVA3D] viewer VRML I'd like tkn

[JAVA3D] AW: [JAVA3D] rotating without axis flipping

2002-11-11 Thread Florin Herinean
That's the classical example of a "gimbal lock". Try to use setEuler methods in Transform3D (it works for me!). Or search the net for solutions. Or search the list archive. The ideea is that you should not change the reference system. Cheers, Florin -Ursprüngliche Nachricht- Von: Bhargav

[JAVA3D] how to check j3d rendering resource on fly

2002-11-11 Thread Lan Wu-Cavener
Hi, everyone: I am using view frustum culling in my program. I will have to add some grids and detach some every frame. I wanted to make all the adding grids happening immediately. so I put the part of code into a Behavior object. But I want to make all the detaching happen when the rendering reso

[JAVA3D] Java 3D FAQ Weekly Posting (11 Nov 2002)

2002-11-11 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday November 11 2002 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] Text3D size and extrusion

2002-11-11 Thread Alejandro Allievi
Hi all, I checked the archives and was unable to find an answer. My question is on this code Font3D yF3D = new Font3D( new Font( "Serif" , Font.BOLD , 1 ) , new FontExtrusion() ); Text3D xT3D = new Text3D( yF3D , "X" , new Point3f( 0.0f,0.0f,0.0f) ); Shape3D shxT3D = new Shape3D( xT3D ); myTransf

Re: [JAVA3D] Text3D size and extrusion

2002-11-11 Thread Brandon
The following code worked for me (made it larger and changed the font extrusion): BranchGroup objRoot = new BranchGroup(); Font3D yF3D = new Font3D(new Font("Serif", Font.BOLD, 1), new FontExtrusion(new Line2D.Double(0, 0, .02, 0))); Text3D xT3D = new Text3D(yF3D, "X", new Point3f(0.0f, 0.0f, 0.0f)

Re: [JAVA3D] Text3D size and extrusion

2002-11-11 Thread Brandon
Oh yeah you wanted it smaller, just use .1 or something in setScale(). Set scale worked for me... --- Brandon <[EMAIL PROTECTED]> wrote: > The following code worked for me (made it larger and > changed the font extrusion): > BranchGroup objRoot = new BranchGroup(); > Font3D yF3D = new Font3D(new F

Re: [JAVA3D] Text3D size and extrusion

2002-11-11 Thread Alejandro Allievi
Brandon, Thanks a lot! It works very well. Alejandro > -Original Message- > From: Discussion list for Java 3D API > [mailto:JAVA3D-INTEREST@;JAVA.SUN.COM]On Behalf Of Brandon > Sent: Monday, November 11, 2002 5:14 PM > To: [EMAIL PROTECTED] > Subject: Re: [JAVA3D] Text3D size and extrusi

Re: [JAVA3D] how to check j3d rendering resource on fly

2002-11-11 Thread Pasi Paasiala
Title: RE: [JAVA3D] how to check j3d rendering resource on fly I'd put the detaching in a thread of its own and set a low priority for that thread. Then the detaching is done when there is CPU available. Pasi -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL

[JAVA3D] Out of topic: How to store and serialize images economically

2002-11-11 Thread Pasi Paasiala
Title: Out of topic: How to store and serialize images economically Hello all, Even though this is not strictly a Java3D question I think there might be people who know or are interested in this question. Sorry for the rest. In our application we are taking snapshots from Canvas3D and we m

Re: [JAVA3D] Out of topic: How to store and serialize imageseconomically

2002-11-11 Thread Brad Christiansen
Hi, I am not sure how this fits in with what you want, but you can compress the results of object serilization. Just wrap your ObjectOutputStream in a zip or gzip output stream. eg ByteArrayOutputStream baos = new ByteArrayOutputStream(); GZIPOutputStream gzos = new GZIPOutputStream(baos); Obje

Re: [JAVA3D] Out of topic: How to store and serialize images economically

2002-11-11 Thread Kevin Glass
Pasi Paasiala wrote: Hello all, Even though this is not strictly a Java3D question I think there might be people who know or are interested in this question. Sorry for the rest. In our application we are taking snapshots from Canvas3D and we maintain them as BufferedImages in the memory. I have

Re: [JAVA3D] Out of topic: How to store and serialize imageseconomically

2002-11-11 Thread Pasi Paasiala
Title: RE: [JAVA3D] Out of topic: How to store and serialize imageseconomically Thanks Brad, I knew this and this is what I referred to as hiding something under the carpet. I'd use this as the last resort since I'm afraid that my file sizes may start creeping larger and I don'