Lorena,
You need to go to the Javasoft web site and download Java3D first. You
might want to read the tutorial they provide there, too.
http://java.sun.com/products/java-media/3D/
Adrian
Lorena [EMAIL PROTECTED]@JAVA.SUN.COM on 16/07/2001 11:14:31 AM
Please respond to Discussion list for
Hi Todda
Probably this might help you.
Point3d _point3d = _canvas.getStartPosition ();
Thanks for reply Anand, but I can´t find a getStartPosition() method in the
Java3d API (in class canvas3d). Can you help me here?
Thanks
Todda
Tor Einar Kj $BS (Bkleiv [EMAIL PROTECTED] on
On some systems I had to run it twice to get the installAnywhere to work
(e.g. on my athlon with win98). First time it would just hang with a blank
dialog box and I had to kill it off.
Second time no problems.
Chris
Wilson Wen wrote:
I jsut downloaded (twice) the java 3d for Windows
(.exe
Hi EveryOne:
By browsing the stereo viewing page on the Java3D FAQ, I found the
following information:
1. General Stereo Setup
First, be aware that in the current release of Java 3D, stereo is only
supported on Sun workstations. PCs with stereo hardware will be able to use
stereo in the
I have seen your message. I am also going to work on a project of
using
VRML, Java3D and Java EAI. Would you give me some journal or paper
about
using the JAVA EAI and why you feel it is not good? I would like to
get some
more details before I move to Java 3D.
Many thanks,
Kenneth
I'm no expert
hi all!
Does anyone know if there is a possibility to do a transformation at a
PickRay Object?
The problem is that there is no difference between picking at the root
branchgroup or a later attached transformgroup!
As shown in the following source code I do picking from a starting point
to one
Hi,
I've got a lot of objects and each of them has a label created
with a OrientedShape3D. The text of the label could be created
either by a Text3D object or by rectangle with a texture where
the texture is rendered 'online' via a BufferedImage. I would
simply draw the label text into the
Estaré fuera del 16/7 al 29/7.
I'll be out of office from 16/7 to 29/7
-
Daniel Moscoso Rivas
emagine Iberia Consulting and Technology, S.A.
I can think of two reasons why there would be a difference
between an applet and an application in your case.
First, applets do not have access to files on the hard
disk unless you specifically specify that permission. If you run it in
appletviewer, it might give you file access without
You can try a trial version of the program OptimizeIt, which will
allow you to track the number of instances of each type of object while
your program is running, and the amount of memory they take up. This
program helped me out a lot last week. Just search for OptimizeIt on
any shareware site.
This is just not true. Garbage collection is never guaranteed to happen.
Ever. (This means that finalizers are never guaranteed to run, ever.)
System.gc is not guaranteed to do ANYTHING. For this reason, I fail to see
the point of its existence, actually.
-Original Message-
From:
Hi,
I have a scene with 300 objects and thought I'd try adding some
Interpolators to spice it up. I managed a color one okay as I can
generate a single material object and associate it with multiple shapes,
just had to slow the cycle so that mouse responce was okay. But I wanted
to try a rotation
Greg Munt wrote:
System.gc is not guaranteed to do ANYTHING.
Yes it is. It is guaranteed that the VM will make its best efforts to
reduce the amount of currently allocated memory that has no references
to it. If it has no free references to collect, then it will not appear
to do anything, but
Greg:
Note my wording: You can force the garbage collection _somewhat_ by
calling System.gc().
Garbage collection in Java seems to be slow at best, but if objects have
no references remaining and you set them to null, you are likely to get
garbage collection and _if_ garbage collection occurs
Hi
While looking at the source code of the Util class Box
I found an interesting class called GeomBuffer. But I
couldn't find any info about it in the JAVADOCs. But
to me it looks like a public class otherwise Box couldn't
use it.
EOF,
J.D.
--
Jmark2k+1 (http://www.antiflash.net/jmark)
Test
Hi Gerard
As with any lower level approach to programming it is harder to get
things started but when you get it going there is almost no limit to
what you can do with it as you have complete control!
Can you use openGL and accomplish the same level of control you enjoy with
Java3D?
Of
Can you use openGL and accomplish the same level of control you enjoy
with
Java3D?
I've not read anything on openGL programming but I would suspect that
there is a lot of specific rendering/geometry tasks that you can't do in
Java3D but you can in openGL. But as openGL is a graphic language
The FAQ needs to be updated.
If your graphics card supports stereo through either the standard
OpenGL or D3D API then you can get stereo through Java 3D.
Several people are running PC cards in stereo mode.
Dan Petersen
Java 3D Team
Sun Microsystems
Delivered-To: [EMAIL PROTECTED]
When switching to fullscreen-mode (or maximizing the window)
Java3D always complains about not having enough hardware memory
and switches to software mode.
How much Hardware Memory does Java3D need ?
Turning of double buffering didn't work, I just got a blank window ;-(
Peter
Ok, I know this isn't Java3d but it is easier to get
an answer around here 'cause there's a lot more of
people. I've added a JDialog containing a warning that
popup when the user mess with something. I've since
then been trying to make a button inside it close the
damned thing but I can't seem to
Futher investigation
It seems that by default all rotations are around 0,0,0 on the Y axis,
how do I apply a rotation to a TransformGroup that is not located at
0,0,0 so that the object it contains stays where it was and spins
around?
I tried this but ended up with objects moving to 0,0,0
You need two TransformGroups like this:
TG1 -- TG2 -- [Objects]
Apply translations to TG1, and apply rotations to TG2. Doing so you will
achieve what you're looking for, I think ;)
Vïctor
Jason Taylor ha escrito:
Futher investigation
It seems that by default all
Have your thought about using a JOptionPane? I think it's better if you
only want a warning message to show. Something like this has all the
buttons and closing methods built in:
JOptionPane.showConfirmDialog(ParentFrame, warnMessage, Warning,
JOptionPane.YES_NO_OPTION );
There are also
Hi all, I have a Java 3D application (as you probably supposed). I use
JNI to use a native viewer. The problems comes whenever I close the
native viewer. Though my application goes on, I lost keyboard focus. I
am not able to gain focus again, does anybody has a clue? My
initialization code looks
Dear All,
I am running my JApplet in Netscape using the JRE plugin. On
clicking a button I want to open up NetMeeting.
This is what I am doing.
--
Runtime r = Runtime.getRuntime();
try
{
Ehlo Frank!
Could someone help me getting rid of this stupid
problem please?
How about trying this.hide(). But you should actually find these
sort of information in the JAVA2 API Documentation or in the JAVA2
Tutorial (GUI with Swing Chapter)
EOF,
J.D.
--
Realtime Raytracer in JAVA
I have to admit it is confusing. It is not documented that I can find. I
spent about 5 hours on Sun's site trying to answer this same question
before. There is no real way to *really* close a window. Hide it and kill
the reference is about the only way that I have found. I did see some code
Well, I thank you for answering in such a great number.
I finaly chose what some of you suggested, wich is
using the JOptionPane. It works more than well enough
in addition to offering many options and saving a lot
of trouble. I recommend it!
Thanks a lot.
Frank B.
Find the best deals on the
Oouch,
private void finalize() {
System.out.println(BranchGroup finalized);
}
this is definitely not the way to do it. This is a AntiPattern in Java!!!
When overriding finalize make sure you use this construct
public void finalize() java.lang.Throwable {
// this is very
There are known problems with our installer and the 1.4 Beta VM. Is
that what you are using? If so, This is bug 4464766. You can keep
tabs on the status of the bug here:
http://developer.java.sun.com/developer/bugParade
If you're not using 1.4, check the size of the executable file to
make
There are known problems with our installer and the 1.4 Beta VM. Is
that what you are using? If so, This is bug 4464766. You can keep
tabs on the status of the bug here:
http://developer.java.sun.com/developer/bugParade
If you're not using 1.4, check the size of the executable file to
make
Oops! Big mistake!
Of course if I had actually referred to my working code, I would have
recalled the super.finalize() call and the throwable declaration...
Any text or FAQ can explain finalize and it's use more clearly. Sorry
for my mistake!
However, I think the following would be better
The indexify() method uses a hash table, so the two Objects would
have to have the same hashCode() to get the same index. The
Classes being used are the Vecmath classes Point3f, Color3f, etc.
Looking at the hashCode() implementation for those classes, there
is no tolerance - the two Objects' x,
Hi,
I have a problem with the OrbitBehavior class.
For that I created a simple scene with a colorcube.
Now I added the OrbitBehavior and I translated the viewer position to
somewhere
else. But after clicking with the mouse the cube jumps back to center.
This only effects the translation in X
Daniel,
The view is jumping to look at the center of rotation, which by default
is (0, 0, 0). Try changing your center of rotation.
andrea
Römer, Daniel wrote:
Hi,
I have a problem with the OrbitBehavior class.
For that I created a simple scene with a colorcube.
Now I added the
Dan Petersen wrote:
The FAQ needs to be updated.
That's my problem. The internal version of the FAQ has not yet made it
to the outside world. If you can read through all the XML, this is the
current page contents:
?xml version='1.0' encoding='us-ascii'?
!DOCTYPE FAQ-PAGE SYSTEM faq-page.dtd
Here is an implementation of Raster labels (attached). It is basically Text2D
modified to used a Raster instead of a texture mapped polygon.
There are currently no plans to add raster text to the Java 3D utilities, but a
raster text utility may be considered if there is interest. I'd like to
Kenneth SEE wrote:
Do you know how I can convert a text file, which whole a set of points with
x,y,z coordinates, to a VRML file?
This will have to be custom code as I don't know the format of the file.
These sorts of tasks are much simpler to do using your own knowledge so
that you get the
Looks good! I would only add that we did address the issue of cards that
share the z-buffer between the left and right eyes. We added a property
j3d.sharedstereozbuffer. Setting this to true will force Java 3D
to clear the Z-buffer between renderings of the left and right eyes.
By default this
39 matches
Mail list logo