Re: [JAVA3D] x,y,z rotation and angles

2000-02-08 Thread G . Veith
Hi Clara, the problem is, that rtotation takes affect in the local coordinate system. For example you take a coordinate system with positive x to the right, pos. y up and pos. z coming out from the screen. Apply rotation counterclockwise around the y axis. Now, the z axis has the same direction a

[JAVA3D] distance of the viewer

2000-02-08 Thread Stefano Scarpanti
Hi all, I suppose there is a simple field to retrieve distance of the viewer from the universe. Which is? Can I modify it on the fly? Thanks === To unsubscribe, send email to [EMAIL PROTECTED] and include in the body of th

[JAVA3D] Ortho example?

2000-02-08 Thread Edgar Delgado Barbosa
I need some ortho view example. I'm trying to code something with ortho method, but with no success. Also found some kind of bug: an inconsistent transform matrix. Thanks Edgar === To unsubscribe, send email to [EMAIL PROTEC

[JAVA3D] flicker-Problem

2000-02-08 Thread Peter Lueders
hi, in a scene were shape3d-objects are transforming (by setGeometry(...)...) i have the problem, that sometimes the objects do fast-flicker. (my system: win98, jdk1-2-2, java3d-1.1.3, opengl) in another java3d-demo with sparks i saw also a sometimes flickering. when i start jav without jit (-Djav

Re: [JAVA3D] x,y,z rotation and angles

2000-02-08 Thread Clara Dinh
Thanks Dan. But, correct me if I'm wrong, doesn't Billboard only solve the problem of the label being backwards? After reading the API and other docs, I didn't think that Billboards had the capability to make sure an object was always right side up as well as facing the viewer. Thanks to Doug G.

Re: [JAVA3D] Ortho example?

2000-02-08 Thread Julian Scheid
Hi Edgar, I use the following code in my current app to project the XY plane orthogonally onto the viewport. void setupOrthoView(Canvas3D canvas) { // ortho-view parameters Point2d shift=new Point(0.,0.); // viewport shift along the X and Y axis Dimension size=new

Re: [JAVA3D] distance of the viewer

2000-02-08 Thread Julian Scheid
Hello Stefano, to find the distance between two points use double dist = pointA.distance(pointB); where "pointA" and "pointB" are Point3f's or Point3d's. Simply set A to the viewer position and B to whatever point in your universe you want to calculate the distance to. >> Can I modify

Re: [JAVA3D] Collision Detection - walking through walls.

2000-02-08 Thread HAroldo Pereira
Hi Daniel Send me the examples this yours "book implements collision detection" about collision between the geometry and outher geometry of the virtual scene. Where I can find examples about it. I read only the example "TickTockCollision" on /demo jdk 1.2.2. I wait your mail. []

Re: [JAVA3D] How to set up the terrain following in java 3d

2000-02-08 Thread Matthew Gahan
You are still not being very specific about what you wish to know Also this hardly seems like a J3D problem, more of a general graphics problem Perhaps if you tried to define the problem a little better (ie. with reference to stuctures and algorithms that you might be using) then you mig

Re: [JAVA3D] flicker-Problem

2000-02-08 Thread Julian Scheid
sounds like your app doesn't use double-buffering. however, even with double-buffering, Java3D may swap buffers while the monitor's raster beam is in the middle of the screen which also leads to a kind of "flickering" (i think this is called "split scanline problem"). But normally, if you use do

[JAVA3D] Bug or Feature?? --indexCount < vertexCount

2000-02-08 Thread Barry Walsh
Hello, I am rendering a shape3d ( ship hull ) with multiple geometries. The ship is divided into "slices", with each slice being an indexedQuadArray. In order to keep the number of points to a minimum and avoid duplication of points, I read the points into a single Point3f array and use it for a

Re: [JAVA3D] x,y,z rotation and angles

2000-02-08 Thread Dan Todor
Try a simple thing: put a Text3D at some x,y,z, attach a point-defined billboard at the shape with the point of rotation been set at the middle of the shape ( you might need to do some calculations here), and then attach the group of mouse behaviors to the parent transform group and start playing

Re: [JAVA3D] Multiple Views / Behaviors ??? - EXAMPLE

2000-02-08 Thread Decker, Scott D
I posted something about this about a month ago. Since all of your viewplatforms and views are part of the same scenegraph, when you use the mouseBehaviors from SUN, they will capture for that scenegraph. You will notice that in the Behaviors, they capture a AWTEvent. Well, since your moving your

[JAVA3D] ??? Two Locales and Behavior bug (sample code) ???

2000-02-08 Thread Heiko Gottschling
Hi, I'm facing a problem using two different Locales with different scenes. It seems like the position of the first Locale influences a behavior in the other one. In my sample program (see code below), I create a VirtualUniverse with two Locales, each with its own view. The MainFrame displays two

Re: [JAVA3D] behavior errors

2000-02-08 Thread Eric Reiss
If you are using a callback method, you need to test that the transformgroup you operate on in the callback method is not null. static class MyCallbackClass extends Object implements PickingCallback { public void transformChanged(int type, TransformGroup tg)

[JAVA3D] Bounding OBjects

2000-02-08 Thread Dean Keeler
Hi,   I am trying to figure out how the bounding object works.  I have two objects in my world.  Neither object is anywhere close to each other but when I get the bounds of each object and perform an intersection using the intersect method of a bounding object, it tells me that the objects'

[JAVA3D] Help

2000-02-08 Thread Pascal Miel
Hi,   I have a little problem whith Raster in java3d, it is very, very slow. My example contain about 100 Raster of 50x50 pixel to show label whereas in opengl this is very fast.   I try to code this example with textured triangle to show label, it is very fast. Why Raster is so slow ?  

[JAVA3D] Pauli exclusion principle for Spheres?

2000-02-08 Thread John Kasdan
When I use the utility class Sphere I find that I can only show one Sphere constructed with the default (void) constructor. Also, if I use an appearance object on which I have only set the material, I can only display one sphere of a given radius. But if I only set the coloring attribute, I can

Re: [JAVA3D] Multiple Views / Behaviors ??? - EXAMPLE - SOLVED

2000-02-08 Thread Edgar Delgado Barbosa
Thanks Scott , that's what I did. -Mensagem original- De: Decker, Scott D [mailto:[EMAIL PROTECTED]] Enviada:Terça-feira, 8 de Fevereiro de 2000 16:07 Para: [EMAIL PROTECTED] Assunto:Re: [JAVA3D] Multiple Views / Behaviors ??? - EXAMPLE I posted something about th

[JAVA3D] Disable the buffer clearing

2000-02-08 Thread Shawn Kendall
How can I disable the buffer clear that happens at the beginning of the vender frame in a Canvas3D? I have searched the list and read back and forward through the API, but no luck. Here's the scenario... I have a background in the scene that is a BranchGroup, i.e. geometry. I know the Backg

Re: [JAVA3D] flicker-Problem

2000-02-08 Thread Mark Hood
> Date: Tue, 8 Feb 2000 16:42:26 +0100 > From: Julian Scheid <[EMAIL PROTECTED]> > > BTW: Somebody knows a way to synchronize Java3D buffer swapping with the > monitor's vertical retrace? Or to put it another way: is there some way to > wait for the raster beam reaching a certain scan line

Re: [JAVA3D] MathEngine is " Windows only " : Y U C K !

2000-02-08 Thread Anselm Hook
Hmmm, I'll comment on the below message since I'm working away on various projects here at MathEngine including the OMG stuff.   First of all, Java3D is not intrinsically platform independent - you have to ask the vendor for a port to your platform.  Fundamentally it's no more nor less plat

Re: [JAVA3D] ??? Two Locales and Behavior bug (sample code) ???

2000-02-08 Thread Kelvin Chung
Hi, This is a bug that is fixed in the latest v1.2beta1 release. Please download the latest version and try again. Thanks. - Kelvin --- Java 3D Team Sun Microsystems >X-Accept-Language: en >MIME-Version: 1.0 >Content-Transfer-Encoding: 7bit >Date: Tue, 8 Feb 2000 17:14:10 +0100 >F

Re: [JAVA3D] Multiple Views / Behaviors ??? - EXAMPLE - SOLVED

2000-02-08 Thread Daniel del Río
Just another idea : - Create your own MouseBehavior to get acces to buttonPress and wakeUp variables. (the same code as MouseBehavior). This step is not necessary if your MouseXXXBehavior is in the package com.sun.j3d.utils.behaviors.mouse. - Overwrite processMouseEvent in your own MouseXXXBehav

Re: [JAVA3D] terrain following

2000-02-08 Thread Decker, Scott D
The simplest method I know of. you have a 2d array, say 10 by 10 in that array you hold height values. each cell is how far your avatar can move in a given turn when your avatar moves, then you get the data from that cell and affect the avatar's height. Okay, what I just want the avatar to move,

Re: [JAVA3D] flicker-Problem

2000-02-08 Thread Dan Petersen
> From: Julian Scheid <[EMAIL PROTECTED]> > Subject: Re: [JAVA3D] flicker-Problem > To: [EMAIL PROTECTED] > > sounds like your app doesn't use double-buffering. > > however, even with double-buffering, Java3D may swap buffers while the > monitor's raster beam is in the middle of the screen which a

Re: [JAVA3D] x,y,z rotation and angles

2000-02-08 Thread Doug Gehringer
> From: Clara Dinh <[EMAIL PROTECTED]> > correct me if I'm wrong, doesn't Billboard only solve the problem > of the label being backwards? After reading the API and other docs, I didn't > think > that Billboards had the capability to make sure an object was always right > side up as well as facing

[JAVA3D] Satellite Toolkit & J3d

2000-02-08 Thread Jay Scherer
Has anyone ever converted any images from SatelliteToolKit(STK) for use in Java3D. The files are saved with a .mdl extension. I assume that's proprietary to STK? Thanks, Jay === To unsubscribe, send email to [EMAIL PROTECT

[JAVA3D] Once again what are the best graphic cards for j3d??

2000-02-08 Thread Olivier fillon
Following the move to java3d1.2 our previous card 3D blaster annihilator seems not to work anymore. Anyone with similar problem?? Sadly, the card and app are installed oversea and i have no real way to do diagnostics Cheers olivier Olivier FillonMinestar Project [EMAIL PROTECTED] Mincom Limi

[JAVA3D] text2d and java3d1_2beta

2000-02-08 Thread Clara Dinh
Any ideas why Text2D objects that worked using java3D1.1.3 would suddenly become white retangles in java3D1_2beta? The entire application worked fine using 1.1.3 but when I loaded 1.2beta, the Text2D objects no longer worked correctly. The rotation and translation of the Text2D objects still worke

[JAVA3D] AxisAngle4d

2000-02-08 Thread Stefan Racz
Hi, Can somebody explain to me how does the AxisAngle4d class work? constructor ( x , y , z , angle ) : is (x,y,z) a normal vector? What does the angle mean ? Thanx ! === To unsubscribe, send email to [EMAIL PROTECTED] and

[JAVA3D]

2000-02-08 Thread Andrei Karii
index vrml-java3d

Re: [JAVA3D] Satellite Toolkit & J3d

2000-02-08 Thread Roger Gregory
Jay; I am only a beginner in the j3d world, but I know the image world fairly well. The only time I have seen a *.mdl file is with a product called Animation Master Roger Gregory === To unsubscribe, send email to [EMAIL PROT

Re: [JAVA3D] How to set up the terrain following in java 3d

2000-02-08 Thread Vladimir Olenin
Ahh, it was this what u meant... Well, i myself currently is looking 4 the ways to implements this. And guess the 'direct' way of catching the collisions between ground and the avatar (and change the position of the avatar in accordance with the results of this collision detection) would be quite

Re: [JAVA3D] distance of the viewer

2000-02-08 Thread Vladimir Olenin
What do u mean? The distance of a viewer from the _center_ of the universe? Then call > Node.getLocalToVworld > > public final void getLocalToVworld(Transform3D t) > > Retrieves the local coordinates to virtual world coordinates > transform for this node in the scene graph. This is the composite