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
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
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
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
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.
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
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
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.
[]
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
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
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
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
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
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
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)
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'
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 ?
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
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
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
> 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
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
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
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
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,
> 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
> 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
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
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
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
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
index vrml-java3d
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
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
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
35 matches
Mail list logo