hi guys,
has anyone of you encountered this situation when using immediate
mode rendering:
I used the MixedImmediateFront.java sent a few weeks ago by Kelvin,
from Sun. I tried to run it... well, it looks very very fine. but the minute
i move the application frame, so that, say a p
Title: RE: [JAVA3D]
>Can somebody tell me how to find out the center of
>gravity of primitives in Java 3D API like cone,
>cylinder, sphere etc. I should be able to get the
>center of gravity of primitives at any point on the
>screen i.e if I have moved primitive from one place to
>another, I s
Excuse me if I wasnt clear but I hope this explains:
I draw several nodes with PointArray() class and structural elements with
LineArray() class, I want that when the mouse is moving around any part of the line
or point elements it identifies the corresponding coordinates, for this Ive
assigned
Corysia,
You could just compute the angle to the object that is being labelled
and translate your text (whatever kind of object you want to put it on)
a set distance in that direction (of course it would obscure anything
behind it).
- John Wright
Starfire Research
Corysia Taware wrote:
>
> I'm
Carlos,
You need to set the capability bits for picking by geometry on your
Shape3Ds. Like:
PickTool.setCapabilities(myShape, PickTool.INTERSECT_COORD);
- John Wright
Starfire Research
Carlos Fernando Ariza Moreno wrote:
>
> Thanks to Anand for the previous answer.
>
> I´m completing the qu
Hi all!
Can somebody tell me how to find out the center of
gravity of primitives in Java 3D API like cone,
cylinder, sphere etc. I should be able to get the
center of gravity of primitives at any point on the
screen i.e if I have moved primitive from one place to
another, I should be able to get
The DirectX 7 API does not support wide lines or point sizes. From
the Java 3D README for DirectX:
Unsupported Features
The following features are currently unsupported in the Direct3D
implementation of Java 3D:
Line width
Line antialiasing
Point size
Oliver,
This is because Java 3D does not sort transparent objects based on
transparency. That should be coming in Java 3D 1.3. If you search the
archives for transparency issues you will see many posts on this problem.
Sincerely,
Daniel Selman
-Original Message-
From: Discussion list f
Corysia,
I think Raster is probably what you are looking for. It has a 3D position
but it not rescaled and the image for the Raster is always just drawn into
the scene at its 3D position.
Sincerely,
Daniel Selman
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL P
Question for the Sun folks ( and anyone who knows the internals) .
We have coords, colors, texcoords and normals in a piece of geometry which
we want to update often, but not always every frame:
1. If we use a geometry updator and use the set() methods on non-ref
geometry, but only update the no
I'm looking to find a way of displaying the name of an object.
OrientedShape3D looks almost like what I'm looking for, but not quite. I
don't want the text to diminish into the distance as the camera moves away
from the object. Most of my objects (planets) will reach such extreme
distances that
Thanks to Anand for the previous answer.
I´m completing the question.
I want whit the mouse identify the coordinate of the element (LineArray) assign as
the IntersectTest.java example whit pickCanvas.setMode(PickCanvas.BOUNDS).
But:
Exception occurred during Behavior execution:
java.lang.NullPoin
Christian,
Just construct and treat an OrientedShape3D like you would any other
Shape3D. You can use a TransformGroup to place it anywhere in your
scene that you want. Then as you move your view around the
OrientedShape3D will automatically rotate to always face your view.
- John Wright
Starfi
THere is nothing special to do to make a OrientedShape3D object always
face the viewer. This magic happens at runtime.
So you create an OrientedShape3D and add the geometry(ies) and
appearance
as needed. Take a look at the example that comes with the JDK.
There is a detailed discussion and exa
Hi!
Could you be so kind and help me out with a peace of code? I have found the
orientedShape3D in the API-doc, but I am not quite sure about how to use it.
What point have I do give the contructor to make it be oriented to the
camera? I am far to new to Java3D...
I ordered myself a book about a
Hi
You should get the TransformGroup which is above your geometry in
the scene graph. I think you can do this by registering a
PickingCallback with setupCallback in the PickTranslateBehavior.
PickingCallback forces you to implement transformChanged, which is
called whenever a change in the observ
I will put up some code this weekend that will translate height fields into a triangle
strip array
(with texture coords) if that helps. The strip array generation part is crude but
works and I will
be doing more on it later (re-writing for efficiency, quad and binary tree LODs, ..).
There is al
Thomas Brown wrote:
> A 2-dimensional rectangular matrix should be transformed into a
> 3-dimensional visualization of the matrix. The values at each position
> should represent the height of the actual point. (The program should
> work like the 'matrixplot' in Maple. )
Well, you'll probably hav
Are you sure that is a Java3D bug? It does not appear to be, not unless the
class in question is Java3D related.
I think you need to give more information about what you are doing, if you
want help.
Leyland Needham
===
To u
Title: Coordinate Tracking
Hi All,
I used an applet to draw many primitivies using the SetCoordinate method. Now when the user translates the individual object by Picking, How do I get the X,Y,Z coordinates of the newly translated object so that the objects do not go to their original place
Hi
I asked this question a couple of weeks ago. If there was no answer
because this is a well-known problem without a solution, sorry, but
I am not sure if this a zBuffer Problem or anything else.
The combination Text2D (in a seperate Branchgroup) in front of or
behind a transparent geometry beh
Hi Jean
> By planar mapping effect, do you mean that you'll see where the polygons of
> the sphere intersect w/ the plane? If so, you could probably get around that
> by translating the plane in -z by a bit before attaching it to the
No I rather mean that it's only a 2D structure not 3D. So you d
Hello,
I'm quite new to Java3D and I just want to implement following task.
Perhaps somebody else has already done this and could send me some
code examples or can tell me with which J3D classes and how I can
manage this:
A 2-dimensional rectangular matrix should be transformed into a
3-
I've seen a similar effect: things 5 pixel wide/thick under OpenGL appeared
1 pixel w/t under DX.
-Original Message-
From: Thomas [mailto:[EMAIL PROTECTED]]
Sent: 22 June 2001 14:55
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Display bug ?
Hi,
I've been encountering some weird display beh
Hi!
I am a fan of BattleTech. I am playing in a MechWarrior4 League and I want
to finish a (fictional) star map of the systems of the IS (InnerSphere). I
want to be able to highlight two systems and recon a route of jumppoints
between those (this part works already). Now I want to create kind of
25 matches
Mail list logo