I still don't get it. How to set everything up to render a stereo scene?
For example, how to do it with red/green glasses? (Seems cheapest way to do
it.)
Sounds like setStereo is for shutter glasses.
For red/green glasses, do I setup two view platforms for the same Canvas3D?
Or do I have one vi
Can anyone point me
to documentation on how to setup Java 3D to use stereo? (Windows
operating system. NVIDIA GeForce2 Go graphics card.)
I don't understand
what the Java 3D code (capability bits, parameters) should be, nor what options
on the javaw command should be.
I also do not
un
Yes, but *usage* is not the issue. *Support*, updates, implamentation of
new features and onto more platforms is this issue.
Cheers,
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of Michael Pfeiffer
Sent: Tuesday, February 24, 2004 4:3
Would a LOD (Level of Detail) strategy work for you?
Cheers,
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of Robert Gomez-Reino
Garrido
Sent: Friday, December 12, 2003 11:22 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Strategies drawing
I thought xith sat on top of jogl. So if jogl has limitations, so will
xith. No?
Cheers,
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of Jeremy Booth
Sent: Tuesday, November 25, 2003 3:13 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D
For me, the quality of Java 3D image has always been less than I would like.
I understand that it is not a ray tracing kind of renderer. For some
reason, setting the antialias parameter doesn't seem to help. Edges of
lines and cylinders, and planes are always too ruff.
I wish someone had a scene
"serialize"-ation stinks during development. If you make a change to a
class then everything you have serialized can not be (easily) read back in.
Cheers,
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED] Behalf Of Christian Britton
Sent: Monday,
If you wish to make one Shape3D invisible, I suggest you use a Switch node rather than
changing the Appearance. I assume you are setting the transparency attributes to make
it invisible. I have had all kinds of problems with transparency, so I would not
suggest using it to make objects invisib
When I started with Java 3D a few years ago (3 years?) I was looking for
something that I could develop a polyhedra
visualization/manipulation/animation/interaction system with which 1) was
"automatically" cross platform, 2) runable from the web as well as an
application, 3) would have stereo capab
But is there *any* reason to think that this is going to go into Java 3D?
Rather, I thought we have received word that the Java 3D team was
significantly reduced. This suggests to me that this openGL binding will be
a separate add-on package to Java rather than integrated into Java 3D.
Cheers,
Bo
I've put a canvas3d in a JPanel. I divide the JPanel into different areas
and the canvas3d is in one of the areas and all my buttons are in another.
So the buttons, etc. are not in the canvas3d.
Cheers,
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROT
Be aware that Java 3D has nothing written for polyhedron or other shape
manipulation. That is, there is no "compute the shape resulting from the
intersection of 2 shapes", etc. You will have to write all the shape
manipulation yourself.
Also, I find that transparencies still give me a head ace.
I put java 1.3.1-02 and java 3d 1.3Beta2 onto my friend's PC (Windows 98).
Installed O.K. (Wow! That was easy!)
Ran Java 3D demos O.K.
Then I took an application I developed on my Windows 2000 PC (same Java and
Java 3D versions) and copied it to my friend's PC.
When I run it with
javaw -jar theA
, theta) grid on which you
>can perform a triangulation.
>
>If you know some more info about the points, like the order of them, you
>should try to use that.
>
>Cheers,
>
>Florin
>
>-Ursprüngliche Nachricht-
>Von: RWGRAY [mailto:[EMAIL PROTECTED]
>Gesendet
Is there a class/method/utility which will take an array of polyhedron
vertex coordinates and return a TriangularArray for the polyhedron?
For example, I have the coordinates for an Icosahedron, but no other
information. Is there a utility I can call with these coordinates to get
back a TriangleA
not under
DirectX. Are you using DirectX?
H.
- Original Message -
From:
RWGRAY
To: [EMAIL PROTECTED]
Sent: Monday, March 03, 2003 1:24
PM
Subject: Re: [JAVA3D] anti
aliasing
I've turn
on anti-aliasing in an attempt t
Doesn't this assume you are not interested in *any* kind of transparency or
rendering order? I thought in order to get the correct depth in
transparency rendering order you *had* to use a transform group to position
the geometry. Otherwise, Java3D assumes all the geometry is at (0,0,0) and
will n
Title: GeometryUpdater
Do you
need to detach/reattach to update the geometry? Can you not update/change
the TriangleArray coordinates and normals without detaching the Shape3D from the
scene graph? I don't think you need to detach.
Cheers,
Bob
Gray
-Original Message-From:
I define my own sphere using TriangleArray. And I use a LineArray to define
a spiral on the surface of the sphere (actually, at a slightly larger radius
so its just off the surface of the sphere.) Both sphere and spiral are
centered on the origin.
I then define the sphere's appearance to have a t
I am trying to wrap a texture around a Shape3d object.
I coded:
---
// Set up the texture map
TextureLoader tex = new TextureLoader(texImage, this);
app.setTexture(tex.getTexture());
TextureAttributes texAttr = new TextureAttributes();
texAttr.setTextureMode(TextureAttributes.
Does anyone have a code example of wrapping the world map texture image used
in the demo/java3d/ConicWorld around a non-primitive cube or other
non-primitive geometry?
Thanks,
Bob Gray
===
To unsubscribe, send email to [EMAI
I am trying to figure out how to apply a texture map to various polyhedra
which I define (i.e. not using built in primatives) like the tetrahedron,
octahedron, cube, icosahedron, etc.
I want to use the earth.jpg texture (Earth image) used by the Java Demo
ConicWorld.
I can't figure out how to def
Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Kelvin Chung
Sent: Monday, December 16, 2002 2:33 PM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Link or Switch Bug?
RWGRAY wrote:
>I have a live scene as follows: BG1 -> BG2 -> Switch
I have a live scene as follows: BG1 -> BG2 -> Switch
and I have a SharedGroup defined.
I detach BG2 from BG1: BG2.detach();
and then I add a Link to the Switch: Switch.addChild(aLink);
and then reattach BG2 to BG1: BG1.addChild(BG2);
I get the following error on the "BG1.addChild(BG2);" code:
I do this all the
time. I use detach() to detach the BG from the live scene, then I
add whatever I want, not just other BGs and then reattech the orginal BG using
addChild().
But I do not
"compile" any of the scene graph.
Note that the Java 3D
documentation for "addChild()" says an
O.K., I 've figured it
out. AmbientLight color combines with the Ambient color of the material to
give a color to the object. I was under the (wrong) impression that
it also combined with the Diffuse color of the material. So its working as
it should.
Cheers,
Bob
Gray
-Original
I am having trouble finding
the cause of a problem with AmbientLight.
The problem is that I have
a couple of spheres in the scene (and some lines) and the spheres are
black. (Lines are white, but I used ColoringAttributes to color the
lines, not Material.)
When I add a PointLight to
Its a very old "problem" I've had for years with Java3d.
As far as I can tell, if you want transparency to work "correctly" for, say,
a sphere defined by (pick a number) 180 triangles, then you need 180
*different* Shape3d's, one for each triangle. Define each of the 180
triangle's with its face
Does anyone have a Scenegraph editor for Java 3D. I am looking for
something that will show the scenegraph as a tree structure and allow
additions, deletions, insertions, of BranchGroups, Switchs, Links and
SharedGroups, TransformGroups, etc. When clicking on a TransformGroup
node, for example,
Hi,
I recommend (for clarity, not necassarily for speed) that you define 2
transform groups: 1) for rotating the object, 2) for translating the object.
For example:
TG_Translate -> TG_Rotate -> Geometry(centered at (0,0,0))
In the case case you describe, I would actually set up 3 TransformGroup
I have not used setVisible().
The Switch node approach I use all the time. It mostly works, but I have
run into problems when the Switch is part of a SharedGroup and I add
new/more nodes to the SharedGroup. Seems the Switch "forgets" what its
settings are so what I have turned off becomes visibl
ember 01, 2002 11:24 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] Moving Lights
What do you mean lights dont change when you move their transformgroup?
Pointlights certainly do, I'm not sure about other types.
-ben
-Original Message-----
From: RWGRAY [mailto:rwgray@;RWGRAYPROJECTS.COM
I have a sphere in my scene. I put a point light in the center of the
sphere. I want to move the sphere/pointlight (a glowing orb) around in the
scene.
Since light positions don't change when a transformgroup's transform
(location) is changed, how do I keep the light within the sphere as the
sp
I prefer to use a Switch node to hide objects in the scenegraph.
Cheers,
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of Kevin Glass
Sent: Monday, August 26, 2002 3:03 AM
To: [EMAIL PROTECTED]
Subject: Re: [JAVA3D] hiding shape3Ds
list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of RWGRAY
Sent: Friday, August 09, 2002 9:38 AM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Update of Displayed scene problem
I have a scene graph with (S = Switch, SG=SharedGroup)
BG1A->S1A->BG1B->TG1A->TG1B->Link(SG1)
SG1
I have a scene graph with (S = Switch, SG=SharedGroup)
BG1A->S1A->BG1B->TG1A->TG1B->Link(SG1)
SG1->S1B
and also
BG2A->S2A->BG2B->TG2A->TG2B->Link(SG2)
SG2->S2B->BG2C->Shape3D
I detach BG2A from the live scene graph and attach it to S1B.
Then whenever I change TG1A (for example, change t
Have you tried a SharedGroup and Link.
I use this all the time.
Seems there is a bug of some kind with SharedGroup if you attach (a lot of)
BranchGroups below the SharedGroup, as I recall. But I haven't had a
problem.
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[
t: Re: [JAVA3D] Background image questions
You would be better off scaling the image once and then setting the scaled
image
as the background. You could resize and reset the background image on
window size changes
using the Swing events rather than the J3D events.
-Original Message-
From: R
I just tried, for the first time, specifying an image for the Background.
It works O.K., but...
Performance is now *really* bad. Scene rotations (rotating the
ViewPlatform) is now very jumpy.
I coded
ImageComponent2D ic =
new TextureLoader("C:/G/J3DProjects/nch5/NCH5/classes/nch5/test.jpg",
Well, I am using a GeForce2Go card (in my laptop), Windows 2000, OpenGL,
Java3d 1.3.
Other applications I use have antialiasing features I can turn on and off
and I see a big difference. But not using Java 3D. I see no difference.
That's what has me wondering
Cheers,
Bob Gray
-Origina
Does antialiasing work in Java 3D?
I set
theSimpleUniverse.getViewer().getView().setSceneAntialiasingEnable(true);
and I see *no* difference in quality of the image. I had hoped that this
would make the edge of my cylinder look smooth. Instead it looks exactly
the same (choppy) but just takes
I am now going to write a Java 3d program in which I can save a scene to a
file and read it back again latter.
So, I define my root sceneObject class to implement Serializable.
I extend sceneObject to define a class (objectPositionable) of all objects
in the scene that is positionable (can move,
I too have had "problems" with Link/SharedGroup.
Not so much "problems" but disappointment with memory usage.
I had thought that by using Link/SharedGroup I could save a lot of memory
usage. It turned out that it didn't save me any memory usage at all.
I thought it was because the geometry I w
How do you set the scale of a TransformGroup to just scale in the
z-direction? I thought scale set the scale in all directions. I don't see
a scaleZ() kind of transform.
Cheers,
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of And
I haven't been following the list closely for the last couple of weeks, so I
don't know if this problem has already been discussed
I have a CAD like Java 3D program.
You can select a predefined polyhedron to be displayed in a scene (cube, or
tetrahedron, etc).
For any polyhedron, you can di
he hard disk to see where the others
instance of j3d.dll (and also j3daudio.dll, j3dutils.dll)
are located and replace them with the new one.
- Kelvin
--
Java 3D Team
Sun Microsystems Inc.
>Date: Tue, 30 Apr 2002 13:54:34 -0400
>From: RWGRAY <[EMAIL PROTECTED]>
>Sub
Was using Java 3d 1.3 Beta1.
I just upgraded to Java 3d 1.3 Beta2, OpenGL version SDK and runtime.
I am using JBuilder 5.
When I recompiled everything and ran my application, I now get the following
error:
---
Exception occurred during event dispatching: java.lang.UnsatisfiedLi
I get the following error, which I can't figure out:
Exception occurred during event dispatching:
java.lang.ArrayIndexOutOfBoundsExceptionat
javax.media.j3d.NodeRetained.removeLocalToVworld(NodeRetained.java:677) at
javax.media.j3d.NodeRetained.clearLive(NodeRetained.java:847) a
I've been using some code off the internet for capturing Java3D canvas into
a jpg file for a long time and have not had a problem with it. Works fine.
But recently I captured an image and was surprised that the colors of the
captured image was *way* off compared to what I was seeing displayed
Default projection policy is PERSPECTIVE_PROJECTION.
I changed this to PARALLEL_PROJECTION by
theSimpleUniverse.getViewer().getView().setProjectionPolicy(View.PARALLEL_PR
OJECTION);
I thought this would make cubes look a little flat. That is, cubes wouldn't
look like they are being projected
I don't understand why you are updating the branchgroup during rendering.
If at all possible, leave the renderer alone.
Only change the BranchGroup when something in the scene (addition of a
molecule) changes.
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL P
I've reported this problem maybe 8 or 9 (or more) months ago. (And it is a
problem. It caused me a problem and now its caused at least one other
person a problem. Unfortunately, its not a bug.) At that time, there was
mention of the normalization in the documentation, some place.
But I still f
Does anyone know anything about setting/using the antialiasing for a View?
The documentation reads: "If enabled, the entire scene will be antialiased
on each canvas in which scene antialiasing is available."
I don't understand which canvases are available for antialising and which
are not
A
I have the following lines in my code:
System.out.println("Before:i:j:X: "+i+":"+j+":"+hldx);
//thePoints[0][j] = new Vector3f(hldx, thePoints[0][j].y, hldz);
System.out.println("After:i:j:X: "+i+":"+j+":"+hldx);
Which prints:
Before:i:j:X: 2:1:4.048341
After:i:j:X: 2:1:4.048341
Before:
Does anyone have a suggestion/tool for tracking down "memory leaks".
I build a BracnkGroup with lots of objects. Attach it to my scene. Later,
I detach it. After detaching and calling System.gc(), I *never* see the
memory usage for javaw decrease. (Windows 2000 task manager reports memory
usa
, it looks like you are setting an emissive color. An emissive color
will "glow in the dark".
- John Wright
Starfire Research
RWGRAY wrote:
>
> I thought that if there are no Lights (Ambient, Direction, etc.) in the
> scene then Shapes with Appearances which define a Material w
I thought that if there are no Lights (Ambient, Direction, etc.) in the
scene then Shapes with Appearances which define a Material would not be
seen. I thought you had to have at least an AmbientLight in the scene to
see the Shape.
But I commented out *all* Light objects and I can still see the
I can't seem to get my picking of points to work...
In my Canvas3D class I have:
the3DCanvas.addMouseListener(this);
pickCanvas = new PickCanvas(the3DCanvas, scene);
pickCanvas.setMode(PickTool.GEOMETRY_INTERSECT_INFO);
pickCanvas.setTolerance(4.0f);
The Listener method inclu
To define some geometry objects in my scene, I am thinking about using a
SharedGroup and Links. For example, I want 100 pillars in the scene (which
are just cylinder objects) all the same, but different locations.
I also want to be able to pick *individual* cylinders, that is, determine
which pi
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of RWGRAY
Sent: 11. helmikuuta 2002 0:37
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Serialization
I created a class which implements Serializable.
Doesn't this mean that I can use writeObject
I created a class which implements Serializable.
Doesn't this mean that I can use writeObject() to write out an instance of
the class to a file even if the class has variables defined which point to
objects which are *not* serializable?
In my case, I have defined a variable of type BranchGroup.
Does anyone have a utility
to output Java 3D scenes? (Doesn't have to be directly from the
scenegraph. Could be you're saving scene objects in a vector, or
something, plus the scenegraph...) For example, I interactively build a scene in
Java 3D, then I want to output it into a format that P
Hi Justin,
Feel free to take anything from my web pages on this topic at
http://www.rwgrayprojects.com/Java3D/Transparency/trans01.html
and
http://www.rwgrayprojects.com/Java3D/Transparency/trans02.html
Turns out to be a very tricky problem ;)
Bob Gray
-Original Message-
From: Discu
pixels. So if there was a
condition by which two triangles were sorted so that two vertices of
different colors generated the same depth value for the same pixel, and this
was option was enabled, then the second pixel would not get written or
blended at all.
Dave Yazel
- Original Message -
Hi Kevin,
First, thank you, thank you for responding. I really appreciate the fact
that you looked at the transparency problem I am having.
In order to interest others a little bit, I see 3 geometric objects, one
inside the other, as being used for showing transparent body: skin, bones,
heart o
Hi Kelvin,
Has a bug report been issued for any of the transparency problems I
demonstrate at
http://www.rwgrayprojects.com/Java3D/Transparency/trans01.html??
Toward the end of this web page shows the object as 3 different quadArrays,
and a very bad transparency problem. If you don't think this
What is meant by a "particle" here? Is the "particle" a Sphere object? How
is a "particle" coded in Java 3D? What do you use it for?
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of David Yazel
Sent: Monday, December 31, 2001 1:
Can anyone help with these transparency problems?
Bob Gray
-Original Message-
From: Discussion list for Java 3D API
[mailto:[EMAIL PROTECTED]]On Behalf Of RWGRAY
Sent: Tuesday, December 25, 2001 12:13 PM
To: [EMAIL PROTECTED]
Subject: [JAVA3D] Transparency Problems
Well, I took the
Well, I took the advise for handling my transparency problems by breaking
this object up into many separate geometry objects. It helps a lot, but
now, with 3,168 quadArrays, I have major memory usage problems.
Also, I think there is a transparency problem. At some orientations, I can
clearly se
Kevin,
Do you, or anyone, have an example of "... the sphere to be
broken up into multiple geometries so the individual triangles (or
patches) could be sorted." ?
You then have one geometry object for each triangle of the sphere? Together
with an Appearance object (which I assume would be share
ts which
represent the portion of the models whiich intersect. In the second pass
you could render the sub-objects opaque.
Good luck, it
is an interesting problem.
Dave
Yazel
-Original Message-From: RWGRAY
[mailto:[EMAIL PROTECTED]]Sent: Tuesday, No
To make transparency work
correctly when objects intersect each other (so you can see the intersection
part), how do you setup the object?
1) Do you have 1 Group
node with **many** Shape3D's attached to the Group node, one Shape3D for each
little triangle of the objects (many hundreds Shap
There is the Bounds for the mouse behavior that has to be set. If you zoom
too far the objects may go outside the bounds and zooming will no longer
work.
Plus there is also Back Clip Distance. If you zoom too far the objects in
the scene can completely disapear. So try setting the Back Clippin
Hi Java 3D Folks,
I've been trying to create a basic CAD like program using Java 3D.
I have tried several (4) times, but each time I come to a point where it
really turns out to be crap, either in performance or in functionality.
This, I am half sure, is because of my inexperience with Java 3D
I tried the drivers at the NVidia web site and I could not get the laptop
with the GeForce2 Go chip to work under Windows 2000 Professional
So, I reinstalled Windows ME and I guess I'll just have to life with it
until Toshiba puts out an upgrade for Windows 2000 Professional.
So, after the r
the same issues WinNT has had for years... lack of support.
Is there some reason why you want to use WinNT instead of Win98? Just
go with WinME as shipped and enjoy a nice laptop.
- John Wright
Starfire Research
RWGRAY wrote:
>
> Here is the response I just got from Toshiba s
Matthew T. Beitler [SMTP:[EMAIL PROTECTED]]
Sent: Thursday, March 01, 2001 12:17 AM
To: [EMAIL PROTECTED]
Subject:Re: [JAVA3D] Laptop update
RWGRAY <[EMAIL PROTECTED]> wrote:
>
> So I am now looking for a driver that will work under Windows 2000 and the
> GeForce2 GO chip.
Well, the Toshiba 2805-S402 with the GeForce 2 Go chip in it finally
arrived...
It comes with Windows ME installed So the first thing I did was to
install Windows 2000 Professional.
Then the problems began.
After spending 3 hours (literally) on the phone with Toshiba support, they
eventua
78 matches
Mail list logo