[JAVA3D] Rotation about a target

2000-03-22 Thread Sterling Wright
Hello all, I am new to Java and graphic programming, and am trying to rotate the ViewPlatform around a lookat point. I have the correct Matrix4d setup for rotation about the X, Y and Z axis but don't know how to use it in Java3D? The steps I take are: 1) Construct the Matrix4d and initialize i

Re: [JAVA3D] Reading values of type double from a file

2000-03-22 Thread Bruno Sousa Caiado
Hello. I am currently doing something very similar to you (i also have to read vertices from files) and i am using the java.io.StreamTokenizer class to read from files. I hope this helps. - Original Message - From: Sachin Myneni <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday

Re: [JAVA3D] Possible bug

2000-03-22 Thread Bruno Sousa Caiado
Hello. Thank you for the "hint".     I say this a possible bug because the Sun´s j3d tutorial says that when vertex color is specified the material color is not used.     When you say that without specifying a material the vertex color is mapped correctly, that is true, but that only happens

[JAVA3D] Problems with depth buffer and the clipping planes9

2000-03-22 Thread Doug Gehringer
> A user writes: > > We are concerned over the limitation of back clip distance vs front clip > distance. > > If we set front clip to 0.1 (so that we don't see through things we > collide with) that gives us the ability to only see 100 meters in the > distance. Any human can easily see far furthe

Re: [JAVA3D] VRML files with animation key frames

2000-03-22 Thread Doug Gehringer
> From: Dean Keeler <[EMAIL PROTECTED]> > > I use VRML files and import them into my Java3D environment. These VRML > files are created from 3DStudio Max which has the capability of outputting > the animation key frames in the VRML file. If there any way I can use this > animation key frames wit

Re: [JAVA3D] Possible bug

2000-03-22 Thread Shawn Kendall
Bruno Sousa Caiado wrote: Hello.    I have an object which is built using the IndexedQuadArray class. I am specifying per-verxtex color for this object using the "setColors" method.    The problem ocurred when i added an ambient light to the scene:    The object was rendered with the Material d

[JAVA3D] Lighting and rendering issues

2000-03-22 Thread Eric Arnold
I am hoping that someone at Sun can help me out... I have developed a program using purely Java3D code. It runs just fine on my machine as either an applet or application. It also runs as on my web page as expected when viewed from my computer. If I then try running it from another computer (a

Re: [JAVA3D] Reading values of type double from a file

2000-03-22 Thread Julian
Sachin, >> I have to read this vertices from a file, and I am not able to >> figure out which java.io classes and methods, should I use to read >> these "double" values from a file into an array (arrayList maybe???). Use java.io.DataInputStream, method readDouble(). It reads 8 raw bytes from a f

Re: [JAVA3D] Resetting scene after mouse behaviors/reply

2000-03-22 Thread Sherri Dunlap
Yat, Thanks, I'll try it! Sherri Yat P Shiu wrote: > If you move all mouse behaviors into one separate transformGroup > then you could use > > Transform3D t = new Transform3D(); > t.set(1, new Vector3d(0.0, 0.0, 0.0)); > .setTransform(t); > > to reset it > > At 07:36 PM 3/21/00 -

Re: [JAVA3D] Reading values of type double from a file

2000-03-22 Thread Osborne, Richard N
Binary data is the fastest way. Class Java.IO.DataOutputStream & java.io.DataInputStream are the best classes to use to store data into your own proprietary format. To share your data with other apps, .3ds file format is one of the most widely used but, complex for beginners. The .obj text format

Re: [JAVA3D] Resetting scene after mouse behaviors

2000-03-22 Thread Yat P Shiu
If you move all mouse behaviors into one separate transformGroup then you could use Transform3D t = new Transform3D(); t.set(1, new Vector3d(0.0, 0.0, 0.0)); .setTransform(t); to reset it At 07:36 PM 3/21/00 -0600, you wrote: >Hello, >Is there a way to reset a scene after someon

Re: [JAVA3D] Always Satellite Animation

2000-03-22 Thread Barry Walsh
Hello Olivier, Either: 1) use the unix utility f2c to convert the fortran to C. Some Fortran compilers actually convert to C as a first step of compilation anyway, so it wouldn't be a big problem; or 2) You need a C wrapper to call the Fortran. Basically, compile the Fortran and C separately (

[JAVA3D] Reading values of type double from a file

2000-03-22 Thread Sachin Myneni
Hi Everyone, I have recently joined this mailing list (and infact recently started using JAVA). I am developing a software which involves a HUGE number of vertices. These vertices are divided into groups. That is, each set represents a plane. Each of these planes have to be transfo

Re: [JAVA3D] Create a stand alone Java3d program?

2000-03-22 Thread Don Casteel
Yes it is possable, at lease from what the people at http://www.excelsior-usa.com/home.html and the people at : http://www.instantiations.com/jove/product/thejovesystem.htm say.. However I haven't tried either sucessfully yet. The JET beta is a free download, but no information on what the r

[JAVA3D] thank you, i've solved my problems with j3d on linux

2000-03-22 Thread luigi
Thanks to all who help me with my problem. The only thing i had to do was install Mesa 3.1 If anyone wants to install Java3d on linux these are the steps: - install jdk (tar xzvf ...) - install java3d (same directory as jdk) (tar xzvf ...) - install Mesa 3.1 (tar xzvf...) (make [linux-386-elf] )

Re: [JAVA3D] Newbie question

2000-03-22 Thread Jonathan Albert C. Vallar
Hi! Thanks for the reply! Bam-Bam On Mon, 28 Feb 2000, Jacob Nikom wrote: > Yes, you can - there is almost no problems with it. > You can add, for example, Canvas3D to JPanel. However, > you have to be careful in obscuring one com

[JAVA3D] Few Q: cylinder sector, shadow, point of view, folded plane

2000-03-22 Thread W.Krugiolka - GMX
Could somebody explaine me how to do : - cylinder sector, - shadow, - change point of view (I've made ViewPlatform, but it did't work - I need some simple exaple), - folded plane ??? Maybe someone has some simple examples ??? Please halp me. Thanx for all answers. Wojciech Krugiolka ===

Re: [JAVA3D] Java3D and Apple G4

2000-03-22 Thread G . Veith
do you mean does Java3D runs on a MacIntosh G4 ? IMHO not yet. Apple hasn't implemented Java3D yet. As Java3D is a system dependend API you cannot run Java3D apps on a system that just supports Java runtime 1.2X. Gernot "BRASSEL Tim (NQ)" <[EMAIL PROTE

[JAVA3D] Java 3D 1.2(Open GL) release date

2000-03-22 Thread Rayan Jreije
> Hi Folks, > Anybody knows about the Java3D 1.2 (OpenGL) version > approximate release date? > > If not, do you recommend the upgrade to the current beta version (Java3D > beta1) for serious development? > > Thanks and regards, > > > Rayan H. Jreije > Msc. Computer and Electrical Engineering > Co

[JAVA3D] Detaching a child from a live BranchGroup

2000-03-22 Thread Rayan Jreije
> Hi folks, > I am ususally using the retained mode for my scenegraph. > I know in this mode i can't attach or detach children to a live > BranchGroup. > The only thing i can attach and detach is the branchGroup itself. > > Would the immediate mode (or any other mode) allow me to attach and detach

[JAVA3D] FW: ScanMail Message: To Recipient, virus found and action taken.

2000-03-22 Thread Rayan Jreije
Hi folks, apparently Mr. Chris gates has sent a Virus in one of his messages to the Group. I hope this was unintentional. Anyway, this is to warn you guys from opening the attachement in his email. The details of teh found Virus are as follows: Sincerely, Rayan -Original Message- From: S