A slight correction...
There was a bug in the code I proposed. The line
bits = (bits << 8) | getByte();
(or arr[i] instead of 'getByte()', it is the same except for byte order)
should be replaced by:
bits = (bits << 8) | (((long) getByte()) & 0xFF);
Rational: 'byte' and 'long' are signed in
I have tested it passing the file as an URL like this:
VrmlLoader loader = new VrmlLoader();
URL fileURL = getClass().getResource("test.wrl");
Scene s = loader.load(fileURL);
and it works.
Hope this helps !!
Dani
Hi,guys and gals,
Hi,
I have problems with making the objects I make "come out of the screen" when
I work in stereo. I can se them disappearing in the back of the screen, but
they will not come out. Is there any parameteres I have to set to achieve
this effect?
Todda
___
Hello All
I am using the mouse to track a marker object across a set of surfaces in
3D. This works surprisingly well
Not unexpectedly it turns out to be inappropriate to use the packaged higher
level pick facility and instead I am doing a
BranchGroup.pickClosest(PickRay)
when and only when th
Hi Corysia!
Thank you for the code below. But I do not really understand what is
happening there...
You are creating "BranchGroup createBackGraph()" but you are adding the
pointArray to "objRoot"... what is the use of the objBack then?
When I tried to add the pointArray to objBack there were no
Hi All,
Greetings.
I just wanted to know when the full version of Java3D 1.3 would become
available
for release.
Regards
Anand
Anand Pillai
DELMIA Solutions India.
680, 8th Main, JP NAGAR II Phase,
Bangalore 560 078.
Tel: +91-80- 658 9858/59 Fax: +91-80- 658 9855.
[EMAIL PROTECTED]
=
I believe 1.3 is due 3rd or 4th Q this year don't think an exact date
has been published yet. Check the web site for confirmation.
On a simular line, anyone know when 1.2.1_02 is going to be released?
It's meant to fix a problem I have so I want to test it in case I still
have to write around the
Jason,
Our understanding is that Java 3D 1.3 will be released first BETA late
this year (we probably won't see a "final" release until sometime next
year).
We are also eagerly awaiting 1.2.1_02 in the hopes that it will clear up
some critical bugs that are killing us. Our impression was "soon"
Hi friends,
I 'm trying to develop RPG based game called zid.
I need FPS (frame per second) info at Run Time, because when i started to
walk my character, if FPS is not high enough
my character is walking shorter than my expectation.
Does anyone know, how can I get FPS info. Or any other suggest
Hi there,
i have some memory leaking problem that i want to drag down, because it
gets the critical issue for my application.
It's actually very critical, since the the application will run as an
applet using the java plugin. And i got an avarage leak of 2 MB
per page reload, which causes a the n
First suggestion is to mkae sure your animation is not frame rate dependant.
No animations in 3d should be frame rate dependant IMHO. For this you will
need a high resolution timer, which you will have to write an interface to
under windows.
Note that under windows the lowest granularity of Syst
Hi !
I am working on a collaborative tool using Java3D.
I have two Canvas3D. One acts as the master the other as the slave.
When the master move the scene, the scene moves on the slave. It works fine.
But now, i want that when the master mouve its mouse over the scene, the
slave sees a virutal
Hi,
you can get the time for the last frame (in ms) and compute the frame rate form
this value.
Canvas3D canvas;
int frameDuration = canvas.getView().getLastFrameDuration();
float frameRate = 1000.0f / frameDuration;
But it's more convinient if you avarage at least the last 5 frames, or comput
hi
I am facing problems in deallocating the memory
used by scene graph because the shape3d object's
reference count never becomes zero, the profiler shows
that Shape3dRetained class holds its reference
1. Can someone help me with some details on
Shape3DRetained class ,
2. pls help me with some
Hi Saurabh,
i just had a look at my shape3dretained instances. They are dropping to zero
once i terminated my application.
I introduced a ShapeManager which handles all Shape3D objects in my app. this
manager is also responsible for
freeing the shapes properly. currently i use this approach for e
I'm afraid that's a typo. I was trying to be less confusing by using the
names objBack and objRoot. In my original code, I was sloppy and used
objRoot twice (the classic "cut and paste error"). When I composed my post,
I missed one.
Just renaming that odd objRoot to objBack should have solved
From: "Yazel, David J." <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 8:30 AM
> ...
> Note that under windows the lowest granularity of
System.currentTimeMillis()
> is 55 ms, which is abysmal and inappropriate for animation.
> ...
Probably true for W95, W98, WMe, etc., and highly unreliable
Hi all,
Does anyone know where there may be file loaders available to the public? I didn't
see anything on Sun's site.
thanks,
John.
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the messa
Just here:
http://www.j3d.org/utilities/loaders.html
--
Hi all,
Does anyone know where there may be file loaders available to the public? I didn't
see anything on Sun's site.
thanks,
John.
===
To un
Daniel,
I was looking for something they don't have. Oh well, I guess I'll have to go write
my own.
thanks.
John.
>
> From: Daniel Moscoso <[EMAIL PROTECTED]>
> Date: 2001/07/10 Tue PM 01:06:34 EDT
> To: [EMAIL PROTECTED]
> Subject: Re: [JAVA3D] FileLoaders for Java3D
>
> Just here:
>
> http
Hi John,
http://www.j3d.org/utilities/loaders.html
should help. I personally use ObjLoad at the moment (supports colors and one texture
per Object).
regards,
. leif
John Barreto wrote:
> Hi all,
>
> Does anyone know where there may be file loaders available to the public? I didn't
>see a
Hi all, hoping for help as well ;)
My problem is the following:
I'd like to load a Wavefront OBJ and set its transparency afterwards to
achieve a water-like effect.
The OBJ only consist of one texture-mapped plane.
Without transparency, everything works well.
I just cannot get it to work/compile
I am using W2K with Java3D 1.2.1 OGL and java -Dj3d.fullscreen=REQUIRED
MyApp with
no success. How can I get fullscreen or at least delete the menubar. Thanks
Jack S. Gundrum
Visualization Group
Center for Academic Computing
Penn State University
Email:[EMAIL PROTECTED]
Phone:(814)865-1863
=
http://www.j3d.org/faq/running.html#fullscreen
- Original Message -
From: "Jack Gundrum" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 10:32 AM
Subject: [JAVA3D] fullscreen
> I am using W2K with Java3D 1.2.1 OGL and java -Dj3d.fullscreen=REQUIRED
> MyApp wit
Hi all,
I've been looking all morning for a solution to my problem. I'm
trying to move a triangle's vertice with the keyboard, but it won't let me
modifiy the geometry because the scene is live. I believe this has been
discussed before, can anyone help me out? How can I modify the geome
Look at the Java3D tutorial on Sun's site. The first chapter covers how to
update the position and orientation of objects.
http://developer.java.sun.com/developer/onlineTraining/java3d/
You want to read section 1.8.2 on page 24.
- Original Message -
From: "Shaun Shepherd" <[EMAIL PROT
I'm not sure if this has been answered yet, but what works for me is
to load objects from a file, and descend the branchgroup to the
Shape3D objects and use
getAppearance().setTransparencyAttributes(...)
If you're object consists of multiple shapes each one must be altered
to become transparent.
Hi Tina,
>X-Unix-From: [EMAIL PROTECTED] Tue Jul 10 07:09:21 2001
>Delivered-To: [EMAIL PROTECTED]
>X-Sender: ceetm2@odin
>MIME-Version: 1.0
>Date: Tue, 10 Jul 2001 15:08:04 +0100
>From: Tina Manoharan Valappil <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Background Image
>To: [EMAIL PROTECTED]
>
>
>
>X-Unix-From: [EMAIL PROTECTED] Tue Jul 10 04:45:17 2001
>Delivered-To: [EMAIL PROTECTED]
>X-Accept-Language: en
>MIME-Version: 1.0
>Date: Tue, 10 Jul 2001 13:40:23 +0200
>From: Karsten Fries <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Jdk1.4 beta
>To: [EMAIL PROTECTED]
>
>Hi there,
>
>has anybody tri
>X-Unix-From: [EMAIL PROTECTED] Tue Jul 10 05:29:09 2001
>Delivered-To: [EMAIL PROTECTED]
>X-Accept-Language: en
>MIME-Version: 1.0
>Content-Transfer-Encoding: 7bit
>Date: Tue, 10 Jul 2001 14:28:02 +0200
>From: Karsten Fries <[EMAIL PROTECTED]>
>Subject: [JAVA3D] Memory Leak
>To: [EMAIL PROTECTED
this would mean system.currenttimemillis is using windows timers, the
worst choice available on windows.
a better choice would be the multimedia timers.
perhaps the right folk could be pointed out, so this could be addressed?
> -Original Message-
> From: Fred Klingener [mailto:[EMAIL PR
Java 3D does state sorting of this kind as well. And, either case below
will work equally well. You will, however, get other performance benefits
from using fewer Shape3D nodes.
Doug Twilleager
Java 3D Team
Sun Microsystems
>Delivered-To: [EMAIL PROTECTED]
>MIME-Version: 1.0
>Subject: [JAVA3D
>culling would be quite useful. Also, controling the culling operation
>indepnedantly from the render would be quite useful in testing and
>debugging. SGI's Performer can do that. ;-)
>
This type of operation should be possible with extensibility in
Java 3D 1.4.
Doug Twilleager
Java 3D Team
Su
You should post your question to [EMAIL PROTECTED] I think
some users have been able to install on JDK 1.4 through this process:
1) Uninstall 1.4 and re-install 1.3.
2) Start the Java 3D installer
3) Install 1.4
4) Complete the Java 3D installation.
That's a kludge, but it's the installer t
The VRML Loaders from Sun provided
the highest level of functionality for
loading VRML files into Java3d ...
-- and still do --
~~ please ~~ correct me ... if any other
VRML loader is more capable for loading
VRML into Java3d and rendering it with
animation.
" VRML-97 Loaders,
> Date: Tue, 10 Jul 2001 11:30:37 -0700 (PDT)
> From: Kelvin Chung <[EMAIL PROTECTED]>
> Subject: RE: [JAVA3D] Problem with IndexedGeometryArray
>
> Hi Jyothi,
>
> >X-Unix-From: [EMAIL PROTECTED] Mon Jul 9 23:42:32 2001
> >From: Jyothi Mohan <[EMAIL PROTECTED]>
> >To: "'Kelvin Chung'" <[EMAIL PR
Leif Oppermann wrote:
> Hi John,
>
> http://www.j3d.org/utilities/loaders.html
>
> should help. I personally use ObjLoad at the moment (supports colors and one texture
>per Object).
>
> regards,
>
> . leif
hello leif,
could you please send me a small example of an object file with a texture.
Thanks. I had been using the wrong capability bits.
Shaun
- Original Message -
From: "Corysia Taware" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 12:01 PM
Subject: Re: [JAVA3D] Live scene
> Look at the Java3D tutorial on Sun's site. The first chapter cov
> From: "Per Eckerdal" <[EMAIL PROTECTED]>
> Reply-To: "Per Eckerdal" <[EMAIL PROTECTED]>
> To: [EMAIL PROTECTED]
> Subject: Java3D question
>
>
> Dear Sirs!
>
> I'm working with the Java 3D and I wonder how I can
> make .obj-files (as 3-dimensional objects). Does it
> exist a program to do that?
I use D3D implementation of J3D - fullscreen (and alt-enter) works fine,
N
> > I am using W2K with Java3D 1.2.1 OGL and java -Dj3d.fullscreen=REQUIRED
> > MyApp with
> > no success. How can I get fullscreen or at least delete the menubar.
> Thanks
> >
> > Jack S. Gundrum
=
Milkshape 3D is a US$20 shareware modeler for Windows that can import and
export many different formats, including OBJ and 3DS.
http://www.swissquake.ch/chumbalum-soft/
- Original Message -
From: "Paul Pantera" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Tuesday, July 10, 2001 2:18
Kelvin Chung wrote:
> There are problem when underlying graphics context is
> initialize using JDK1.4 with Java3D:
>
> 4470749 -Java3D fail to initialize underlying OGL/D3D library in jdk1.4
> sometimes
I'm just going to put in a good word here for JDK1.4. I've been running
it for about a month
Philip Taylor wrote:
> a better choice would be the multimedia timers.
>
> perhaps the right folk could be pointed out, so this could be addressed?
I believe Sun have been made aware of this for at least a couple of
years now. I remember back in the days of the old Berkeley advanced-java
list th
Hi All,
The large time steps returned by System.currentTimeMillis() on the MS-Windows
OS is something I've been looking at for a while.
The issue is that under windows there does not seem to be ANY OS call
(or combination of calls) that can meet the semantics of currentTimeMillis().
That is ret
Tina,
Use a unit Sphere as background geometry, generate flipped normals, and
apply your image as a Texture to the Sphere. Should be full screen (well,
all around you!) and a lot better frame rate.
Sincerely,
Daniel Selman
-Original Message-
From: Discussion list for Java 3D API
[mailt
hi every body
how r u!!
iam asking for a loader of 3ds formate which take an input as URL and not as
String
thanx for hellping
_
Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com.
==
Hi Michael,
I missed your reply and just saw it.
I am very interested in terrain modelling myself and auto-generate
all mine (usually from GIS height grids).
I expect to be doing something along the line of what you are trying.
I was hoping to go into some detail on this stuff with David before
Hola, ya que tienes puerto AGP, quizas podrias comprar
una tarjeta gráfica más potente. Seguramente eso
ayudaría. Ahora estan francamente baratas. Yo he
comprado reciente una Nvidia TNT32 por unas 16000
pelas. Se la he comprado a esta gente:
http://www.pcbox.es/
pero debe haber en cualquier lado..
Hi,guys and gals,
Maybe I haven't explain my question clearly, so nobody answer me. :)
I embed a Java3D applet in an html to present some 3D models, in the applet I use
VrmlLoader to load outer VRML files (.wrl files), My puzzle
is: the applet cann't load the wrl files correctly because
49 matches
Mail list logo