Nagehan,
OrbitBehavior doesn't rotate the coordinate system but moves the
view platform around your origin. The simplest thing you may try
is to pass a flag to the OrbitBehavior constructor, something like:
OrbitBehavior orb=new OrbitBehavior(yourcanvas,orb.REVERSE_ALL);
or, instead of using an
Henu,
In my opinion, the best you could do is to attach the the obj geometry
to two different (and separated) TransformGroups.
Dirk
- Original Message -
From: "Madeti, Henu S. (UMR-Student)" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, September 23, 2003 10:39 PM
Subject: [
Hi,
I had create a simple application in wich I load an
sphere from a 3DS file, in the same application y create a triangle of the same
size with this code:
Shape3D shape = new
Shape3D(); TriangleStripArray geometry = new
TriangleStripArray(4,
TriangleStripArray.COORDINATES,
Try adding this piece of code to your code:
BoundingSphere bounds = new BoundingSphere();
bounds.setRadius(Double.POSITIVE_INFINITY);
Light light = new AmbientLight(true, new Color3f(Color.WHITE));
light.setInfluencingBounds(bounds);
objRoot.addChild(light);
light = new DirectionalLi
It doesn't work. Thanks anyway.
Boby
- Original Message -
From: "Dietrich, Harald" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, September 24, 2003 10:39 AM
Subject: [JAVA3D] AW: [JAVA3D] Confused with the appearance
Try adding this piece of code to your code:
BoundingS
bizarre machines in transparent 3d bubbles sounds
like :
www.jpitten.btinternet.co.uk
You can track down any old posting by visiting
http://archives.java.sun.com/archives/index.html
- Original Message -
From:
Silvère Martin-Michiellot
To: [EMAIL PROTECTED]
Sen
You need to add normals to your triangle if you
want to light it.
David Yazelhttp://www.magicosm.nethttp://xith3d.dev.java.net/"No matter
how complicated it looks, in the end it is just a bunch of triangles"
- Original Message -
From:
Robert Gomez-Reino
To: [EMAIL PROTECT
At 11:07 24/09/2003 +0100, you wrote:
bizarre
machines in transparent 3d bubbles sounds like :
www.jpitten.btinternet.co.uk
This is what I searched. Thanks.
You can
track down any old posting by visiting
http://archives.java.sun.com/archives/index.html
I did that for hours but didn't manage
Doh! Now its working, thanks all.
- Original Message -
From:
David Yazel
To: [EMAIL PROTECTED]
Sent: Wednesday, September 24, 2003 2:01
PM
Subject: Re: [JAVA3D] AW: [JAVA3D]
Confused with the appearance
You need to add normals to your triangle if you
w
Thanks for your help,Dirk, but this is not the problem, I think.
I used MouseRotate behavior,but it doesn't solve the problem. The problem is
that: after I use OrbitBehavior or MouseRotate behavior class, and then use
PickRotateBehavior, PickTranslateBehavior or PickZoomBehavior classes, the
shap
Hello,
how I can generate a Shape3D object which contains a Text2D with more than one
lines of words? Thanks a lot.
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAV
I think you have to implement this functionality yourself. The TextTexture-
class ( http://www.3d-chat.com/doc/com/vwp/j3d/utils/image/TextTexture.html
) does something similar, you could have a look at it ( http://www.3d-
chat.com/dev.html )
Le Wed, 24 Sep 2003 11:29:33 -0300, Cassia Trojahn dos S
John asked a similar question, I copied his message and the answer below.
Only Daniel Selman sent an answer. I want to ask a question, could anyone
tell me, is it a bug for PickTranslateBehavior?Am I write a new
"PickTranslateBehavior" class like Selman did?
nagehan
///
Maybe, Nagehan, a solution can be something I did before
with those kind of problems: I just copied the particular
Behavior from the java3d-utils-src.jar file and changed it
internally myself. I stripped out everything I didn't need,
changed some direction values from + to -, and ended up
with a gr
You need to temporarily move the shape back to the origin prior to
performing any rotation. Once it's rotated, then you can move it back.
Chris Veal
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of nagehan pala
Sent: Wednesday, September 24, 20
Is there any way to add a text to each
object so that you can identify them. The way that I am using is this
one:
Text3D miText3D.
shape3D miShape = new Shape3D();
miShape.addGeometry(miText3D);
but the problem is that the Font is very big and my
objects are quite small!!
How can I s
I guess you can have a kind of control over specular
level by (re)setting the specular color:
Go to gray/black color to have low specular
results,and go to light color to have high specular
levels.
Example:
low -> RGB(10,20,40);
mid -> RGB(30,60,120);
high ->RGB(64,128,255);
But the final resul
Mike,
I'm able to workaround this bug with your test program by reusing
the ColoringAttributes object.
Will such workaround works for your apps. ? It much safer and efficient
to reuse objects in Java 3D.
thanks,
Chien Yang
Java 3D, Sun Microsystems Inc.
diff TransparencyTest.java Backup/Tr
You need an separate Transform3D and TransformGroup for the text. Using
this one you can scale the Text3D to a better size.
Le Wed, 24 Sep 2003 18:36:30 +0200, Robert Gomez-Reino a écrit:
Is there any way to add a text to each object so that you can identify
them. The way that I am using is this o
Robert,
Also note that in Text3D the point size of the font is the number of meters
tall each letter is. So a 10-point font extrudes letters 10 meters tall.
-Allan Ash
Software Arts, Inc. - the Information Visualization Company
www.infoviz.biz
- Original Message -
From: Michael Pfeiffer
I just want to start using J3D , I have downloaded
and installed J3D , I have Installed Directx 9,In Eclipse IDE I added a new
JAVA project with classpath that includes references to the JRE 1.4.1_02
and j3d 1.3 jars.
I cannot run any J3d Demo app (HelloUniverse
for eample) as I immediate
I think the error message tells you exactly whats wrong: You constructed
the Canvas3D using null as parameter instead a valid GraphicsConfiguration.
On Thu, 25 Sep 2003 04:20:46 +0200, ilan kaiser <[EMAIL PROTECTED]>
wrote:
I just want to start using J3D , I have downloaded and installed J3D , I
ha
22 matches
Mail list logo