Java-Gaming.org    
Featured games (81)
games approved by the League of Dukes
Games in Showcase (499)
Games in Android Showcase (118)
games submitted by our members
Games in WIP (567)
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 885 times)
0 Members and 1 Guest are viewing this topic.
Offline vrm

Junior Member




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 Member




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 Member





« 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 Member




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.

 

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

The first screenshot will be displayed as a thumbnail.

Pippogeek (39 views)
2014-09-24 16:13:29

Pippogeek (30 views)
2014-09-24 16:12:22

Pippogeek (19 views)
2014-09-24 16:12:06

Grunnt (45 views)
2014-09-23 14:38:19

radar3301 (27 views)
2014-09-21 23:33:17

BurntPizza (63 views)
2014-09-21 02:42:18

BurntPizza (33 views)
2014-09-21 01:30:30

moogie (41 views)
2014-09-21 00:26:15

UprightPath (50 views)
2014-09-20 20:14:06

BurntPizza (54 views)
2014-09-19 03:14:18
List of Learning Resources
by Longor1996
2014-08-16 10:40:00

List of Learning Resources
by SilverTiger
2014-08-05 19:33:27

Resources for WIP games
by CogWheelz
2014-08-01 16:20:17

Resources for WIP games
by CogWheelz
2014-08-01 16:19:50

List of Learning Resources
by SilverTiger
2014-07-31 16:29:50

List of Learning Resources
by SilverTiger
2014-07-31 16:26:06

List of Learning Resources
by SilverTiger
2014-07-31 11:54:12

HotSpot Options
by dleskov
2014-07-08 01:59:08
java-gaming.org 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‑gaming.org
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!