Horde3D
http://horde3d.org/forums/

Increase the size of horde-particles
http://horde3d.org/forums/viewtopic.php?f=2&t=839
Page 1 of 1

Author:  dubbyconqueror [ 13.07.2009, 15:34 ]
Post subject:  Increase the size of horde-particles

Hello guys,

In my horde scene i have a vulcano, which is spreading ash clouds. These ash clouds should be very large, so that they can be seen from far, far away. For the start i'm using the particle effect from the knight example. The problem is: the particles are very small but my scene and the volcano are very large, so the particles are too small too be seen when you're far away.

How can i increase the size of the particles in horde? I didn't find any "switch" in the particle.material nor the particle scene. And i also don't know how to change the size of the particles directly in my program.
It seems to me that there is no simple mechanism to do that, is that right?

I hope someone has an answer for me, cause tomorrow i have to "release" my little horde project tomorrow ;)

Author:  swiftcoder [ 13.07.2009, 15:42 ]
Post subject:  Re: Increase the size of horde-particles

Look in the Content directory, and you will find the xml files that define each particle system. One of the channels allows you to specify the size:
Code:
<ParticleEffect lifeMin="5.0" lifeMax="10.0">
        
        
<ChannelOverLife channel="moveVel" startMin="3.0" startMax="3.0" endRate="0.0" />
        <ChannelOverLife channel="rotVel" startMin="210" startMax="210" endRate="0.57" />
        
                 
<!-- Next line controls size -->
        
        
<ChannelOverLife channel="size" startMin="0.4" startMax="0.4" endRate="1.0" />
        
        
<ChannelOverLife channel="colR" startMin="0.4" startMax="0.6" endRate="0.0" />
        <ChannelOverLife channel="colG" startMin="0.2" startMax="0.3" endRate="0.0" />
        <ChannelOverLife channel="colB" startMin="0.1" startMax="0.2" endRate="0.0" />
        <ChannelOverLife channel="colA" startMin="0.1" startMax="0.2" endRate="10.0" />
        
</ParticleEffect> 

Page 1 of 1 All times are UTC + 1 hour
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/