Hi,
this post is now over a week old. Has noone understood what my problem
was, or is the solution so simple that nobody cared to answer?
Maybe the rogram example was not so clear. What it should display is the
following:
There are six spheres, each sitting in the corner of an hexahedron.
These
Hello
When I use a Behavior with AWTEvent Key in a graph,
when the mouse goes over the Panel3D, even if the JFrame isn't activated
(not in front)
the JFrame is autoactivated (push to front).
Why ?
How retrieve Key event without this auto activation ???
Sample code :
WakeupCriterion []
Is there a simple way of displaying an Object in 3D simple universe by
supplying x,y,z coordinates? I suppose something like
graphics.draw(x, y ..) but using graphics3D. I looked through
the examples but did not find an example in the 3D demo.
Any direction will be much appreciated.
Tha
Make sure that the PATH is pointing to the c:\JDK1.2.X or c:\jdk1.3 not the jre
directory. Me being I java lover I have the latest version c:\JDK1.3.
Try this and see how you go.
Manuel Urbina wrote:
> Hello John and everybody else;
>
> Thanks for responding...I followed your instructions, but
Make sure you set your PATH to point to the new JDK, set the CLASSPATH to also
point to the 3d JAR files.
John
Asish Law wrote:
> I downloaded Java 2 version 1.3 and Java 3D version 1.2
>
> After installing both the above, I tried compiling and running a
> demo program under C:\jdk1.3\demo\java
can anyone tell me if there is a germen java3d-tutorial???
___
http://www.firemail.de - Ihr Briefkasten im Web. Einfach, schnell, sicher.
Neu! Jetzt auch mit kostenlosem Fax-Empfang und Voicemail!
I want to load a VRML model, change the color of the VRML world (it
is one single object that must change color as a whole) and
transform it to the origo of my java 3d world.
I can see that I can get the transformgroup of a DEF named VRML
world in the java 3D faq (I dont have any DEF named shapes
Hello Java3D Developers and Users,
I'm very interested in the Java3D Technology. Last year i wrote a 3D Chat
with it to leran the basics of J3D. Now i'm considering to develop a
sophisticated online game based on Java and Java3D. Java isn't the fastest
choice but i think it's fast enough. The game
I don't have an answer for you, but I feel and share your pain!
I have for a *long* time (and a long time ago) complained about
transparency problems in Java 3D. I finally gave up.
I had situation of transparent spheres and solid cylinders. When a
transparent sphere moves in front of a cylinde
All,
I have quickly posted my Java 3D example from the SUN Solutions CD here:
http://www.tornadolabs.com/News/Doom_Example/book.html
I will clean up the presentation a little once when I get the chance, but it
will allows those of you interested to take a look at the code and start
playing with
Andreas,
There are a number of issues with transparency, not all related to Java 3Ds
implementation as it is a generally hard problem for renderers to solve in
an efficient manner. I suggest you look at:
http://www.tornadolabs.com/News/Doom_Example/6_texani.html
And:
http://www.tornadolabs.com/N
Well, I played around with this for a while (very frustrating)... First I
will say that yes I did see the problem. Certain spheres were blended with
their background, whereas other spheres merely hid their background... very
strange and unpredictable. At one point, I affect the problem by merely
How do I set an image as the background of a
scene?
Much thanks in advance,
CG
Hi,
I found a solution, which is not at all satisfactory, but it works.
J. Lee Dixon's hint, that removing the cylinder makes the scene work led me to the right track:
I made ALL objects transparent, but set the transparency to zero when there should be no transparency.
I have no idea how this
Hi,
first of all, I am glad, that I am not the only one, having this problem.
J. Lee Dixon wrote:
Well, I played around with this for a while (very frustrating)... First I
will say that yes I did see the problem. Certain spheres were blended with
their background, whereas other spheres merel
We've seen similar problem on Ultra80 with Elite3d-m3,m6 using
OpenInventor. It is an OpenGL problem. We reinstalled OpenGL a couple
of times with Sun's latest patches. This solved the problem. You might
want to try that.
Karen
Blair MacIntyre wrote:
>
> We recently got some Ultra60s with bo
I load a VRML file and then access the geometry without using the node DEFS
with the following
VrmlLoader loader = new VrmlLoader();
Scene s = null;
try {
s = loader.load(reader);
}
catch (F
Markus and others -
Sun is putting alot of engineering resources into Java 3D. The development of
Java 3D is a high priority within Sun. The actual work comes out of the Sun
division that sits with the OpenGL and hardware graphics engineers. We have
ongoing plans for future releases.
Regarding t
Hi,
I have a 3D scene with 3 elements. I would like to
change 2 of them inside a loop and then see on the
screen the resultant "animation". That work without
any user interface but with one, I'm just able to see
the final scene after a wait with a white screen during
which the "animation" run...
CG,
Here
is sample code to create image for scene background. Assume
_canvas3D and _topTG is an instance of Canvas3D and
TransformGroup
you
created early.
// Create the root of the branch
graph
BranchGroup objRoot = new BranchGroup()
; //
Create mouse behavior
Like this:-
// Create the root of the branch
graph BranchGroup objRoot = new BranchGroup();
// Create a bounds for the background and
lights BoundingSphere bounds = new
BoundingSphere(new Point3d(0.0,0.0,0.0), 100.0);
// Set up the
background TextureLoader bgTexture = new
Text
Hi Ching,
A bug is filed for this problem (bug ID 4345204).
This is fixed in the next v1.2.1 beta release.
Attach is an example modify from your test program to
help clean up the memory. This will work in next
release.
(1) Before add("Center", c), we need to
remove previous canvas from
I have developed a Linearray to represent a flat surface. I would
like to move an object over this surface, without colliding. For example,
If the surface had a mountain on it, I would like to be able to move the
the object over the mountain not through it. The shape raises and falls
with the cont
Instead of developing a surface(terrain) for scratch using Java3D
arrays(linearray, quadarrays, etc)is it possible to load a surface
or terrain developed in another CAD package. If so, which package, where
can I find such a loader, how do I implement this using Java3D, and which
file format should
I would like to know if it is possible to prevent a collision from
occurring between two or more object. For example, say I have two cubes
rendered in a scene and I use mouse picking to drag cube1 in the direction
of cube2. Once a collision is detected cube2 will stop. If this is
possible can som
Hi,
There is a bug in the Java3D API which results in the incorrect rendering
of multiple transparent objects.
The good news is there is a workaround for the problem in Java3D 1.2.
When creating a transparent object set a default RenderingAttributes object
in the appearance eg :
Transp
Uma,
Thanks. This required me to bite the bullet and upgrade to java3d 1.2 which
I have now done. After checking out the TextureByReference demo, it looks
like this method will work for me. Unfortunately, my program which was
working in v1.1.3 is behaving differently in v1.2 so I have to tend to
Hi, I'm trying to figure out how to put an object (plane) so close to the
user that there is no space for anything else. I tried to take a pixel on
the screen and converting it to 3D using imageplatetovworld, and I have
tried to attach objects to the viewplatform geometry (but at what distance).
T
Thanks, Ballard for the help. I received an email from Uma pointing out the
byReference option in ImageComponent2D (available only in java3D 1.2). It
looks like that will speed up my programs image editing. As far as modifying
the image,
BufferedImage = ImageComponent2D.getImage()
Graphics = Buff
I have recently upgraded from Java 3D 1.1.3 to Java3D 1.2. This has been and
still is a painful process. Several things that worked correctly in my
program under 1.1.3 are broken in 1.2. One of them on which I need help
concerns lighting.
My distilled lighting method is something like the followi
A thought that occurs to me is that this problem, and some of the issues
that arise when combining 2D/3D windows, would be at least partially solved
if Java-3D + Swing/AWT supported the ability to easily use overlay planes.
If I could create a Frame/Panel/etc in the main planes or the overlay
pla
Hi,
>MIME-Version: 1.0
>Date: Wed, 14 Jun 2000 15:25:42 -0400
>From: "Kasparian, Raffi J." <[EMAIL PROTECTED]>
>Subject: [JAVA3D] version 1.2 broke my lighting effects
>To: [EMAIL PROTECTED]
>
>I have recently upgraded from Java 3D 1.1.3 to Java3D 1.2. This has been and
>still is a painful proces
here is an example
// Set up the background
TextureLoader bgTexture = new TextureLoader("p3.jpg", this);
Background bg = new Background(bgTexture.getImage());
bg.setApplicationBounds(bounds);
theRoot.addChild(bg);
--
J. Stone
[EMAIL PROTECTED]
===
Is there a specific reason why you would not want to draw it during the
postRender() function? At that time, everything else is drawn and you can
force something to be drawn "in front" of everything else, like a
heads-up-display.
This method is preferred (IMHO) since trying to put something on t
Oops! Thanks for helping me debug my program, Kelvin. I actually knew that
the BoundingLeaf had to be added to the scene graph. I never realized that
it wasn't. That's all it took.
On to the next problem...
Raffi
-Original Message-
From: Kelvin Chung [mailto:[EMAIL PROTECTED]]
Sent: Wed
--On Wednesday, June 14, 2000 3:42 PM -0400 "J. Lee Dixon"
<[EMAIL PROTECTED]> wrote:
> Is there a specific reason why you would not want to draw it during the
> postRender() function? At that time, everything else is drawn and you can
> force something to be drawn "in front" of everything else,
Hello everybody:)
I´m trying to put in the same window diferent views
of the same object (an upper view, side views, etc...)
My problem is that i would like to add "real time
animation" to all the views, i´ll explain:
i would like all the views to move when i move one
of them with the mous
Does anyone know of any Java3D companies/consultants that will perform
custom work based on a basic set of requirements?
Please let me know, I am having a lot of trouble finding any. Anything from
somebody learning Java3D and willing to take on an interesting challenge, to
an experienced team o
Hi,
How do I change the Viewing volume? By Viewing volume I mean the
area in which the rendering is performed.
By defualt the viewing volume is
x-axis: -1 to 1
y-axis: -1 to 1
z-axis: -1 to 1
How can I change the above settings?
Thanks
Roopesh
===
39 matches
Mail list logo