[JAVA3D] Fog use on Linux, XFree86, Voodoo3.

2001-02-02 Thread Joe Kiniry
In our tests, on Linux, XFree86 4.0.1, and a Voodoo 3 DRI driver, fog density is proportional to window size. In other words, if I resize a window down to, say 400x400 pixels, the fog is so dense that I cannot see anything rendered in my environment. If I resize up to around 800x800, it looks ab

[JAVA3D] Dont get it/ Loaders

2001-02-02 Thread Rikard Elofsson
I'm trying to use the com.sun.j3d.loaders.vrml97.VrmlLoader to read a VRML file containing some animations. In my hopeful mid i thought that the ROUTEs in the VRML file would be imported as behavior nodes, however, when i do Loader loader = new VrmlLoader(Loader.LOAD_BEHAVIOR_NODES); loaderScene

Re: [JAVA3D] Dont get it/ Loaders

2001-02-02 Thread Justin Couch
Rikard Elofsson wrote: > > I'm trying to use the com.sun.j3d.loaders.vrml97.VrmlLoader > to read a VRML file containing some animations. In my hopeful > mid i thought that the ROUTEs in the VRML file would > be imported as behavior nodes Routes are not classified as behaviours. They are really co

[JAVA3D] Scaling a Text2D

2001-02-02 Thread Glenn Rowe
Using the Text2D class, I've created a Text2D object as follows: Text2D frontText = new Text2D("New string", new Color3f(1.0f, 1.0f, 0.0f), "Helvetica", 100, Font.BOLD); This displays OK. I now attempt to double the size of the text using: frontText.setRectangleScaleFactor(2.0f);

[JAVA3D] FW: [JAVA3D] Java3d, Java Sound, and MP3's

2001-02-02 Thread J. Lee Dixon
I've waited all week to see any response to this posting, so in desperation I figured I would mail it straight to some of the Sun engineers. Can you please direct this to someone who can give me an answer? In short, if J3D doesn't use JavaSound, how does it play sound? With native calls? How c

Re: [JAVA3D] FW: [JAVA3D] Java3d, Java Sound, and MP3's

2001-02-02 Thread John Wright
Lee isn't alone here. I'm sure many of us would like to see MP3 playing abilities. Whether it is across the Net or just local, sound files can become huge! I have a six second clip of water running that is a 470K WAV file and not all sounds are as "loopable" as water. Certainly not everything c

Re: [JAVA3D] Local Coordinates of Geometry or Rotation with arbitrary axis

2001-02-02 Thread darren cosker
If you want to rotate about an arbitrary axis then you can do it by accessing the geometry of the shape and using a standard arbitrary rotation transformation on the individual vertices of the shape. Then set the coordinates back into the shapes geometry. Im not sure if J3D actually supplies a sta

Re: [JAVA3D] Dont get it/ Loaders

2001-02-02 Thread Rikard Elofsson
Justin Couch wrote: > > Routes are not classified as behaviours. They are really connectors as > they have no real existance. In the loader sense, there is no way to > access route information. OK got it, however i cant load interpolators either, which makes me sad, does it have anything to do wi

Re: [JAVA3D] Java3d, Java Sound, and MP3's

2001-02-02 Thread Rikard Elofsson
> > Can we get some help from Sun on this? Has anybody had success with > > playing anything other than the default filetypes (like MP3)? Maybe im out a little deep here, but what about the DemoJMFJ3D demo which projects a movie on an object using Java3D and JMF? http://java.sun.com/products/ja

Re: [JAVA3D] Java3d, Java Sound, and MP3's

2001-02-02 Thread J. Lee Dixon
No, you're not off base. I've heard ppl at Sun saying that they plan on integrating JMF interfaces into the MediaContainer in J3D. But as it stands today, that interoperability does not exist. Plus, JMF is a big chunk that I'm not really interested in forcing users to download. Instead, we hav

[JAVA3D] Loading VRML animation

2001-02-02 Thread Michael B
Hi All, I have a simple model created in 3D Studio MMax. I want to output VRML and manipulate the various components of the model under user control in an application. I have various behaviors set up, and I think I can find the various model elements to attach to. However, I am confused as to

[JAVA3D] Extending Canvas3D

2001-02-02 Thread Zak
I am trying to make my own canvas and extending Canvas3D. This is the code.   public class Globe3DCanvas extends Canvas3D{  public Globe3DCanvas(java.awt.GraphicsConfiguration c){  } public Canvas3D getCanvas(){  return this; } }   It is telling me that: Error   : No constructor matching C

Re: [JAVA3D] Scaling a Text2D

2001-02-02 Thread Doug Gehringer
> From: Glenn Rowe <[EMAIL PROTECTED]> > > Using the Text2D class, I've created a Text2D object as follows: > > Text2D frontText = new Text2D("New string", > new Color3f(1.0f, 1.0f, 0.0f), "Helvetica", 100, Font.BOLD); > > This displays OK. I now attempt to double the size of the text us

Re: [JAVA3D] Extending Canvas3D

2001-02-02 Thread Doug Gehringer
> From: Zak <[EMAIL PROTECTED]> > > I am trying to make my own canvas and extending Canvas3D. This is the code. > > public class Globe3DCanvas extends Canvas3D{ > > public Globe3DCanvas(java.awt.GraphicsConfiguration c){ > > } Add the line: super(c); as the first line of the constructor

[JAVA3D] how to move ViewPlatform

2001-02-02 Thread Liming CHEN
Hi, I built a avatar and want to put the ViewPlatform on the avatar's head, so when the avatar move the view (the scene) move too. I can position the Viewplatform on the avatar's head using the TransformGroup above the ViewPlatform and also can adjust the view direction so that it appear that the

Re: [JAVA3D] how to move ViewPlatform

2001-02-02 Thread Yazel, David J.
Setup a behavior that uses elapsedFrame(0) and have it set the view transform to be your avatar's head transform. Dave Yazel > -- > From: Liming CHEN[SMTP:[EMAIL PROTECTED]] > Reply To: Discussion list for Java 3D API > Sent: Friday, February 02, 2001 1:01 PM > To:

Re: [JAVA3D] how to move ViewPlatform

2001-02-02 Thread Kasparian, Raffi J.
Liming, In my program, I have attached the ViewPlatform to a BranchGroup. Then throughout the course of the program, I can move that BranchGroup (with the ViewPlatform attached) to any location in my SceneGraph (including moving objects). This eliminates the need to track the desired position of

[JAVA3D] SpaceBall 6dof input device

2001-02-02 Thread Casteel, Don
I've been looking over the "Beyond Mice and Keyboards" section of J3D.org by Justin Couch. There is a lot of information here, but the place I get lost is at: Generally speaking, you will need some sort of custom device driver for every input device and more often than not, that involves native co

[JAVA3D] OrbitBehavior

2001-02-02 Thread Zak
I have added a OrbitBehavior node to my ViewingPlatform. Once the program starts, The object is in front of me(viewable) yet whenever I move it, the view goes inside of the object. I have to zoom out to see the object. Can anyone help.   Thanks   Zak

[JAVA3D] JAVA 3D API TUTORIAL v1.6 EXAMPLE

2001-02-02 Thread Wessel Thomas
I am interseted in getting a copy of the MultiGeomApp.java file listed in the tutorial above. I downloaded the example file from the site but this one is not included. Is there anyone with a copy that you could send me?   Thank you.   Wessel

Re: [JAVA3D] OrbitBehavior

2001-02-02 Thread Andrea Tartaro
> Zak wrote: > > I have added a OrbitBehavior node to my ViewingPlatform. > Once the program starts, The object is in front of me(viewable) yet > whenever I move it, the view goes inside of the object. I have to zoom > out to see the object. Can anyone help. > > Thanks > > Zak This is probably re

Re: [JAVA3D] Viewplatform coordinates?

2001-02-02 Thread UNG Leng
Do you mean : make a "vp.getLocalToVworld(t3d)" (vp: viewplatform and t3d: the transform3d) ? - Original Message - From: "Ahmed Shakil" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, January 31, 2001 10:00 PM Subject: Re: [JAVA3D] Viewplatform coordinates? > Will this func

Re: [JAVA3D] OrbitBehavior

2001-02-02 Thread Zak
Thanks . That fixed it Zak - Original Message - From: "Andrea Tartaro" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, February 02, 2001 2:47 PM Subject: Re: [JAVA3D] OrbitBehavior > > Zak wrote: > > > > I have added a OrbitBehavior node to my ViewingPlatform. > > Once the

Re: [JAVA3D] Viewplatform coordinates?

2001-02-02 Thread Ahmed Shakil
yes. but I havent used it -Original Message- From: UNG Leng [mailto:[EMAIL PROTECTED]] Sent: Friday, February 02, 2001 1:37 PM To: [EMAIL PROTECTED] Subject: Re: [JAVA3D] Viewplatform coordinates? Do you mean : make a "vp.getLocalToVworld(t3d)" (vp: viewplatform and t3d: the transform3d

[JAVA3D] Unable to extends RotationInterporlator like extending Behavior class

2001-02-02 Thread Raymond Lau
In my Final year project. There is a bit where I need to do a robotic arm. And when ever an instruction is read and a value is given. I want to move the arm at a animated style. I've try to used Behvior class at first and used WakeuponElapsedtime as the basic way to move object. To get a smooth

[JAVA3D] AW: [JAVA3D] SpaceBall 6dof input device

2001-02-02 Thread Thomas Bendig
Hi Don, the Spaceball is very similar to the Spacemouse. You can find Java3D classes for the Spacemouse at http://www.spacemouse.de/software/drivers/WIN-Java3D.html I'm not sure if it works, but may be it does the job. You need to install the COMM package to use these classes. Regards. Thomas. [

Re: [JAVA3D] Unable to extends RotationInterporlator like extending Behavior class

2001-02-02 Thread Paul Byrne
Hi Raymond, The error message indicates that you are using the wrong constructor when you create your RotationInterpolator. You must use either new RotationInterpolator( alpha, target ) or new RotationInterpolator( alpha, target axisOfRotation ) Rgds Paul --

[JAVA3D] Performance of AlternateAppearance

2001-02-02 Thread Yuri Nikishkov
Did anybody try setting AlternateAppearance on a large scene? I have the model that has about 200 groups and 11000 shapes total. The rendering time (in software) is still not bad, less than 0.4 sec per frame, but when I try to set AlternateAppearance that colors the whole model (with my top branc

Re: [JAVA3D] Performance of AlternateAppearance

2001-02-02 Thread John Sutter
I get the feeling that some bad assumptions were made about how many nodes will actually be under an AlternateAppearance node. I think alot of time is being spent on juggling arrays from some shot in the dark investigations. AlternateAppearances seem to be treated similar to 'small quantity' ob

[JAVA3D] from jayanthi

2001-02-02 Thread jayanthi srinivasan
hi, iam jayanthi here. iam unable to run my Java3D programs. i have the soure code here. when i compile it says error it says package not found. i would be grateful toa anyone of u who would say me the step to compile and run the java3D program succesdfully. please help on this. waiting 4 ur mai

Re: [JAVA3D] Dont get it/ Loaders

2001-02-02 Thread giles
The loader class does not attempt to convert VRML interpolators to J3D interpolators. If you want the interpolators to run you will need to use the player which will give you a complete VRML event model. Basicly the loader is time-zero, meaning you will get all the geometry and looks but no event