[JAVA3D] PickBehaviour without utility class

2002-09-23 Thread A. Murat Tanyer
Hi all;I am trying to add 'pickBehavior' to my scene. However, the method 'updateScene(int xp, int yp)' seems to be not working. I am using the 'core ViewPlatform class': My scene's centroid is at x,y,z in the space. What I am doing is creating my viewplatform and moving it to the point near

[JAVA3D] capability problem

2002-09-23 Thread Ivan Zahoranszky
Hi! Can anybody help me? I get the next exception: Exception occurred during Behavior execution: javax.media.j3d.CapabilityNotSetException: Group: no capability to set transform at javax.media.j3d.TransformGroup.setTransform(TransformGroup.java:105) at Anim8OrLoader.Bone.calcula

Re: [JAVA3D] capability problem

2002-09-23 Thread Dipl. Ing. Paul Szawlowski
Ivan Zahoranszky schrieb: > Hi! > > Can anybody help me? > > I get the next exception: > Exception occurred during Behavior execution: > javax.media.j3d.CapabilityNotSetException: Group: no capability to set transform > > at javax.media.j3d.TransformGroup.setTransform(TransformGroup.java:1

Re: [JAVA3D] PickBehaviour without utility class

2002-09-23 Thread Roger Berggren
Hi Murat, You could try searching the mail archives, there have been alot of discussions how this might be accomplished. The mail archives is located at: http://swjscmail1.java.sun.com/cgi-bin/wa?S1=java3d-interest Another place to search is the j3d.org, they have a good tutorial about Java 3D

Re: [JAVA3D] capability problem

2002-09-23 Thread Ivan Zahoranszky
Hi! Thank you for your quick answer. That was the problem. I thought that all capability is a bit in an int. Thx Ivan -Original Message- From: ext Dipl. Ing. Paul Szawlowski [mailto:[EMAIL PROTECTED]] Sent: Monday, September 23, 2002 2:05 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D]

[JAVA3D] Howto integrate Java3D Editor/Viewer as an eclipse editor

2002-09-23 Thread Slimane Merzouk
Hi, I am extremely new to eclipse and I would like to write a 3D editor/viewer based on Java3D using the eclipse platform. From what I understood I have to sublass EditPart and override "createPartControl() method and several other methods as well. In order to use Java3D API, I need to create

Re: [JAVA3D] Change text color on Canvas3D before exporting as JPEG

2002-09-23 Thread Raghavendra R
Hi Kelvin, Thanks for the reply. I was able to resolve this issue. Thanks for the invaluable hints regarding the Renderer / Scene graph updations. I was able to fix this by firstly changing the text color of the Shape3D/Texture2D entities (called from the main class) and then changing the backgro

[JAVA3D] Unable to get keyboard inputs for JDK 1.3.1/J3D 1.2.1

2002-09-23 Thread Raghavendra R
Hi, I am resending this mail regarding keyboard inputs. I have an application with a Canvas3D on a JFrame rendering CAD drawings. I have attached KeyListener to this JFrame. I recently upgraded from JDK 1.2.2 / J3D 1.1.3 to JDK 1.3.1_04 / J3D 1.2.1_04. After doing this, i am unable to get keyboa

Re: [JAVA3D] Unable to get keyboard inputs for JDK 1.3.1/J3D 1.2.1

2002-09-23 Thread John Wright
Raghav, I would suggest you attach your key listener to the Canvas 3D NOT the JFrame. From what you describe when you click on the Canvas3D it then has keyboard focus and without something listening to it you'll get no keyboard response. In our code we do a lot of fussing to make lots of compon

Re: [JAVA3D] Matrix4d bug!

2002-09-23 Thread Josh Richmond
Thanks Mark (and everyone else that replied on this thread). Somehow I missed the getRotationScale method and will switch to that. I will also forward your comments re: uniform scaling to the writer of the application that provides the source matrix to me. josh >>> [EMAIL PROTECTED] 09/20/02 1

[JAVA3D] a new applet using java3d available online

2002-09-23 Thread Asaf Dafner
Hi all, The following site http://cochise.mta.ac.il/~dune/ includes an applet that uses Java3d, ( http://cochise.mta.ac.il/~dune/lab.html ). The site allows 3D building and interaction with masses, springs and muscles and is based on the 2D www.sodaplay.com site (and xspringies, if that rings any

[JAVA3D] Adding Geometry or BranchGroups after scene has been compiled

2002-09-23 Thread TF
I've made a small j3d viewer and I want to add a feature where you can add predefined objects to the viewer and see the changes to the scene as they come. I would like to know if this is possible and if it is how it's done. If there are any tutorials on this out there I'd appreciate a link or if i

Re: [JAVA3D] Change text color on Canvas3D before exporting as JPEG

2002-09-23 Thread Kelvin Chung
Raghavendra R wrote: > Hi Kelvin, > > Thanks for the reply. I was able to resolve this issue. Thanks for the > invaluable hints regarding the Renderer / Scene graph updations. I was > able to fix this by firstly changing the text color of the > Shape3D/Texture2D entities (called from the main clas

[JAVA3D] Java 3D FAQ Weekly Posting (23 Sep 2002)

2002-09-23 Thread The Java 3D FAQ
The Java 3D Frequently Asked Questions list for Monday September 23 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

Re: [JAVA3D] a new applet using java3d available online

2002-09-23 Thread Joerg 'Herkules' Plewe
> The following site http://cochise.mta.ac.il/~dune/ includes an applet > that uses Java3d, ( http://cochise.mta.ac.il/~dune/lab.html ). > Cannot get it up although http://cochise.mta.ac.il:8080/~dune/testJava3D/index.html tells me my installation is fine. Only get nearly blank page with the 3

Re: [JAVA3D] a new applet using java3d available online

2002-09-23 Thread Brad Christiansen
Hi, Just thought I would let you know that it runs well on my machine (no problems at all). Looks great. Cheers, Brad Asaf Dafner wrote: > > Hi all, > The following site http://cochise.mta.ac.il/~dune/ includes an applet > that uses Java3d, ( http://cochise.mta.ac.il/~dune/lab.html ). > > The

Re: [JAVA3D] a new applet using java3d available online

2002-09-23 Thread Asaf Dafner
Hi, thanx for the response everybody. I've neglected to mention that you'll need java1.4 (plugin) to see this, Have fun, Asaf. Joerg 'Herkules' Plewe wrote: > > The following site http://cochise.mta.ac.il/~dune/ includes an applet > > that uses Java3d, ( http://cochise.mta.ac.il/~dune/lab.html )

[JAVA3D] AW: [JAVA3D] Adding Geometry or BranchGroups after scene has been compiled

2002-09-23 Thread Wolfgang Kienreich
Hi, the key to solving your problem is the definition of object you use. Only branch groups can be added to and removed from the scene graph after making it live. So you have to build objects as groups of transforms and shapes contained in branchgroups, and to add an object to the scene you have

[JAVA3D] AW: [JAVA3D] a new applet using java3d available online

2002-09-23 Thread Wolfgang Kienreich
Hi there, unfortunately, your cool-looking applet did not work on my machine (P3/1GHz/512MB RAM/Geforce TI4200). After some seconds of what feels like loading, the applet disappears and only the three links remain. Strangely, if I test my browser using your detection tool, everything works fine.

[JAVA3D] Indexed Primitive Picking

2002-09-23 Thread Jefferson Samuel
Hello, I've created my Shape3D with indexed geometry(IndexedQuadArray). The IndexedQuadArray (IQA) has: - 300 points in a Point3d[]. - 4 indices in an int[]. So my Shape3D is made up of 1 primitives (Quad), right?? I want to pick each primitive and retrieve the coordinates of the vertice