My Account


RSS
oZone3D.Net RSS Feeds»RSS 2.0 Feeds

Blogs
»Demoniak3D Blog
»JeGX's Infamous Lab

Sponsors

Modul8: real time video mixing and compositing


Link to Us

oZone3D.Net 100% Realtime 3D

»All Links

Web Partners

www.geeks3d.com
www.benchmarkhq.ru
www.tdt3d.com
www.steph3d.net
www.g-truc.net
www.worldpcspecs.com


Banners Exchange

www.jmax-hardware.com
cgindia.blogspot.com
grapejuice.c.la
www.game-lab.com


Links Exchange

»CYGAD's 3DXtra

Search
Google
Web
oZone3D.Net
 
oZone3D.Net - Demoniak3D Developer Guide


» Back To Index

The <particle_system_action> node

Function

The particle_system_action node describes an action that allows to modify the basic characteristics of a particle (speed, size, color, etc...).

General syntax

<particle_system_action
	name=""
	master_object=""
	type="GRAVITY" >

	<color_final_color
		r="0.0" 
		g="0.0" 
		b="0.0" 
		a="0.0" />
		
	<color_variation_velocity
		r="0.001" 
		g="0.001" 
		b="0.001" 
		a="0.0" />

	<gravity_vector
		x="0.0" 
		y="0.0" 
		z="0.0" />
	
	<orbit_point_acceleration_vector
		x="0.0" 
		y="0.0" 
		z="0.0" />

	<size_final_size
		x="10.0" 
		y="10.0"  />
	
	<size_variation_velocity
		x="10.0" 
		y="10.0" />
</particle_system_action>

particle_system_action element

particle_system_action is the xml tag that defines a particle_system_action node.

Attributes:
  • name - [STR127] - name of the node. This name will make it possible to refer this node throughout the XML script.

  • master_object - [STR127] - name of the node representing the reference object. the meaning of master_object dependends on the type of the action.

  • type - [ENUM] - action type:

gravity_vector element

gravity_vector specifies the value of the gravity vector.

Attributes:
  • x - [REAL] - X component of the gravity vector - default value: 0.0
  • y - [REAL] - Y component of the gravity vector - default value: -10.0
  • z - [REAL] - Z component of the gravity vector - default value: 0.0

size_final_size element

size_final_size specifies the final value of the particles size.

Attributes:
  • x - [REAL] - final width - default value: 10.0
  • y - [REAL] - final height - default value: 10.0

size_variation_velocity element

size_variation_velocity allows to specify the size variation speed at each frame.

Attributes:
  • x - [REAL] - width variation speed - default value: 0.001
  • y - [REAL] - height variation speed - default value: 0.001

orbit_point_acceleration_vector element

orbit_point_acceleration_vector allows to specify the acceleration vector to be applied to the particles.

Attributes:
  • x - [REAL] - X component of the acceleration vector - default value: 10.0
  • y - [REAL] - Y component of the acceleration vector - default value: 50.0
  • z - [REAL] - Z component of the acceleration vector - default value: 10.0

color_final_color element

color_final_color specifies the end value of the particles color.

Attributes:
  • r - [REAL] - final value of the red component of the color - default value: 0.0
  • g - [REAL] - final value of the green component of the color - default value: 0.0
  • b - [REAL] - final value of the blue component of the color - default value: 0.0
  • a - [REAL] - final value of the alpha component of the color - default value: 0.0

color_variation_velocity element

color_variation_velocity allows to specify the variation speed the color at each frame.

Attributes:
  • r - [REAL] - value of the variation speed of the red component - default value: 0.001
  • g - [REAL] - value of the variation speed of the green component - default value: 0.001
  • b - [REAL] - value of the variation speed of the blue component - default value: 0.001
  • a - [REAL] - value of the variation speed of the alpha component - default value: 0.0




Language:


Demoniak3D
Current Version: 1.23.0
»Demoniak3D
»Download
»Libraries and Plugins
»Demos
»Online Help - Reference Guide
»Codes Samples


GPU Caps Viewer
Current Version: 1.5.0
»GPU Caps Viewer
»GPU DB Submissions


FurMark
Current Version: 1.4.0
»FurMark
»Benchmark Submissions


Geeks3D News
Page generated in 0.079893827438354 seconds.