[JAVA3D] one-point perspective

2000-01-17 Thread Janet Song
Hi All i'm trying to implement one-point perspective viewing.. means that only the z-axis of the object is intersecting the view plane. But i'm not sure how to go about it. The object is located at the origin(0,0,0) and i need to position the view plane (viewer) at a position where the the z-ax

[JAVA3D] distribution of Java 3D applications

2000-01-17 Thread Evan Drumwright
Hey All, My project is nearing the stage where I need to consider an easier form of distribution than manually copying all files, installing Java 3D, etc... Unfortunately, my application must load 3D data files, making the applet option more difficult. What is the preferred method of distributio

Re: [JAVA3D] java with vrml

2000-01-17 Thread chong zhang
Hi, Haroldo,   I am sorry I can not find such samples. But I think it is easy for you to program one using CosmosWorld Java package. Good luck   Chong Zhang  >   Hi> >   I wish that you send me samples of java3d with vrml. Is it possible (have> virtual worlds construct in vrml

Re: [JAVA3D] java with vrml

2000-01-17 Thread Juergen Neubauer
Hello Haraldo ! Here you can find a vrml-loader with examples: http://www.vrml.org/WorkingGroups/vrml-java3d/ (right now, the server seems to be down) And yes, it is possible to create vrml-models in Cosmoworlds and then import them into java3d. Sorry, do not know about the event identify th

Re: [JAVA3D] Running Java3D Apps in IE/Netscape...

2000-01-17 Thread Antonio Cortés
>Sivaram, > >In order to run applet in ie/netscape, you need to converted html >file using html converter and install JavaPlugin to netscape plugin >directory. Yes, it is correct for Windows platform, but for IRIX ? I have been testing the Java3D aplication in a Octane with Netscape and

Re: [JAVA3D] Stereo with Java3d

2000-01-17 Thread Zdenek Kabelac
> > So far we are using different way to create stereo image - we are using > > two Canvas3D with views for the left & right eye - > > this is working, but it has one big problem - we can't sychronize > > buffer swapping - as we would like to see synchronized buffers swapping. > > Now when the sce

Re: [JAVA3D] Compressed Geometry Problems

2000-01-17 Thread Zdenek Kabelac
> Hi folks, > > Third, the compression calculation is awfully slow. On my 233 MHZ PII > running under linux with jdk1.2.2-RC3 it takes approximately 3 minutes > for 30 IndexedTriangleArrays (each ~2000 triangles I guess) with > normals and per vertex colors. On a SGI octane with 300 MHZ R12000 > p

[JAVA3D] Java3D for visualization

2000-01-17 Thread Arne Halvorsen
Hi, We are considering using Java3D for visualization purposes. So fare we have relied on using iris explorer for our visualization need in our solutions. A common need is to visualize parameters on a surface which when it hit the visualization is composed of triangles with parameter values defin

[JAVA3D] Collision Detection

2000-01-17 Thread Dean Keeler
Hi All,   I am trying to write a collision detection routine.  I have followed the examples in the "Ready-to-Run Java 3D" book and also from mail archive from Tony Burrows.  I have been unable to get it to work.  Whenever I try to use the collision detection routine it hangs the process and

Re: [JAVA3D] getting shape from vrml and finding the points

2000-01-17 Thread Dean Keeler
How can I get Daniel Selmans tree object program to allow me to see what classes are in my VRML file? Thanks, Dean - Original Message - From: SUBSCRIBE JAVA3D-INTEREST Nazrul <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 12, 2000 2:34 PM Subject: Re: [JAVA3D] getti

Re: [JAVA3D] Compressed Geometry Problems

2000-01-17 Thread Ingo Brunberg
Hello Mark, thanks for your answer. >> I want to build a server application, that sends a set of >> IndexedTriangleArrays to an applet. To minimize the amount of data, I >> tried to use a compressed geometry build by the >> com.sun.j3d.utils.compression classes. But I faced a lot of problems

Re: [JAVA3D] Stereo with Java3d

2000-01-17 Thread jack gundrum
Thomas, No, the trick is the way the video card supports OpenGL. It was posted here that Java3D makes "standard" OpenGL calls. One card that supports OpenGL in this way is E&S AccelGalaxy and E&S Tornado(will see soon). We bought an AccelGalaxy and it worked fine except that there were some probl

[JAVA3D] visuel object disappear when rotated

2000-01-17 Thread Mohammed Akacem
Hi, I am loading a vrml file(only geometry)and visualising it. I used the MouseRotate,MouseTranslate and MouseZoom classes from com.sun.j3d package. my probleme is that the visuel object disappears and appears again when being rotated. the same is happening when I zoom the object. I am suspecting

[JAVA3D] Clipping Distance

2000-01-17 Thread Jay Scherer
I've got a textured image of the earth in a scene. I've also drawn the political boundaries on this map using a linestriparray. Problems arise when I zoom on the sphere. If I don't set the front clip distance, I start to get a black circle in the middle of the texture. However, I can set the f

Re: [JAVA3D] visuel object disappear when rotated

2000-01-17 Thread Matthew Cairns
Hi - i've been having the same problem - been using a modified version of the "jdk1.2/demo/java3d/ObjLoad" file - helps if you increase the value in the setScale() function in the following section - Transform3D t3d = new Transform3D(); t3d.setScale(2.7); objScale.setTransform(t3d); objRoo

Re: [JAVA3D] visuel object disappear when rotated

2000-01-17 Thread Daniel Selman
Mohammed, I guess it is probably a clipping plane issue rather than Bounds. Are your models very large or very close to the viewer? Try increasing the distance to the back clipping plane using View.setBackClipDistance. You may also have to change the front clipping plane - keep the ratio between

Re: [JAVA3D] using digital elevation models in j3d

2000-01-17 Thread Pete Tinker
I use NIMAMUSE (free at least to US citizens) to convert the DTED data to ArcInfo Binary format. The result has the non-geometry information stripped off, and it loads VERY quickly because it's binary. Read it in, compute normals, stripify it, add texture coordinates if you like, and you're done

Re: [JAVA3D] Clipping Distance

2000-01-17 Thread Daniel Selman
Jay, These are the "strange rendering results" that I just told Mohammed about. Because your front clipping plane is so near you have lost resolution in the Z buffer and Java 3D is not distinguishing properly between the back of your sphere and the front. Modify the distance to the back plane so

Re: [JAVA3D] getting shape from vrml and finding the points

2000-01-17 Thread Daniel Selman
Dean, Presumably this is related to your previous post! ;-) I have attached a modified version of SimpleVrml97Viewer (from the Java 3D VRML source) that not only integrates J3dTree but retrieves the name of a VRML object when you click on it with the mouse. The file was modified originally by J

Re: [JAVA3D] Collision Detection

2000-01-17 Thread Daniel Selman
Dean,   Set the collidable property on the Nodes you want Java 3D to check for collisions. Set the scheduling bounds on the Collision Behavior large enough to include all the Nodes. Add the collision behavior to the scenegraph. Set the Node.ENABLE_COLLISION_REPORTING capability.   I would

[JAVA3D] a little vecmath question...

2000-01-17 Thread Peter Lueders
hi, i have a little vecmath-question, i hope that nobody gets bored :-| if have a point in the space where the viewer is located... and i have another point in the space, to whom the viewer should look. how do i do this ? firstly i would make the difference between these point in a Vectorf-Object.

Re: [JAVA3D] Very slow on multiple panels

2000-01-17 Thread Daniel del Río
Try canvas.stopRenderer() when the canvas in not visible, and canvas.startRenderer() when the user selects a new Panel. bye.. Dani. Janet Song wrote: > Hi all > > i have done many panels with Canvas 3D on it in a CardLayout, each panel showing >different projections which i use a PopupMenu to

[JAVA3D]

2000-01-17 Thread Philipp Gerhold
I have just a simple question.     I am looking fpr javax.vecmath.* or javax.media.j3d.* or javax.accessibility or any other javax files.   Please tell me where to find them.  

Re: [JAVA3D] a little vecmath question...

2000-01-17 Thread Jimmy Talbot
> but how do i get the right rotation-values for the transform3D Object ? Transform3D has a lookAt() method that does this... Take a look at it and tell if this is what you meant... JImmy === To unsubscribe, send email to [

[JAVA3D] VRML-Anchors...

2000-01-17 Thread Sivaram Ghorakavi
Guys, Anybody know how to get the anchors (URL) specified on the VRML model Thanx Sivaram __ Do You Yahoo!? Talk to your friends online with Yahoo! Messenger. http://im.yahoo.com

Re: [JAVA3D] Java3D for visualization

2000-01-17 Thread Olivier fillon
I have not worked with these for a while but as i understand this, you only need to store as many color as needed, each vertice using an index to its color, I do not see any waste there...I repeat, i may be wrong : I have not touch this area for a while: The only waste I can seen till now is

Re: [JAVA3D]

2000-01-17 Thread Olivier fillon
I am looking fpr javax.vecmath.* or javax.media.j3d.* or javax.accessibility or any other javax files.   Please tell me where to find them.   You need to install j3d !!! see http://java.sun.com/products/java-media/3D/ these jars will be copied under your X:\jdk\jre\lib\e

Re: [JAVA3D] java 3d

2000-01-17 Thread The Casteels
I'm not sure what you're looking for. I have classes and source I've writen/translated. However they're on my work computer, I'm copying this to my work e-mail so I'll remember to forward what I have to you. The classes are specific to the applications I'm working on, and not documented very well

Re: [JAVA3D] Java3D for visualization

2000-01-17 Thread Mike Goldwater
Some comments: Sparsity:   Because colors are classes you can have multiple references to the same instance of a color in your color vertex array.   Data values I think you need to use the Pick series of classes (or extensions of them) to get values from your model. I shall be doing this s

Re: [JAVA3D] pure spheres

2000-01-17 Thread Terren
What I'm hoping for is that I'll be able to extend java3d in such a way so that I could create a new 'primitive' - a sphere, mathematically correct. I want to model a spherical mirror, and it would be completely obvious if it was just a triangle mesh, no matter how dense. I wish I had the time to

Re: [JAVA3D] pure spheres

2000-01-17 Thread Jimmy Talbot
Hi, > model a spherical mirror, and it would be completely obvious if it was just a > triangle mesh, no matter how dense. I wish I had the time to immerse myself in All video cards only handle triangles, so if you've ever seen a rendered sphere that looks perfect it was because it was dense eno

Re: [JAVA3D] pure spheres

2000-01-17 Thread Daniel Selman
Terren, No - in as much as Java 3D only ultimately renders triangles. I don't follow your reasoning that "it would be completely obvious if it was just a triangle mesh, no matter how dense", though. Theoretically the mesh could be so dense that adjacent vertices ended up being mapped to the same

Re: [JAVA3D] Very slow on multiple panels

2000-01-17 Thread Janet Song
Dani Thanks..:) bye -Original Message- From: Daniel del Río [SMTP:[EMAIL PROTECTED]] Sent: Tuesday, January 18, 2000 2:58 AM To: [EMAIL PROTECTED] Subject:Re: [JAVA3D] Very slow on multiple panels Try canvas.stopRenderer() when the canvas in not visible, and canvas.star

Re: [JAVA3D] pure spheres

2000-01-17 Thread repett0
I was wondering, you say the only way to make a perfect sphere is with a lot of trianlges. You are correct as far as having a curve being calculated. However there is some old game engines,.. and some new ones that are not based off of calculations at of trianlges. They use shifting colors that

Re: [JAVA3D] pure spheres

2000-01-17 Thread Jimmy Talbot
> that are not based off of calculations at of trianlges. They use shifting > colors that are predefined to give depth or apperance of an object. Of > course to make this more dynamic you would do trianlge and normal blah > blah blah calculations. Just reminding it can be done without it. Yup,