I think i figured it out.
Let's say i build my own class e.g.
public class MyBranch BranchGroup extends BranchGroup
i have to implement SceneGraphIO in order to make this class writeable to the stream.
Otherwise i will get a NullPointerException, right?
So in order to make it all work i have t
Hi!
I'm developing an app giving the user to register certain visualization
plug-ins giving the user the ability to display what's going on in the app
(simulation). However, my plug-in interface right now passes a Graphics2D
object to the plug-in to paint on. I was wondering if it is possible to
s
That was real relief, thanks so much!
Some it was very hard to get behind this stuff because i haven't found much
documentation so far, but there is luckily this interest group.
I have implemented everything so far, but still doesn't work properly.
Maybe i refer to the wrong class.
I made up a
Vladimir Vernikovski wrote:
Hi, All !
Is there way to On/Off antialiasing after compile and load scene?
Now I have:
GraphicsConfigTemplate3D gct3d = new GraphicsConfigTemplate3D();
Ok, short tutorial on scenegraph.io.
Scenegraph does not understand pointers. With normal serialization, you
just add a pointer field to class and it get automagically saved to
disk, dereferencing by itself. With scenegraph.io you need to do it
manually.
In createSceneGraphObjectReferences(SceneGr
Is it possible to use an animated gif as a texture in j3d?
My current attempt to, just using the usual TextureLoader stuff is not loading the
texture at all.
The code looks like this:
app = new Appearance();
try
{
String[] ourFile={"file:C://animated.gif"};
System.out.println("Display h
John Wright wrote:
Alessandro has correctly pointed out the Windows granularity of
System.CurrentTimeMillis. J3DTimer does have some granularity but I've
found it to be very good and capable of usage for smooth animation. (I
don't have my figures handy for when I checked what it was - certainly
it
Alessandro has correctly pointed out the Windows granularity of
System.CurrentTimeMillis. J3DTimer does have some granularity but I've
found it to be very good and capable of usage for smooth animation. (I
don't have my figures handy for when I checked what it was - certainly
it is MUCH better tha
See games.dev.java.net. We more than announced. There are open source implementations
of Java bindings to OpenGL (the most complete and up to date available),
Java bindings
to OpenAL, and a new input controller library that supports all types of
input devices.
The project names are jogl, joal,
The Objects' names are set properly. I check this by rereading the Hashmap before i
put it into the stream.
I should explain with more detail:
I'm working on a cad-visualization project which is capable to view catia-models. For
there is no such loader we use a Interface that controls Catia to s
Florin Herinean wrote:
Isn't it possible to perform a two step vrml parsing ? One to lookup what
actual nodes are used and establish the parsing strategy for the second
step. That way you can optimise the scenegraph, especialy for the two cases:
a) static scenegraph (nothing ever change or move) a
Sorry, but is fun:
http://today.java.net/jag/je/
===
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 PROTECTED] and inc
Point is that human eye become sensitive to phase rippling in ~30 FPS. I'm
working with heavy geometry applications and usually have ~30 FPS. In this
case 10 ms rippling is feeling.
My system: PIV 2.2/512Mb/Geforce2 MX400/Java3D DirectX/WinXP
Vladimir A. Vernikovski
Programmer
Well,
I will report just what I've did and found. And it may or may not work for
you.
I am using Win2k/1.3GHz/512Mb/Java3D DirectX and both Gears run smoothly
here.
I also run on Win98/1.1GHz/384Mb/Java3D DirectX & OpenGL run AlphaGT
smoothly and original Alpha was terrible.
Some days ago I did me
Are you setting the object's names properly in the hashmap when writing
(writeBranchGraph) ?
If so when you read you will retrieve the names and nodes, in the hashmap,
as it is expected...
I guess my solution may not fit your case:
I am using a external XML to store names and properties of each n
You must create and add new Java3D library in Project Properties/Required
Libraties settings in JBuilder project.
Add in new library some files from this folder:
C:\j2sdk1.4.1_02\jre\lib\ext\
Files:
j3daudio.jar
j3dcore.jar
j3dutils.jar
vecmath.jar
Bye!
Vladimir A. Vernikovski
Programmer
Hi all,
I am new in Java3d. So I downloaded tutorials and softwarefrom sun's java web site
and tried to run example application HelloUniverse from the JBuilder3 environment. But
I got the lots of error message similar to following:
Error(25): class javax.media.j3d.BranchGroup is not public in
I found the way.
It's nessesary just:
-
bevelPanel1.remove(canvas3d);
u.removeAllLocales();
GraphicsConfigTemplate3D gct3d = new GraphicsConfigTemplate3D();
gct3d.setSceneAntialiasing(GraphicsConfigTemplate3D.REQUIRED);
GraphicsConfiguration gc
Hi, All !
Is there way to On/Off antialiasing after compile
and load scene?
Now I have:
GraphicsConfigTemplate3D gct3d = new
GraphicsConfigTemplate3D();
gct3d.setSceneAntial
mail delivery failure so i sent again...
That was great help!
But i have one last question:
the SceneGraphStreamWriter wants a HashMap where i put the keys and values i retrieved
from the named Objects.
The Problem i still have is: do you mean i have to send the Hashtable seperately over
the
That was great help!
But i have one last question:
the SceneGraphStreamWriter wants a HashMap where i put the keys and values i retrieved
from the named Objects.
The Problem i still have is: do you mean i have to send the Hashtable seperately over
the stream?
Do you mean i have to put the nam
Thanks for the heads up.
I brought up your link on my Win2K/1.5Ghz/512MB here and
the GearBox original is actually smoother than the AlphaGT.
Curious, it looks as if Win2k has 10ms granularity where as
Win98 is 50ms(I think I read that earlier). I presume this
is why I read somewhere, that so
I solve this kind of problem this way:
Get the namedObjects ot the scene and put all then in a HashTable.
If course the name of the objects where the keys.
When I want to do some operation in one of that objects returned I just ask
it to hashtable,
check if the returned objects it is a instanceo
J3DTimer in any case is operating system dependent and in WinXP has mistake
~7 ms.
Vladimir A. Vernikovski
Programmer
---
JPROOF Technologies Ltd.
- Original Message -
From: "Alessandro Borges" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday
I am using a animation behavior which works this way
take initial time value from J3DTimer before start the animation
at each elapsed frame
{
calculate the delta time (current - initial time);
do the animation with that delta time value
(optionally you can multiply delta time by a factor f
HI,
I've got indeed the same Problem. All i get from the Hashmap are the DEFs
like "MAT_Material" as Strings. The Objects on the other Hand are only returned as
Strings as well but seem to be integers in the form of 0 or 41, 23 etc.
I haven't figured this out so far. The problem is, i want to acce
This is the best I found:
http://web3d.vapourtech.com/tutorials/vrml97/
===
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff JAVA3D-INTEREST". For general help, send email to
[E
Well, I'm not sure. java.net is a community thing, sponsored by sun. If you
browse the projects, you'll see several projects covering the same topic.
One of them is jogl (Java bindings for OpenGL API), and other is
java3dgamesdk (Java 3D Game SDK), there is jme (Java game engine built on
top of LWJ
manish
An excellent VRML book is
VRML Sourcebook by Ames, Nadeau and Moreland
published by Wiley (1997)
This has great example.
Peter S.
- Original Message -
From:
Manish Sethi
To: [EMAIL PROTECTED]
Sent: Friday, June 13, 2003 9:32 AM
Subject: Re: [JAVA3D]
1. Unfortunately, I havn't right timemer for the still... And we have in
WinXP timer with mistake 5 ms and this not good for animation :(
2. I'm using J3D Behavior framework, mixed mode but it needs for some
modification.
If you are interested for results (best run in NVidia Geforce and later
card
> http://servlet.java.sun.com/javaone/sf2003/conf/sessions/display-2472.en.jsp
Are slides (or something) for this session available anywhere?
> If I were in the position to give advices to the java3d/java gaming
> development teams, I would leverage the java3d pure immediate mode/mixed
> mode to
try http://www.web3d.org/Specifications/VRML97/
-Original Message-From: Discussion list for Java 3D
API [mailto:[EMAIL PROTECTED]On Behalf Of
hterrolleSent: Friday, June 13, 2003 1:50 PMTo:
[EMAIL PROTECTED]Subject: [JAVA3D] Need introduction to
VRML
Hi,
Could some
Hi Florin,
Florin Herinean <[EMAIL PROTECTED]> writes:
> At the moment, the only *existing* thing, which *is* on the j2se technology
> list, it's java3D. Other things were only *announced*, like the new java
> gaming platform. I thing there is a big difference between *having*
> something and *an
Hi,
Could someone send me adresse were i could find simple
code for an introduction to VRML. When i said simple not too simple which means
this the use of behavior if this is possible.
Thanks
Isn't it possible to perform a two step vrml parsing ? One to lookup what
actual nodes are used and establish the parsing strategy for the second
step. That way you can optimise the scenegraph, especialy for the two cases:
a) static scenegraph (nothing ever change or move) and b) unmodifiable
scene
It was a presentation yesterday, see
http://servlet.java.sun.com/javaone/sf2003/conf/sessions/display-2472.en.jsp
However, JSR-184 is dedicated to mobile 3d, i.e. cellphones, PDA's, etc.,
not for mainstream PC users.
At the moment, the only *existing* thing, which *is* on the j2se technology
lis
36 matches
Mail list logo