Thanks a lot
I will try this. I have read that i can "explode"
my objects to similar objects and then put the textures on them. But is Java3D
drawing the object without some disappeared lines between the exploded objects?
If this is false i will try this. Does someone know that?
Greetz Ma
> -Original Message-
> From: Nikolai V. Chr. [mailto:nikolai@;IFAD.DK]
> Sent: Dienstag, 22. Oktober 2002 15:10
> To: [EMAIL PROTECTED]
> Subject: [JAVA3D] Is this a bug in Java3D?
>
>
> I have a scenegraph. Somewhere in it I have a transformgroup which is
> live. Is has a child which is a
Hiho
I need to have more windows with a canvas3d. And
so i try to solve the problems we have
with canvas3d in internal frames.
My idea of it is to make a print to a
BufferedImage every time i deselect an internal frame. Then i do
canvas3D.setVisible(false) and image.setVisible(true). Did thi
Hi,
Iam using RotationInterpolator for spinning a object with alpha value -1
(so that it spins continiously). The spinning is controlled by a spin check
box.
The problem is if , i check the spin check box, the initial position of
object changes (rotates by some angle) and starts spinning , inst
Hi, all.
When I call view.setScreenScale(), I often got two kind of exeption as follows.
It seems to be easy to cause when a heavy calculation like restructuring of geometry
is being carried out.
I'm very much in trouble.
Please tell me the way of avoiding these exception.
java.lang.NullPoint
Hi Fernando,
I think what you need is a different TransformGroup for each object.
Try to have a look at "PickTest.java" example.
It resides in your JDK directory in the demo/java3d folder.
hth
andreas
Fernando Cesar Balbino wrote:
Hello, friends.
I'd like to ask you some help about the cod
Hi all,
I have two small questions about
picking:
1) I created my own classes for picking. The below
lines create a ray and select object/s from the scene:
//BranchGroup objRoot
PickRay ray = createPickRay(canvas, x,
y);
SceneGraphPath[] path =
objRoot.pickAll(ray);
private P
Schäfer, Peter wrote:
I have a scenegraph. Somewhere in it I have a transformgroup which is
live. Is has a child which is a branchgroup and is NOT live (did a
isLive() and a getParent().isLive() to check).
I was under the impression that anything added to a live node will
become live itself.
Thanks, Andreas!
[]'s
Fernando
> -- Mensagem original ---
>
> De : Discussion list for Java 3D API
> Para: [EMAIL PROTECTED]
> Cc :
> Data: Thu, 24 Oct 2002 10:16:25 +0200
> Assunto : Re: [JAVA3D] Problems with objects movement
>
> Hi Fernando,
>
> I think what
This makes sense, but I don't think my problem has anything to do with how the
geometry is sorted. My problem is that the text is not fully transparent when under
the OrderedGroup. It sometimes occludes the text behind it as you can see in the
example I posted in the other email. I would think e
Hi Alex,
Try the attached code and see if that is what you
are looking for. The code is within init(), but
you could improve it by creating a self-contained
JPanel as a subclass of JPanel that will add the
text or events or both, then add it to a part of
the layout of the Container (in this case
Hi,
The setCullFace() method of PolygonAttributes has no effect on a LineArray although
coordinates and normals are set.
If I use a QuadArray with the same coordinates and normals as for the LineArray then
setCullFace works fine. (I use PolygonAttributes.CULL_BACK)
Does anyone know why it has no
LineArray isn't polygons?
Can use LineAttributes to effect it, but that doesn't have CULL setting.
Need to check the Spec for PolygonAttributes, LineArray and Shape3d.
There might be a magic option somewhere or it could be one of these cases where you
have to overlay a couple of objects to
Hi
Well a line can have an infinite number of normals that's why
--
Explore SRT with the help of Java3D
(http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski)
(http://www.antiflash.net/java3d/relativity (mirror)
==
Hi,
I know that a line can have an infinite number of normals but as long as I set a
spesific normal
I thought that java would disregard the others.
(I would like that only one side of the line should be visible. When I rotate the line
it should become invisible).
Elisabeth.
-Original Mess
>From the docs:
"The PolygonAttributes object defines attributes for rendering polygon
primitives. Polygon primitives include triangles, triangle strips, triangle
fans, and quads." Lines are not included in the list.
BTW, a line doesn't have "sides", does it ?
Cheers,
Florin
-Ursprüngliche
Hi
> BTW, a line doesn't have "sides", does it ?
No it can't because it has an inifinite number of normals which I already
said before
EOF,
J.D.
--
Explore SRT with the help of Java3D
(http://wwwvis.informatik.uni-stuttgart.de/relativity/minkowski)
(http://www.antiflash.net/java3d/relativity (
Hello fellow java3d programmers.
Elisabeth,
If you could use a TriangleArray rather than a LineArray the following
works:
PolygonAttributes pa = new PolygonAttributes();
pa.setPolygonMode(pa.POLYGON_LINE);
pa.setCullFace(pa.CULL_BACK);
objectAppearance.setPolygonA
Elisabeth Thorsen wrote:
Hi,
The setCullFace() method of PolygonAttributes has no effect on a
LineArray although coordinates and normals are set.
If I use a QuadArray with the same coordinates and normals as for the
LineArray then setCullFace works fine. (I use PolygonAttributes.CULL_BACK)
Cul
>On Thu, 24 Oct 2002 08:37:16 -0400, Roy Duffy <[EMAIL PROTECTED]> wrote:
>This makes sense, but I don't think my problem has anything to do with how the
>geometry is sorted. My problem is that the text is not fully transparent when under
>the OrderedGroup. It sometimes occludes the text behind
Hi Roy,
Looked at your code. Removed the OrderedGroup doing this:
// ordGroup.addChild(textRoot);
// objRoot.addChild(ordGroup);
objRoot.addChild(textRoot);
The effect now appears to be correct. This probably has something to
do with the way the depth buffer is set in either th
The first question has been discussed here recently, check the archives to see if
there's some answers.
For the second, check the class of the node and cast it back to it's original, then
just do the get/set appearance commands. Make sure you set the write capabilities of
the appearance *BEFORE
Dear members,
I created my class from which I can pick objects by single mouse clicks.
1) Now how can I improve my code so that I could select many objects with
the windows created by mouse. Like I click a point on the canvas, open a
window and select the objects inside this window. Is this possi
Hi,
I created a couple of TriangleStripArray objects and added
them into the java3d scene graph. The rendering is ok. But
whatever appearance I tried, they looked transparent! I don't
want them transparent. Somebody can tell me how to handle this.
Appreciate your help.
Mingtian Ni
The code I used
For animating VRML ... the old Sun VRML Loaders often WORK
... on files where the 'new' Xj3d VRML Loaders fail ...
people should know know the facts
and
use what's best for their appliction.
+--- Xj3D VRML Loaders Status ---
|__
25 matches
Mail list logo