On Friday 25 July 2003 20:37, Vicky wrote:
> Dear all,
>
> I have a question regarding one program called ObjLoad in Java3D demo.
> It can display 3D object loaded from .obj format. Is there anyone of you
> know, how Java3D store and manipulate the 3D Object internal, in which data
> format. What h
Yes it is possible, just treat it like a BranchGroup.
Zak
- Original Message -
From: "Ralf Bednarz" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Friday, July 25, 2003 3:33 PM
Subject: [JAVA3D] add and remove a platformgeometry
> hi
>
> isn't is possible to remove a platformGeometry
Greetings, Chris,
Although the points (1,1,0) and (2,2,0) are not parallel to the z-axis,
your point is correct. Good catch! The code does fail when two points are
parallel to the z-axis because of the cross product of the direction vector
with the vector (0, 0, 1). We need to find a wo
hi
isn't is possible to remove a platformGeometry and add it again?
I tried to manage it with a TransformGroup and a BranchGroup, but none of them worked.
pg = new PlatformGeometry();
pg.setCapability(BranchGroup.ALLOW_CHILDREN_WRITE);
pg.setCapability(BranchGroup.ALLOW_CHILDREN_R
You don't mention what resolution your image is. Are you trying to
capture a 1024x768 image and compress it to JPEG in "real time" (not
likely to work on current hardware). Perhaps writing to another
(non-compressed) format would be able to sustain a faster rate and/or
reduce the size of your ima
Title: Message
This
problem of performance is rather unavoidable, I believe. The performance of the
Java3D rendering is rather due to the fact that the underlying hardware is doing
the drawing to the screen. As such Java doesn't really get a look-in. Although,
as you know, it is possible to
Title: Message
Hi
All,
Currently I am working on video saving from Java 3D. My Solution is add a
behavior to the view transform group and schedule it to process every 50 ms, for
example. Every time the behavior wakes up, it calls the canvas' off-screen
render method to render the current s
Christian Schnabl wrote:
Thanks for the example ;-)
But its not solving the problem at all. if i pass a filereader to the load() method it
works fine, but only because the reader only includes the files path and not the file
itself. what i'm trying to do is pass the file as a reader which actua
Thanks for the example ;-)
But its not solving the problem at all. if i pass a filereader to the load() method it
works fine, but only because the reader only includes the files path and not the file
itself. what i'm trying to do is pass the file as a reader which actually includes
the file. i
Christian Schnabl wrote:
The biggest problem is, that i don't know how to use the load(java.io.Reader) in the
right way. do i have to pass it as a bitstream or object or whatever? nothing worked
so far or maybe i am to dump. if you could give a short example, that would be really
great ;-)
than
Title: Message
Why
not just do it the easy way - set the components of the viewplatform
transform to match the aircraft's, every frame by using a behavior with a
wakeupOnElapsedFrames(0)?
Lewis.
-Original Message-From: Discussion list
for Java 3D API [mailto:[EMAIL PROTECTE
The biggest problem is, that i don't know how to use the load(java.io.Reader) in the
right way. do i have to pass it as a bitstream or object or whatever? nothing worked
so far or maybe i am to dump. if you could give a short example, that would be really
great ;-)
thanks,
chris
===
Christian Schnabl wrote:
I know that i have to pass the base url to the loader, but what i can't manage is the
form the data should be in the stream the reader works on.
the usual exception i get is : #vrml header not found. So my question is:
That is probably because you have a non spec-complian
Java3D store
store object's data if GeometryArray and Appearance objects (see Java3D API
documentation).To create simple cube you can use Cube
com.sun.j3d.utils.geometry.ColorCube.class. No need to load
Obj-file.Vladimir A.
VernikovskiProgrammer---JPR
Hi,
I have two Transform3D and TransformGroup pairs. One of these pairs is used for viewplatform(camera in my application) transformations(rotate,scale and translation) and the other pair is used for aircraft transformations.
I want to transfer camera abilities to the aircraft due to one key
Dear all,
I have a question regarding one program called ObjLoad in Java3D demo.It can display 3D object loaded from .obj format. Is there anyone of you know,
how Java3D store and manipulate the 3D Object internal, in which data format.
What happens if there are two objects, for example we introd
Some notes on code.
Code fails when consective path points are parallel to Z axis (1,1,0) (2,2,0).
But more mysteriously the translational part of the transform does not seem to be
working look at the following.
def CreateTube(path,radius,steps,closed=0):
---create circle ---
for i in r
Hello,
might be a quite simple but still can't figure it out.
i have still problems loading a vrml file via the load(java.io.Reader).
I know that i have to pass the base url to the loader, but what i can't manage is the
form the data should be in the stream the reader works on.
the usual exceptio
18 matches
Mail list logo