[JAVA3D] Crashing, why?

1999-12-27 Thread Devon Hillard
I'm attempting to start a development environment on a new machine. It's an Athalon based system, currently running Win98 (until I can get NT, and hopefully Solaris for Intel afterward). I've got the LeadTek GeForce 3D card in there. I've tried both jdk1.2.2 and jdk 1.3. With both of them, when

[JAVA3D] Texture

1999-12-27 Thread Bob Gray
Title: Texture I am trying to learn how to use textures. I added the following code to my appearance: TextureLoader loader = new TextureLoader("tex01.jpg", this); ImageComponent2D image = loader.getImage(); Texture2D tex = new Texture2D(); tex.setImage(0, image);    

Re: [JAVA3D] semi-random movement

1999-12-27 Thread Doug Gehringer
> From: Eric Arnold <[EMAIL PROTECTED]> > I am writing a predator/prey simulation > and want the animals to have semi random movement but I can't get them to > move unless I use a PositionInterpolator - and then they just move along one > axis. I tried adding an extra branch group and rotating it

Re: [JAVA3D] Texture

1999-12-27 Thread Daniel Selman
Title: Texture Bob,   Set the texture using (simply):   E.g. TextureLoader tex = new TextureLoader( "earth.jpg", this ); app.setTexture( tex.getTexture() ); If you need to modify the wrapping for S,T you can store the result of tex.getTexture() and call setBoundaryMode* before assigning t

Re: [JAVA3D] Loading...

1999-12-27 Thread Daniel Selman
Sivaram, If I understood your question correctly, you would like the user to be able to walk around the VRML file of the building you just loaded. Java 3D, doesn't know anything about your "building", it is just a bunch of triangles, that happen to be grouped together. I'm guessing that your que

Re: [JAVA3D] VRML style background implementation?

1999-12-27 Thread Daniel Selman
Ken, There are two ways that spring to mind. The first uses a background image: Background.setImage and you can draw the gradient using the 1.2 GraphicsContext2D methods. This method is simple but does not repined to window resizing, so if your Canvas3D is resizable that is problematic. It will n

Re: [JAVA3D] semi-random movement

1999-12-27 Thread Daniel Selman
Eric, Use Transform3D.setTranslation(...) Sincerely, Daniel Selman [EMAIL PROTECTED] http://www.tornadolabs.com -Original Message- From: Discussion list for Java 3D API [mailto:[EMAIL PROTECTED]]On Behalf Of Eric Arnold Sent: 24 December 1999 00:09 To: [EMAIL PROTECTED] Subject: [JAV

[JAVA3D] JAVA3D RUNNING IN JBUILDER3

1999-12-27 Thread Chen Lu
Everybody Who know that  can't run JAVA3D program in JBuilder3.0. But It can compiles  all files completely and can running in IE or Netscape. follow is error message   AppAccelerator(tm) 1.2.010 for Java (JDK 1.2), x86 version.Copyright (c) 1997-1999 Inprise Corporation. All Rights Reserve

Re: [JAVA3D] Question 'bout SpotLight

1999-12-27 Thread peter
perhaps i wasnt making myself cleari am trying to create a beam of light ...sayif you are in dark room and lit a flashlight ...i am trying to create a "spotlight" and also to see a cone.is there any way to achieve it? Eric Arnold wrote: > you are correct in saying that the light ori

Re: [JAVA3D] Question 'bout SpotLight

1999-12-27 Thread Eric Arnold
there sure is... if I understand the Java3D representation of light you could do it like this - Make a cone object, set the colors (ambient, diffuse, emissive, and specular) as you wish for your light and make it semi-transparent. This should give off some light, but if you want more just create

Re: [JAVA3D] Question 'bout SpotLight

1999-12-27 Thread Jeff Sonstein
i am trying to create a "spotlight" and also > to see a cone.is there any way to achieve it? how about a less-than-fully-transparent cone?? jeffs -- Jeff Sonstein, M.A. http://ariadne.iz.net/ http://ariadne.iz.net/~jeffs/jeffs.asc == t