Re: [JAVA3D] [Q] Mouse-rotation around fixed arbitrary axis

2001-06-26 Thread Kynn Jones
I think you have misunderstood me. I do not "want quaternions" (I am quite familiar with them in any case). What I want is code that does for fixed-axis rotations what MouseRotate does for rotations around a single point. (I think I can write such code myself, but I would prefer to use somethin

Re: [JAVA3D] Code repository of j3d.org

2001-06-26 Thread Justin Couch
> Amit Jindal wrote: > collision detection. The site is not clear to me. They asked about CVS > and CVSRoot and I am not able to understand how this works to download > the code. If anybody can help me then please help.. CVS is a piece of software for doing code version maintenance. CVS stands f

Re: [JAVA3D] [Q] Mouse-rotation around fixed arbitrary axis

2001-06-26 Thread Chris Thorne
So you want quaternions: where you specify a vector (axis) [X Y Z] and an angle W to rotate about the axis. I don't have this code (I'm sure a few on this list do) but you can look at: http://www.cs.berkeley.edu/~laura/cs184/quat/quaternion.html http://skal.planet-d.net/demo/matrixfaq.htm#Q45 Thi

Re: [JAVA3D] [Q] Mouse-rotation around fixed arbitrary axis

2001-06-26 Thread Kynn Jones
I mean that once a given axis in space is fixed by the user, then all subsequent mouse-dragging motions are mapped to rotations of the target TransformGroup around that fixed *axis*. For example, in the special case in which the fixed axis is the y-axis, then all mouse-dragging motions would map

[JAVA3D] Code repository of j3d.org

2001-06-26 Thread Amit Jindal
Title: Code repository of j3d.org Hi all,     How do I access he code from code repository on j3d.org for collision detection. The site is not clear to me. They asked about CVS and CVSRoot and I am not able to understand how this works to download the code. If anybody can help me then ple

Re: [JAVA3D] [Q] Mouse-rotation around fixed arbitrary axis

2001-06-26 Thread Chris Thorne
Arbitrary axis or arbitrary point in space *and* a specified axis? Chris Kynn Jones wrote: > I need to map mouse-dragging motions to rotations around an arbitrary > axis (not necessarily through the origin). Does anybody know where I > can find code (preferably some extension of MouseRotate or

Re: [JAVA3D] Where is Canvas2D

2001-06-26 Thread Will Holcomb
On Tue, 26 Jun 2001, Kynn Jones wrote: > I found PickMouseBehavior after searching the archives. I don't have > a directory to go to for it. Is there any source for Canvas2D on It ought to be in the demos that came with java3d. I am running on Linux and I got it in the Blackdown distribution.

[JAVA3D] [Q] Mouse-rotation around fixed arbitrary axis

2001-06-26 Thread Kynn Jones
I need to map mouse-dragging motions to rotations around an arbitrary axis (not necessarily through the origin). Does anybody know where I can find code (preferably some extension of MouseRotate or MouseBehavior) to do this? Thanks, KJ ==

Re: [JAVA3D] How to display BufferedImage in HTML?

2001-06-26 Thread John Wright
Justin, Netscape will run Java 2 applets just fine (with or without Java3D - this has nothing to do with Java 3D). The bug comes in when trying to used Javascript to call an applet method. Sun's response to me (in addition to the bugs filed in the bug database) was that this is a bug in Netscap

Re: [JAVA3D] Skin and Bones/Muscles and brains

2001-06-26 Thread Krikheli, David
John, Thank you for the information. I have an impression I could go for GeForce 2. Will let you know what the benchmarks are if my family approves the expense :). >> If the points form a 2D plane then why not use 2D graphics? The points form an almost arbitrarily curved surface. However, there

[JAVA3D] OpenSource Contributions

2001-06-26 Thread David Yazel
The Cosm team is publishing two technologies which we have/are developing as part of our online world development. Both are available now from Source Forge. ARMI: Fast, compact, asynchronous Java messaging system. Replacement for Java RMI. Pronounced the same as "army". http://sourceforge.net/pr

Re: [JAVA3D] How to display BufferedImage in HTML?

2001-06-26 Thread Justin Couch
John Wright wrote: > We ran into this too. As Sun says: "it's a bug in Netscape" (and > apparently the only plan to fix it is to wait for some future version of > Netscape 6). Basically Netscape is incompatible with HTML pages > converted with the HTMLConverter (ie Netscape doesn't work properly

Re: [JAVA3D] How to display BufferedImage in HTML?

2001-06-26 Thread John Wright
Gaoming, We ran into this too. As Sun says: "it's a bug in Netscape" (and apparently the only plan to fix it is to wait for some future version of Netscape 6). Basically Netscape is incompatible with HTML pages converted with the HTMLConverter (ie Netscape doesn't work properly with Java 1.2.x o

Re: [JAVA3D] PRODUCTIVITY TOOLS

2001-06-26 Thread Justin Couch
Nicolás Tapia wrote: > I need to known your opinion about the productivity tools to build JAVA3D > applications. This is a little confusing about what you are asking for - tools to build 3D content, or tools to build a general application, which happens to use Java3D? AFAIK, there are no tools

Re: [JAVA3D] Changing the color of a Shape3D

2001-06-26 Thread Bob Dengle
Oops :-( >From: Bob Dengle <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL PROTECTED] >Subject: Re: [JAVA3D] Changing the color of a Shape3D >Date: Tue, 26 Jun 2001 16:21:22 -0700 > >Without knowing the exact code you use to get the appearance attri

Re: [JAVA3D] Changing the color of a Shape3D

2001-06-26 Thread Bob Dengle
Without knowing the exact code you use to get the appearance attributes, i would suggest that you try setting Material.ALLOW_COMPONENT_READ and Material.ALLOW_COMPONENT_WRITE . -B.D. >From: Kynn Jones <[EMAIL PROTECTED]> >Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]> >To: [EMAIL

Re: [JAVA3D] Changing the color of a Shape3D

2001-06-26 Thread Doug Gehringer
> From: Kynn Jones <[EMAIL PROTECTED]> > > Found the answer (in the Archive, as it turns out). Changing > >Box box = new Box(0.2f, 0.2f, 0.2f, app); >box.setCapability(Primitive.ENABLE_APPEARANCE_MODIFY); > > to > >Box box = new Box(0.2f, 0.2f, 0.2f, > Primitive.E

[JAVA3D] PRODUCTIVITY TOOLS

2001-06-26 Thread Nicolás Tapia
Hello!, I need to known your opinion about the productivity tools to build JAVA3D applications. what are you using now? and what are you think about it?. Nicolás Tapia === To unsubscribe, send email to [EMAIL PROTECTED]

Re: [JAVA3D] Changing the color of a Shape3D

2001-06-26 Thread Kynn Jones
Found the answer (in the Archive, as it turns out). Changing Box box = new Box(0.2f, 0.2f, 0.2f, app); box.setCapability(Primitive.ENABLE_APPEARANCE_MODIFY); to Box box = new Box(0.2f, 0.2f, 0.2f, Primitive.ENABLE_APPEARANCE_MODIFY, app); got

[JAVA3D] How to display BufferedImage in HTML?

2001-06-26 Thread gaoming fu
Hi, All: I used the following function from PrintCanvas3D to convert my Canvas3D to a BufferedImage: BufferedImage doRender(int width, int height) { bImage = new BufferedImage(width, height, BufferedImage.TYPE_INT_ARGB); ImageComponent2D buffer =   new ImageComponent2D(ImageComponent.F

[JAVA3D] Changing the color of a Shape3D

2001-06-26 Thread Kynn Jones
Surely it cannot be so insanely difficult to do something this simple. I am trying to write code to change the color of a Shape3D object. The Shape3D object is created using this method: private Box makeBox(Color3f color) { Appearance app = new Appearance(); app.setCapability(Appearance

Re: [JAVA3D] Where is Canvas2D

2001-06-26 Thread Kynn Jones
On Tue, 26 Jun 2001 15:13:47 -0500, Will Holcomb <[EMAIL PROTECTED]> wrote: >Canvas2D is a class in the FourByFour example. (The same place as >PickMouseBehavior.) It ought to be in the saem directory. I found PickMouseBehavior after searching the archives. I don't have a directory to go to for

Re: [JAVA3D] [Java3d] native code error in JVM

2001-06-26 Thread Kelvin Chung
Hi Michael, Which version of Java3D (OGL/D3D), graphics card, window version are you using ? Please give us a test case to investigate. Thanks. - Kelvin --- Java 3D Team Sun Microsystems Inc. >Delivered-To: [EMAIL PROTECTED] >X-Originating-IP: [63.62.221.12] >MIME-Version: 1.0

[JAVA3D] native code error in JVM

2001-06-26 Thread Michael Carter
    - Original Message - From: Michael Carter Sent: Tuesday, June 26, 2001 3:22 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] [Java3d] native code error in JVM   I am running animation of a mechanical man.  I am using an Alpha object.  Every so often the JVM crashes with the error message be

[JAVA3D] [Java3d] native code error in JVM

2001-06-26 Thread Michael Carter
I am running animation of a mechanical man.  I am using an Alpha object.  Every so often the JVM crashes with the error message below. Can anyone help me stop this. Michael Carter, PUC student  An unexpected exception has been detected in na

Re: [JAVA3D] Where is Canvas2D

2001-06-26 Thread Will Holcomb
Canvas2D is a class in the FourByFour example. (The same place as PickMouseBehavior.) It ought to be in the saem directory. Will === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "sig

Re: [JAVA3D]

2001-06-26 Thread Ashish Aggarwal
Hello Anand! Thanks very much for your continuing help and because of it I have understood lot of things. But there is a problem with the program. Shape3D myShape is null and hence the if loop which states that: if( myShape != null ) is not executed. I am getting the message "scenegraph pa

Re: [JAVA3D] rotate the object about other coordinates(but not local)

2001-06-26 Thread Carlos Fernando Ariza Moreno
Richard: You may get local and global coordinates: example: a behavior that reply to MouseEvent.MOUSE_PRESED: Point3d p = pickCanvas.getStartPosition (); PickIntersection pi = pickResult[0].getClosestIntersection(p); Point3d Pt = pi.getPointCoordinates(); // local Point3d

[JAVA3D] rotate the object about other coordinates(but not local)

2001-06-26 Thread Z H
Hi, all! Not like the MouseRotate, the OrbitBehavior rotates the view platform while rotating the object. that means the object is actually not being moved to its background. the Behavior is either associated with the viewplatform, or with the object, which means the rotation or movement can onl

Re: [JAVA3D] IK and Skeletal Animation

2001-06-26 Thread Bob Dengle
Hi Thanks for the tip on getLocaltoVworld() :-). I was thinking about the general technique behind CCD and I thought of something. If you have a chain of bones pointing towards an effector, why can't you use simple trigonometry to rotate the chain? For example, take a chain with 1 DOF and 1 bon

Re: [JAVA3D] Java 3D is GOOD for geometry modelling!!!!!

2001-06-26 Thread Joachim Diepstraten
Hi > have puttogether a CAD/CAE platform within a > remarkably short time by simply using the > platform-independent Java and Java3D APIs. There are I agree. > effectively. If you use Java3D with some understanding > of core geometry issues needed for CAD/CAE area, there > is a lot to gain from

Re: [JAVA3D] Rubberbanding on Canvas3D

2001-06-26 Thread Will Holcomb
On Tue, 26 Jun 2001, Anders wrote: > I'm going to create a small 2D/3D CAD tool using Java3D. One thing that > a user should be able to do with the tool is to draw 2D geometries > (rectangle, ellipse, etc.) using the mouse. My idea is that the user > should be able to rotate the 3D scene to an ar

[JAVA3D] Java 3D is GOOD for geometry modelling!!!!!

2001-06-26 Thread Rajamiyer Ravichandran
We feel Java3D is GOOD for geometry modeling. Our company is also in the CAD/CAM/CAE area, creating an entirely web-centric, pure Java CAD/CAE platform. We have puttogether a CAD/CAE platform within a remarkably short time by simply using the platform-independent Java and Java3D APIs. There are bu

[JAVA3D] Where is Canvas2D

2001-06-26 Thread Kynn Jones
The documentation for PickMouseBehavior refers to the class PickDragBehavior as an example of how to extend PickMouseBehavior. I managed to find (after searching the archives!) code for PickDragBehavior, but this code has some problems. The first one is that in this code PickDragBehavior extend

Re: [JAVA3D] Java 3D is Bad for geometry modelling!!!!!

2001-06-26 Thread osam
it is not suitable for geometric modelling??? We have just tried to build an interactive application of geometrical modeling with java3D but there are BUG on very simple things like (interactive creation of a Plan, or one sphere using file menus from an empty or charged 3D scene.) We are sure th

Re: [JAVA3D] Java 3D is Bad for geometry modelling!!!!!

2001-06-26 Thread Yazel, David J.
I can't understand what you are saying. Could you try rewriting that a different way? David Yazel -Original Message- From: osam [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 26, 2001 12:41 PM To: [EMAIL PROTECTED] Subject: [JAVA3D] Java 3D is Bad for geometry modelling! We just d

[JAVA3D] Java 3D is Bad for geometry modelling!!!!!

2001-06-26 Thread osam
We just described a bug about creation of geometric models. All existing software are created (90%) with C++ (CATIA, PRO/E, RHINO.) We have tryed java3D, Hence it is not suitable for geometric modelling??? === To unsubscr

Re: [JAVA3D] URGENT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2001-06-26 Thread osam
OK that will be good if it comes in a few days. What a shame we can not progress without fixing that BUG. Thanks. Uma Sabada a écrit : > This problem : > > 4467858 - GeometryArrayRetained getDlistTimeStamp() throws > ArrayIndexOutOfBoundsException > > is fixed in the soon to be released _02 pa

Re: [JAVA3D] URGENT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2001-06-26 Thread Uma Sabada
This problem : 4467858 - GeometryArrayRetained getDlistTimeStamp() throws ArrayIndexOutOfBoundsException is fixed in the soon to be released _02 patch. -Uma Java3D Team > Delivered-To: [EMAIL PROTECTED] > X-Accept-Language: fr > MIME-Version: 1.0 > Content-Transfer-Encoding: 7bit > Date: Tue

Re: [JAVA3D] Screen Coordinates

2001-06-26 Thread Carlos Fernando Ariza Moreno
Hi Anand: This is an example, it was sent last days for same question . Carlos. Anand Pillai escribió: > How to get the screen co-ordinates for the mouse inside > a behavior's processStimulus method that responds to > a MOUSE_CLICKED event ? > > Thanks > > Anand > > Anand Pillai > DELMIA Solu

[JAVA3D] Bug in getPixelLocationInImagePlate?

2001-06-26 Thread Kynn Jones
I think I have found a bug in the j3d library, probably in getPixelLocationInImagePlate. It appears that converting from pixel coordinates to image plate coordinates to virtual world coordinates produces dimensions that are 2x too big. The code below (two files) illustrates this bug. Run the pr

Re: [JAVA3D] URGENT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2001-06-26 Thread Jason Taylor
Hi can't help much but I also get this error in my code, but this is my first J3D program so I think I could do it cleaner and avoid it. I have a few views in a tabbed swing panel and a menu which allows me to add additional tabs with new views. I can start the program with 1-8 tabs ok but if I a

Re: [JAVA3D]

2001-06-26 Thread Anand Pillai
Hi Ashish, I found out your problem. When you pick the object with SceneGraphPath closest = obj.pickClosest(0, 0), you are casting a ray in the point (0,0) in window space. In your geometry that ray wont intersect with any geometry at all. What you need to do is get the co-ordinates in

[JAVA3D] URGENT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

2001-06-26 Thread osam
Hello , all We have a strong problem in our java3D application. Indeed whe have a GUI with 4 views. When we loaded a scene contained in a file and then we try to create an quadarray through a toolbar the following message appears java.lang.ArrayIndexOutOfBoundsException at javax.media.j3d.Geometr

Re: [JAVA3D] Skin and Bones/Muscles and brains

2001-06-26 Thread John Wright
David, Without textures and without polygons to fill this sounds like a reasonable load on the graphics card. And if they are static points Java 3D should be able to optimize fully. If the points form a 2D plane then why not use 2D graphics? I've not tried to render a large number of static po

[JAVA3D] I need Java 3D documentation; books, tutorials...

2001-06-26 Thread Carolina Prieto Muñiz
    Hi!  Besides the Java3D Tutorial by Sun I have not found any good tutorial or manual of Java3D. I am not very good searching in the Internet so I would appreciate if any of you could give me a link or book title. I need to learn: light, animation, textures, triangulation of polygon surfa

[JAVA3D] Java3D v1.1.1

2001-06-26 Thread Max CHEVALIER
Hi, I'd like to know if the Java3D v1.1.1 Runtime is still available... Where can i get it ?? Thanks... Max CHEVALIER. e-mail : [EMAIL PROTECTED] === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body

[JAVA3D] Rubberbanding on Canvas3D

2001-06-26 Thread Anders
I'm going to create a small 2D/3D CAD tool using Java3D. One thing that a user should be able to do with the tool is to draw 2D geometries (rectangle, ellipse, etc.) using the mouse. My idea is that the user should be able to rotate the 3D scene to an arbitrary view (in order to get a 2D work p

Re: [JAVA3D] Install anywhere fails on NT4 SP6

2001-06-26 Thread Sebastian Hentschel
I had the same problem, but it now it works. I have deinstalled the JDK and then start die J3D installer.Wait while the Installer is started, and then install the JDK again. After you have installed the JDK, continue with the J3D installation. Try it, perhaps it works. CU Sebastian --- John

[JAVA3D] Animation : combining interpolators

2001-06-26 Thread Olivier BANASZAK
Hello, Let me submit to you a little problem, that may be will seem really too easy for some of you : I wish to perform a shape3d animation that would combine a full rotation along the z-axis with a return half rotation along the y-axis. Revising the J3D documentation I read that two interpolators