>>> [EMAIL PROTECTED] 20/08/2002 04:07:14 >>>
>(1) File path vs. URL
URL is defiantly a better way to go, I'd have to do some digging to find the methods
I've used in the past...
Let me know if you can't figure it out and I'll go hunting in my source.
>(2) Missing Swing components when config
I am currently working on a project that requires an avatar to navigate with
a mouse click. For example, when I click on a point in the screen, I would
expect my avatar to be as though it is running towards that point. The view
will be following the avatar, so the avatar will always appear in the
> java.net.URL url =
> super.getClass().getClassLoader().getResource("$CLASSPATH/resource");
I think you'll find that this works:
java.net.URL url =
getClass().getResource("/resources/resourceName");
...where "resources" is a directory under your classpath (i.e. /resources
in your JAR or .
Chris,
Maybe I'm misunderstanding your question but I use:
String userdir = System.getProperty("user.dir");
to find where my application is launching from. I can then access files
relative from that directory (no matter which operating system I'm
actually running on).
- John Wright
Starfire R
TF wrote:
> question regarding this though. Part of the reason I wanted to get the key
> events was to be able to move the viewport around a scene. I'm getting an
> error from my code and I don't understand why its happening.
[...]
> and the code where it occurs happens here. My question is, it is
Hew Ling Keong wrote:
> Is there any way I can reassign a new alpha to my Interpolator. Or was my
> approach into dealing with this navigation wrong and there is a better way
> to do it. And what would the performance like as I have heard that the
> Interpolator behavior will take up 100% CPU usag
Hi,
Does any one know how to draw the outline for a non-convex or non-planar polygon in
Java3D?
In OpenGL, we have the glEdgeFlag() function to control the display of an edge, so we
can just draw the outline of the polygon, not those new edges created by dividing the
polygon into triangles.
On Tue, 20 Aug 2002, Chia-Wei Hsu wrote:
> I downloaded Xj3D-min-M5.exe from web3d.org last Friday and successfully
recompiled loader.java example from examples/loader directory.
> I ran the program for a few vrml files. However, I could not see any 3D
object from those files.
Yes, We found abu
trz,
That explains it, Thanks again for all the help.
Eric
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[EMAIL PRO
I was wondering what the restrictions on the detail of texture mapping with
Java3D were. I would like to map a high resolution earth tiff file onto a
VRML sphere using Java3D but the tiff file is over 100MB. What exactly are
the limitations and best methodologies for doing this? Thanks.
Hi,
I am running the KeyNavigatetest.java program in Dr.Selman's book.
Its
a first person's perspective movement in a building.
Using this program I could build a three dimensional view of the
floor.I get the following error. I am not able to decifer it.
Exception occurred during Behavior executi
Hi there ..
Is there a way of getting a single x,y or z value from a Point3f() vertice?
I'm trying to assign a range of colours to a range of heights in my terrain map and
the only way I can think of doing it is to read each y-value from my coordinate array
and assign a colour accordingly...
..
> I was wondering what the restrictions on the detail of texture mapping with
> Java3D were. I would like to map a high resolution earth tiff file onto a
> VRML sphere using Java3D but the tiff file is over 100MB. What exactly are
The problem is normaly texture format which the hardware can handl
Andrew,
Use the public x, y, z fields of the Point3f() object.
the code:
Point3f point = new Point3f( 0, 1, 0 );
System.out.println( point.y );
Should print l to the console.
If you need localToVWorld Transforms or other translations, the Transform3D
class can help you with that.
Hope this h
I published an applet (java3D) in my home page, but when I try acess this
in some computer this exception happens:
Exception: java.lang.classFormatError:javax/media/j3d/SceneGraphObject(Bad
magic number).
is the html my problem???
this applet is in: www2.urisan.tche.br/~smalfatti/relogio.ht
15 matches
Mail list logo