Hi !
Featured games (90)
games approved by the League of Dukes
Games in Showcase (710)
Games in Android Showcase (212)
games submitted by our members
Games in WIP (784)
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 1221 times)
0 Members and 1 Guest are viewing this topic.
Offline vrm

Junior Devvie

where I should sign ?

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

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

 Roll Eyes
Offline Mojomonkey

Senior Devvie

ooh ooh eee eeee

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

Typically, engine blasts are a particle system.

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

Senior Devvie

« Reply #2 - Posted 2004-05-11 13: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!
Legends of Yore - The Casual Retro Roguelike
Offline vrm

Junior Devvie

where I should sign ?

« Reply #3 - Posted 2004-05-12 04: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.

numerical (71 views)
2017-02-21 07:32:16

numerical (72 views)
2017-02-21 07:31:46

theagentd (176 views)
2017-02-18 13:42:33

theagentd (179 views)
2017-02-18 13:35:16

h.pernpeintner (1342 views)
2017-01-24 22:39:11

h.pernpeintner (1330 views)
2017-01-24 22:38:32

Galdo (1891 views)
2017-01-12 13:44:09

Archive (1978 views)
2017-01-02 05:31:41

0AndrewShepherd0 (2517 views)
2016-12-16 03:58:39

0AndrewShepherd0 (2310 views)
2016-12-15 21:50:57
List of Learning Resources
by elect
2016-09-09 09:47:55

List of Learning Resources
by elect
2016-09-08 09:47:20

List of Learning Resources
by elect
2016-09-08 09:46:51

List of Learning Resources
by elect
2016-09-08 09:46:27

List of Learning Resources
by elect
2016-09-08 09:45:41

List of Learning Resources
by elect
2016-09-08 08:39:20

List of Learning Resources
by elect
2016-09-08 08:38:19

Rendering resources
by Roquen
2016-08-08 05:55:21 is not responsible for the content posted by its members, including references to external websites, and other references that may or may not have a relation with our primarily gaming and game production oriented community. inquiries and complaints can be sent via email to the info‑account of the company managing the website of java‑
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!