www.jpct.net

jPCT - a 3d engine for Java => Support => Topic started by: AGP on February 01, 2014, 11:18:59 pm

Title: Robombs Source
Post by: AGP on February 01, 2014, 11:18:59 pm
I'm having a look at the Robombs source code. I'm trying to steal your explosions. Actually, I did steal it. :- ) I just don't understand what I'm seeing. At the center of my scene is a simple, untextured, gray sphere. That is what I pass to the simplified addExplosion (which now takes Object3Ds and no ClientEventQueue). The following is just one of several fairly incomprehensible states of the explosion:
(https://dl.dropboxusercontent.com/u/93826015/Explosion.jpg)

And here I hoped for a nice particle explosion...
Title: Re: Robombs Source
Post by: AGP on February 01, 2014, 11:47:42 pm
This, by the way, is the texture I used ("explosion").
(https://dl.dropboxusercontent.com/u/93826015/ExplosionTex.jpg)
Title: Re: Robombs Source
Post by: EgonOlsen on February 02, 2014, 10:21:08 am
I'm not sure what this screen shot actually shows. IIRC, the explosions in Robombs are a set of billboarded quads each showing an animated explosion by fiddling around with the uv-coordinates (the texture contains multiple states of the explosion in a sprite sheet). Your texture is just some fire texture...in the best case, you would see some fire textured quads.

Anyway, i've no idea what your screen shot shows, so.... ???
Title: Re: Robombs Source
Post by: AGP on February 02, 2014, 04:48:43 pm
Me neither. Would you let me see your texture? Should I just download the game itself and get it?
Title: Re: Robombs Source
Post by: EgonOlsen on February 02, 2014, 05:22:00 pm
Yes, the resources are all included in the game. You can download the small zipped version that doesn't include the installer and/or the jvm.