News:

Please help making MegaGlest rock-stable by testing the pre-release snapshots.

Main Menu

[DONE] particles for tileset models

Started by titi, 16 September 2010, 10:11:55

titi

What about the idea to allow particles in tileset models? This would allow cool effects in tilesets like:
- smoking volcanos
- waterobjects emitting fog
- sparkling objects of all kind
- blooding statues

current definition:

              <object walkable="false">
<model path="models/vulcan1.g3d"/>
<model path="models/vulcan2.g3d"/>
</object>


new definition:

              <object walkable="false">
<model path="models/vulcan.g3d">
                               <particles value="true">
    <particle-file path="fire_particles.xml"/>
    <particle-file path="smoke_particles2.xml"/>
       </particles>
                       </model>

<model path="models/vulcan.g3d"/>
</object>



Try Megaglest! Improved Engine / New factions / New tilesets / New maps / New scenarios

Gabbe

Well, yeah, making the tilseset models have the same opportunities as faction models would also be cool. Maybe just give the tileset the same options as a faction?

ElimiNator

#2
I wanted this for a long time for a volcano and eventual maybe water falls.
Get the Vbros': Packs 1, 2, 3, 4, and 5!

John.d.h

It might be kinda cool, as long as the modders use it responsibly.  If every tileset object has some particle effect, I don't know if anybody will be able to run it. :|

(By the way, the English word is "volcano". ;))

Ishmaru

True... Perhaps Tileset particles should have their own on off switch in the menu as they will be a huge tax on the system especially for very object dense maps.

I still like the idea of tileset particles though!
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

Omega

I'm with john. Burning trees is a bad idea, but a few smaller things could be nice... Of course, it comes down to the map a bit too... For example, volcano would be the large stone object, so people who make mountains or large lines of those stones (one of the most common uses of the object) could end up a very ugly effect if they are all smoking (not to mention the low end computers may have trouble).

In addition to a switch, it's important to render only nearby particles (ie: what the camera can see and a small "padding" area around the camera).
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert

kagu

What about GIF images , like waving grass etc.
Megaglest Chat
Please support:
1. CEGUI 2. In-process games 3. Registered Players
Playtime:
Every Sunday 21:00 - 01:00 CET

Ishmaru

Quote from: alket on 27 August 2014, 23:48:21
What about GIF images , like waving grass etc.

You can animate the g3d that the grass texture is on, that would probably be more efficient way of doing animated grass.
Annex: Conquer the World Release 4 For Pc Mac + Linux
https://forum.megaglest.org/index.php?topic=9570.0
Annex is now on Facebook!
https://www.facebook.com/AnnexConquer

Omega

Although I think that alket is referring to animated ground textures. I think this would have very limited usefulness. However, if ever implemented, GIFs are probably a bad idea. They're limited to 256 colors, which hinders quality (although might not be a big issue since ground textures tend to use a small number of similar colors). More for consistency than quality, animated ground textures could be implemented like water textures currently are.

But again, I'm not sure how useful these would be. It seems like proper use of animated objects and particles for those objects, combined with tileset fog would be better looking.
Edit the MegaGlest wiki: http://docs.megaglest.org/

My personal projects: http://github.com/KatrinaHoffert