Re: [JAVA3D] How to determine correct scale factor

2000-07-26 Thread Crossley, Allistair (A.)
I compute the minimum x y and z and the maximum x y and z for my object and then add an additional z value of about -150 to center my object on the canvas. ^ Allistair D Crossley IT Consultant (Logica) 01277 252088 [EMAIL PROTECTED] ^ #-Original Messa

Re: [JAVA3D] AWT color vs. J3D color3f

2000-07-26 Thread Young Ly
Hi jayT > i have a j3d/swing app and i utilize the ColorChooser from swing > to control the color of shapes in a J3D scene. is there some sort > of mapping between the two? I utilize java.awt.Color and > javax.vecmath.Color3f.. what i believe should be a blue in Color > is a light blue in Color

[JAVA3D] Failure to garbage collect scenegraph parts

2000-07-26 Thread Matthew Flagg
Hi all, As I was perusing through the JDK 1.2.2 documentation I notice an Object called a WeakReference in java.lanf.ref package. If Objects from the scenegraph were explicitly(programatically) setup with WeakReferences immediately prior to programmatic calls to garbage collection could t

Re: [JAVA3D] Cones, spheres, cylinders, etc...

2000-07-26 Thread Broadbear Michael W. (fin1mwb)
You can scale the objects through the setScale method of the Transform3D object. You can even scale by certain dimensions, so that you can change width without changing height. ...Mike B. -Original Message- From: Terence J Fagan [mailto:[EMAIL PROTECTED]] Sent: Tuesday, July 25, 2000 11

[JAVA3D] Textures and Primitives

2000-07-26 Thread Broadbear Michael W. (fin1mwb)
Hello, I am having trouble setting the texture of a single surface of a primitive object. For example, I call getShape(Cylinder.TOP), and set the appearence, but the entire cylinder is textured as a result. Any help would be greatly appreciated. ...Mike B.

Re: [JAVA3D] declaration of Point3f[] outside a loop

2000-07-26 Thread Edward Becker
Move your verts declaration to a higher scope: Point3f[] verts = null; for (;x<=M-3;) { for(;y<=M;) { verts= { new Point3f (array1[x], array1[x+1], etc - Original Message - From: "Aruna Balasubramanian" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Mo

[JAVA3D] documents com.utilities

2000-07-26 Thread Terence J Fagan
Hello all,     Where can I find documents for the com.utilities??             Thanks Terence

[JAVA3D] Fwd: [JAVA3D] problem getting 3d coords from pixel

2000-07-26 Thread Jose L. Hernandez
Hi, Can anybody show me the right way to get the world coordinates from mouse event while using the methods ortho or frutum to setup the view ? Perhaps nobody uses those methods ? How do you position the camera in the world exactly where you want, and pointing to what you want ? Please, help me

Re: [JAVA3D] documents com.utilities

2000-07-26 Thread Bobby Martin
If I understand what you're looking for, you can go to http://java.sun.com/products/java-media/3D/download.html and download the Java3D implementation documentation. This is the documentation for the com.sun.j3d.* classes. Does anyone know if the source for these utilities is freely available?

Re: [JAVA3D] documents com.utilities

2000-07-26 Thread Jeff Roberts
Hi, look in the jdk directory there's a jar source file there. Not all but most. rgds JR === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of the message "signoff JAVA3D-INTEREST". For general help,

Re: [JAVA3D] Failure to garbage collect scenegraph parts

2000-07-26 Thread Carl Smotricz
As I understand weak references (and that's not very well), then if the ONLY reference(s) to an object is/are WeakReference(s), then that object becomes more and more likely to be collected as memory space grows less. "Real Garbage" is collected first where possible, and if memory is still tight,

Re: [JAVA3D] documents com.utilities

2000-07-26 Thread Carl Smotricz
At 12:12 26.07.00 -0700, you wrote: >This is the documentation for the com.sun.j3d.* classes. > >Does anyone know if the source for these utilities is freely available? If >so, where can I find it, please? I have a file kicking around on my hard disk called "java3d-utils-src.jar", dated May 10,