Re: [JAVA3D] Alpha restart

2001-10-09 Thread Kevin Williams
Here's the code I used to restart an Alpha in a Position Interpolater. Alpha a = new Alpha(1, parentApp.BULLET_TIME); a.setTriggerTime(System.currentTimeMillis() - a.getStartTime() + 50); posInt.setAlpha(a); Kevin > -Original Message- > From: Discussion list f

Re: [JAVA3D] Off-Topic Runtime.exec()

2001-10-05 Thread Kevin Williams
It might be that you need to enclose the text call in ""'s. e.g. this: Runtime.getRuntime().exec( field.getText() ); becomes this: Runtime.getRuntime().exec( "\"" + field.getText() + "\""); Kevin === To unsu

Re: [JAVA3D] Rotation Matrix

2001-08-29 Thread Kevin Williams
Use 2 transforms, one to translate and one to do the rotation.  Then you can use the rotX, rotY, rotZ. Also every time you move the object, you don't have to also rotate it (the rotation stays the same).   Kevin         -Original Message-From: Discussion list for Java 3D API [ma

Re: [JAVA3D] Drifting Grating

2001-08-27 Thread Kevin Williams
Can't you use a serious of textures and use a switch interpolator to switch through them making them look like they're drifting? The other thought would be using an animated gif for the texture. I can't remember if I read that animated gifs would or would not work for textures, but might be wort

[JAVA3D] Explosions

2001-08-24 Thread Kevin Williams
How do I create an explosion effect in Java3D? Is there any site/example I can look at? I imagine the best way is some kind of particle system. Kevin === To unsubscribe, send email to [EMAIL PROTECTED] and include in the b

Re: [JAVA3D] Scene Antialiasing? Why so slow?

2001-08-24 Thread Kevin Williams
I'm not sure how it works in Java's scene anti-aliasing, but generally full screen anti-aliasing takes the current screen size and renders it at twice the size (i.e. if canvas is 800x600, then it renders at 1600x1200). Rendering 4 times the data makes it much slower. Then it samples the points ar

[JAVA3D] Collisions using default J3D WakeupOnCollisionEntry behavior

2001-08-20 Thread Kevin Williams
I know the WakeupOnCollisionEntry can't be used for terrain following or collision avoidance.    I'm just detecting a standard collision.  I've searched the FAQs, tutorials, etc and haven't found an answer to this.   When I get a WakeupOnCollisionEntry event, how do I tell what object coll

Re: [JAVA3D] applet execution speed

2001-08-16 Thread Kevin Williams
Most IDEs build for use in a debugger so debug mode is on.  Are you building the source in the IDE then running it in a browser or building it outside the IDE?   Also if you don't have a lot of memory in your machine (256 or less) your machine probably swaps while running the program when t

[JAVA3D] Resetting/replacing an Alpha object

2001-08-15 Thread Kevin Williams
I have a PositionInterpolator driven by a one loop Alpha object. At a later time, I want a press of the spacebar to trigger the PositionInterpolator again. I set the write capability on the PInter and tried several things. I set the trigger time of the Alpha to the current time, thinking it migh

Re: [JAVA3D] problem with ModelClip

2001-08-14 Thread Kevin Williams
I know the G450 (I have one here at work) has problems with Java in general. Sometimes it causes lockups on me when running java programs. Do you have another computer you can try it on? Kevin > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Be

Re: [JAVA3D] Pop-up window for editing

2001-08-01 Thread Kevin Williams
To unjar on a PC you can use the java jar command with the -x option. You can also use Winzip if you have that to open the jar file and extract out the info. Kevin > -Original Message- > From: Discussion list for Java 3D API > [mailto:[EMAIL PROTECTED]]On Behalf Of Lan Wu-Cavener > Sent

[JAVA3D] Picking within triangle strips

2000-05-03 Thread Kevin Williams
estions or comments? Thanks in advance, Kevin Williams -- --- Dr Kevin Williams, MIEEE Electromagnetic Software and Systems (EMSS) Stellenbosch, South Africa [http://emss.co.za & http://www.feko.co.za] Tel/Fax: +27 21 880-1