use the package
com.sun.j3d.utils.scenegraph.io
or better,
com.sun.j3d.utils.scenegraph.io.retained
there are streams for serializing j3d objects, you can get the api using
javadoc from the source files
they work for anything except morph nodes (that's the last problem I had
;) )
i'm in a hurry,
> Date: Fri, 28 Feb 2003 14:59:05 -0600
> From: "ZACZEK, MARIUSZ P. (MARIO) (JSC-DM) (NASA)" <[EMAIL PROTECTED]>
> Does anyone know (have code) how to get OrbitBehavior to work with a
> VirtualUniverse?
You can instantiate your own ViewingPlatform and attach OrbitBehavior to that.
ViewingP
Does anyone know (have code) how to get OrbitBehavior to work with a
VirtualUniverse?
I know how to get it to work for a SimpleUniverse:
ViewingPlatform viewingPlatform = simpleuniv.getViewingPlatform();
BoundingSphere infiniteBounds = new BoundingSphere(new Point3d(),
Double.MAX_VALUE);
Hi,
I've been using the PickCanvas for some time now to pick 3D points in my scene. Now
I'd like to be able to distinguish which avatar was picked.. not just the Shape3D. I
had the "bright" idea to extend BranchGroup with a class that includes a reference to
the avatar object thinking that I co
Greg Gimler wrote:
Kelvin,
I do not use the DirectX version of Java3D, I only used the
openGL version for both java3d 1.2 and 1.3 so shouldn't it be the same?
If graphics driver did not change it should be the same.
glGetIntegerv(GL_MAX_TEXTURE_SIZE, ..)
is used to query the max textur
At 04:38 PM 2/27/2003 -0800, you wrote:
> Date: Thu, 27 Feb 2003 14:10:47 -0500
> From: Lan Wu-Cavener <[EMAIL PROTECTED]>
>
> I would like the screen show the 3D scene after the texture mapping is
> fully down, in another words, I don't want the user to see the objects are
> replaced by im
That's exactly the behaviour I am seeing, at a certain point the garbage
collector kicks in but by that time there is already a significant amount of
memory that is never reclaimed.
However after reading some of the related posts I have downloaded JProbe and
am currently investigating the possibili
Kelvin,
I do not use the DirectX version of Java3D, I only used the
openGL version for both java3d 1.2 and 1.3 so shouldn't it be the same?
-Greg
Kelvin Chung wrote:
Greg Gimler wrote:
How are your textures being loaded? Who's code is
Ian,
The alternative is that you simply add your shape3d to your scene as
normal, WITHOUT a transform group. You can still pick the shape3D and
change its properties.
When you say "editable" geometry, I assume you meat translations and
rotations. Please see previous emails where I discuss addi
Greg Gimler wrote:
How are your textures being loaded? Who's code is being used to do it?
My textures are being loaded as follows:
Sphere planet;
Appearance papp;
TextureLoader t = new TextureLoader("models/earth.jpg", "RGB", this);
if (t != null)
papp.setTexture(t.getTexture());
Transparenc
I was just wanting to know if there was an easy way of serializing Shape3Ds
without having to extend the Shape3D class as well as the classes of all
non-serialized member variables of Shape3D. I'm just taking a stab out
here...I'm pretty sure that a 'quick' way doesn't exist, but I'd love to
hear
How are your textures being loaded? Who's code is being used to do it?
My textures are being loaded as follows:
Sphere planet;
Appearance papp;
TextureLoader t = new TextureLoader("models/earth.jpg", "RGB", this);
if (t != null)
papp.setTexture(t.getTexture());
TransparencyAttributes ta = new
It's working just the same with jar files. I'm using plain classes because
the loading time it's much shorter then loading the full jar file,
especially since it's loading classes only as needed. The problem seems to
be with the version strings. However, I was able to see the referred
web3books lin
Well, in my case I see the rotating cube. Hooray!
However, I'm suspecting that there are html tags
that are being used for some websites that aren't
compatible. Could this be possible? For example,
your page just uses .class file. No special PARMS
for plug-in version requirements.
Flavin's pa
Kelvin,
Thanks for the reply on this. It hadn't occured to me that ViewSpecificGroup
might be an approach that could work for this. Initial experiments look
promising - I can for the very first time pick some geometry that isn't being
rendered. I'm off on holiday for a week now, but I'll investiga
Hey ? Am I seing phantoms ? I'm pretty sure that I've seen that message
before.
However, your picture is too big! Try adjusting it's size to 2048 x 1024
using any picture editor. That one may work. If still not working, try with
the size 1024 x 512.
Cheers,
Florin
-Ursprüngliche Nachricht-
You shouldn't care about what Paul says. Just ignore him. Personally I don't
know how the sun vrml loaders work, but if they work like their *standard*
wavefront obj loaders distributed with j3d, then it's simply crap!
Cheers,
Florin
P.S. I hope that soon I'll contribute to j3d.org with a decent
Seems that you find the culprit! From a previous email, Greg was saying that
his texture has "2160x1080" pixels.
About what can quadro do it was me the one who told you that handles
non-power of two textures, but it seems that I have a different version than
Greg uses. Mine also handles textures o
Mian,
I hate to be short about this, but mixing J3D with J2EE is quite doable.
You should not see any major barriers to this except that Java3D benefits
obviously from 3D hardware, and that deployment of Java3D applications or
applets or whatever is not as simple as other deployments. There are s
Lan,
The alternative is that you simply add your shape3d to your scene as
normal, WITHOUT a transform group. You can still pick the shape3D and
change its properties.
When you say "editable" geometry, I assume you meat translations and
rotations. Please see previous emails where I discuss addin
What happens when you run the Java3D compatibility test on
http://jdraw3d.herinean.com ? If there are any problems, you should see a
small report of jdk / j3d versions.
Please let me know!
Cheers,
Florin
-Ursprüngliche Nachricht-
Von: Lan Wu-Cavener [mailto:[EMAIL PROTECTED]
Gesendet: D
I have seen this behavior in my app too, and clearly is not related to any
of the suggested bugs. However, it looks mostly as being related to the
garbage collector who doesn't get the chance to start collecting. Let me
explain the strange behavior that I'm seeing:
First time I load my standard te
Florin,
Thanks for these numbers! They will be very useful.
Ian
On Thu, 27 Feb 2003, Florin Herinean wrote:
> One last thing to consider: moving to GL4Java is like using pure immediate
> mode in j3d. You have at that point (almost) total liberty of what you're
> doing. You can optimize for me
http://www.j3d.org/utilities/loaders/misc/neverwinter.html
Might want to update this, animations and emitters are now supported.
Jonathan
- Original Message -
From: "Justin Couch" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, February 28, 2003 3:17 AM
Subject: Re: [JAVA3D] an
24 matches
Mail list logo