Horde3D

Next-Generation Graphics Engine
It is currently 27.11.2024, 08:27

All times are UTC + 1 hour




Post new topic Reply to topic  [ 2 posts ] 
Author Message
PostPosted: 13.07.2009, 15:34 
Offline

Joined: 02.05.2009, 10:30
Posts: 8
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 ;)


Top
 Profile  
Reply with quote  
PostPosted: 13.07.2009, 15:42 
Offline

Joined: 22.11.2007, 17:05
Posts: 707
Location: Boston, MA
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> 

_________________
Tristam MacDonald - [swiftcoding]


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

All times are UTC + 1 hour


Who is online

Users browsing this forum: No registered users and 16 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group