Java-Gaming.org
Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
Featured games (78)
games approved by the League of Dukes
Games in Showcase (405)
games submitted by our members
Games in WIP (289)
games currently in development
News: Read the Java Gaming Resources, or peek at the official Java tutorials
 
    Home     Help   Search   Login   Register   
Pages: [1]
  ignore  |  Print  
  glowing spaceship engine  (Read 771 times)
0 Members and 1 Guest are viewing this topic.
Offline vrm

Junior Member




where I should sign ?


« Posted 2004-05-11 15:10:28 »

how it's possible to make this kind of effects ? :

 Roll Eyes
Offline Mojomonkey

Senior Member




ooh ooh eee eeee


« Reply #1 - Posted 2004-05-11 15:32:25 »

Typically, engine blasts are a particle system.

Don't send a man to do a monkey's work.
Offline abies

Senior Member





« Reply #2 - Posted 2004-05-11 15:54:42 »

I think it is Eve Online screenshot, isn't it ? Smiley

Let's ignore the wide glow very near engine at the moment - it is easy to do in similar way as longer one.

There are two basic ways to do this - with billboard shape and with few quads. In both cases, you construct long quad (in fact more than 1, but for now let's focus on 1) starting from engine, ending in space and texture it with glow texture. You can probably even manage with 1-dimensional texture, but 2-dimensional should give you more control over shape of end of trail. Then, you make it transparent (do-not-write-depth buffer, src-alpha + dst-one blending to get lighten effect). To make trail visible from all sides, you need to billboard quad (around axis corresponding to movement of ship) or use 2 or 3 quads in form of cross/hexcross(??). 3 quads are a bit more resource expensive, but look at bit better when looked at from behind a ship.

This will of course work only for ship flying in one direction - if you want to make trails which mirror past movement of ship, you will need to divide long quad into smaller segments (here 3-quad idea is even better, as you won't need to billboard hundreds of quads each frame). How many segments ? Make it configurable (maybe even by player depending on power of his GPU). As long as you are not playing lightcycle/TRON with ships, probably 20-500 should be reasonable range to experiment with.

BTW, at some point in past, I have made a java3d loader for eve ships with textures (thus I was able to check how titans and jovian ships look like Wink ). It is trivial to do (at least was a year ago, maybe they have changed a file format since then) - so if you want to play with space game, you could write something like this yourself and use it for internal testing, before you will manage to secure your own models. Of course, I would suggest not distributing anything based on it, or, God forbid, containing some models from Eve - this is just for bootstrapping your engine.

Artur Biesiadowski
Games published by our own members! Check 'em out!
Play the free demo of Revenge of the Titans!
Offline vrm

Junior Member




where I should sign ?


« Reply #3 - Posted 2004-05-12 06:53:14 »

yes it's eve screenshot (I'm busted  Roll Eyes )

thanks for this enligthing Smiley

I made 2 ships models (not great, just ok for testing)

I'm going to look at billboarding, and give the results
Pages: [1]
  ignore  |  Print  
 
 
You cannot reply to this message, because it is very, very old.

Play Revenge of the Titans! The situation is critical. We need fancy commanders to defend Earth, the moon, Mars!
 
Get high quality music tracks for your game!

Add your game by posting it in the WIP section,
or publish it in Showcase.

The first screenshot will be displayed as a thumbnail.

The invasion has landed! On Mars! And you're there to beat 'em!
cubemaster21 (58 views)
2013-05-17 21:29:12

alaslipknot (67 views)
2013-05-16 21:24:48

gouessej (97 views)
2013-05-16 00:53:38

gouessej (94 views)
2013-05-16 00:17:58

theagentd (105 views)
2013-05-15 15:01:13

theagentd (96 views)
2013-05-15 15:00:54

StreetDoggy (142 views)
2013-05-14 15:56:26

kutucuk (164 views)
2013-05-12 17:10:36

kutucuk (163 views)
2013-05-12 15:36:09

UnluckyDevil (173 views)
2013-05-12 05:09:57
Complex number cookbook
by Roquen
2013-04-24 12:47:31

2D Dynamic Lighting
by Oskuro
2013-04-17 16:46:12

2D Dynamic Lighting
by Oskuro
2013-04-17 16:45:57

2D Dynamic Lighting
by Oskuro
2013-04-17 16:23:20

Noise (bandpassed white)
by Roquen
2013-04-05 17:36:01

Noise (bandpassed white)
by Roquen
2013-04-03 16:17:38

Java Data structures
by Roquen
2013-03-29 13:21:12

Topic Request
by kutucuk
2013-03-22 21:42:01
Powered by MySQL Powered by PHP Powered by SMF 1.1.18 | SMF © 2013, Simple Machines | Managed by Enhanced Four Valid XHTML 1.0! Valid CSS!
Page created in 0.109 seconds with 20 queries.