Hi Zhu,
How to set the normals of IndexedGeometry ?
You can use com.sun.j3d.utils.geometry.NormalGenerator
But then you have to build the geometry with GeometryInfo.
GeometryInfo gi = new GeometryInfo(GeometryInfo.TRIANGLE_ARRAY) ;
gi.setCoordinates(coordinates);
gi.setCoordinateIndices(indices
Hi Mona,
Before answering your question, could you say that you want to rotate your object
itself, or do you want to
rotate the camera around the object? Or Both?
David.
Mona Wong wrote:
> Hi:
>
> I'm a beginning Java 3D programmer. I've got my scene built and can
> view it in my windo
Hello all,
Can I add and show another
different object to canvas3d at runtime ?
Thanks
Tiza
Folks,
I was trawling through the bowels of j3d.org last night and came across
a link to a j3d class heirarchy diagram from Ross Finlayson. The problem
is that the image is
a) old (probably v1.0)
b) corrupted
I'd like to get the thing updated to the current 1.2 specification and
also show it in
Hello Naoufel,
look at
http://www.vrml.org/WorkingGroups/vrml-java3d/
and then
http://www.vrml.org/WorkingGroups/vrml-java3d/downloads/0.90/README
and the examples / sources:
http://www.web3d.org/WorkingGroups/vrml-java3d/downloads/0.90/vj3d0.90.2.src.zip
hopethishelps
-Juergen.
Naoufel Wer
Hi,
I would like to known if anybody have experience this problem: when I create a
canvas3d with the GraphicsConfiguration,
GraphicsEnvironment ge =
GraphicsEnvironment.getLocalGraphicsEnvironment();
GraphicsDevice gd = ge.getDefaultScreenDevice();
Wouldn't this be a good Java3D project. A J3D applet or application which
extends the javadoc app to generate a full recursive 3D map when any JAR is
passed into it.
The 3D map could provide links to HTML javadoc type pages when a class is
clicked on.
Seems the guys at sun might support this, wh
Thanks, this helped tremendously. There are lots of specs at this site. I
would vote that a link to this page be pointed to on the LoaderArchive
page...
Thanks again...
Lee
-Original Message-
From: Maelvon [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, May 23, 2000 2:58 PM
To: [EMAIL PROTE
Hi, François
> I would like to known if anybody have experience this problem:
> when I create a canvas3d with the GraphicsConfiguration,
Humm... yes... I used the same wrong approach...
> GraphicsEnvironment ge =
> GraphicsEnvironment.getLocalGraphicsEnvironment();
> GraphicsDevice gd = ge.ge
I am trying to generate normals for a polygon I have created, yet I am getting an
error at the 'generateNormals()' line.
The code is shown below, and works fine to create and display the object, it's just
when I try and generate the normals I get a problem.
Exception in thread "main" java.l
OK, forget that last one
I forgot to set the stripCounts for the GeometryInfo... doh!
<>
David McCafferty.vcf
hi,
i was wondering if there was any way of
AntiAliasing Polygons in Java3D? looks like Point and Line Anti Aliasing
is a pretty straight forward process (with PointAttribute and LineAttribute) but
PolygonAttribute doesn't have a AntiAliasing capability bit...
thanks.
jack
[EMAIL PROTE
You sure can.
Look at the code in the message Subject: [JAVA3D]
PickIntersection class problem 4/18/00
Shapes were added at runtime to the scene graph.
Nick
Tiza Iskandar wrote:
Hello
all,
Can I add and show another different object to canvas3d at runtime ? ThanksTiza
I have a class that extends Canvas3D and overrides the
public void renderField(int i) method. In the overriding
implementation, there is some immediate mode rendering
logic. The code works fine in Java3D 1.1.2 and lower,
but in 1.1.3 and 1.2 the code somehow creates a cycle
resulting in an infin
Hi Mona,
There is some code which implements the method for rotation
around an arbitrary point.
Using arbitraryTransform method you can rotate object itself or rotate the
camera around the object.
I hope it will help.
Nick
Mona Wong wrote:
> Hi:
>
> I'm a beginning Java 3D programmer.
Hello everyone,
I need to know how to develop terrains in Java3d and/or how to import
terrains developed in other formats into my application. Could you please
point me to any application or websites that uses terrains in java3d. Any
help would be gladly appreiated. Thanks ahead of time.
===
I'm having a problem with the behaviors that use the WakeupOnElapsedTime
criteria. They start off running fine, but if I merely
behavior.setEnable(false) and then behavior.setEnable(true) later on, the
behavior is never woken up again. Am I doing something wrong?
Here's some sample code. The t
Can anybody tell me about the compatibility between java 3D and
this cards :
** (NVidia) Riva TNT2
** (ATI) XPERT 2000 PRO
** (ATI) RAGE FURY PRO
** (ATI) RAGE FURY 32MB TV-Out
Thanks in advance
===
To unsubscribe, sen
Hi,
This is a bug v1.2 (ID 4340882). Currently v1.2
rely user to invoke wakeupOn() in processStimulus()
to add back wakeupOnElapsedTime condition after
it is expired. If the wakeupOnElapsedTime condition
expires and processStimulus() can't invoke in
case behavior is disabled, the condition wil
Well I have been playing around with MultiTexturing all day and have
found several
interesting problems. Here are my conclusions:
My initial test system was a PIII with a GeForce card from NVIDIA. I
modified the
MultiTextureTest app that comes with the java3d distribution to include
the sourc
Augustin Gjini wrote:
>
> Can anybody tell me about the compatibility between java 3D and
> this cards :
>
> ** (NVidia) Riva TNT2
> ** (ATI) XPERT 2000 PRO
> ** (ATI) RAGE FURY PRO
> ** (ATI) RAGE FURY 32MB TV-Out
>
> Thanks in advance
>
>
Hello,
I have a problem that
i think is quite interesting but for which i still haven´t come up
with an answer:
In my application i have a
couple of "hand-maid" polygons (built using for instances,
IndexedQuadArrays...) and for each of these polygons i have built a border using
an
Hi:
I´m trying to scale one objet. My problem is when i´m doing that, somethimes
it rotate the objet. Anybody knows what's happening?
public Transform3D zoom(double dx, double dy, Transform3D xT3D)
{
currXform = xT3D;
Vector3f v = new Vector3f();
currXform.get(v); // get Translation
Please, Send me this e-mail below again because i dont recieve correctly.
[]s
>From: Nikolay Lvov <[EMAIL PROTECTED]>
>Reply-To: Discussion list for Java 3D API <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: Re: [JAVA3D] adding object at runtime
>Date: Wed, 24 May 2000 11:00:25 -0700
>
>Y
Hi,
We have a scene consisting of a single TriangleArray object with lots of
triangles (upwards of 50,000) and a couple of other simple Geometry objects.
We believe we are running into graphics hardware performance limitations -
moving the objects around is slow, something like 2 - 3fps, running
25 matches
Mail list logo