Geeks3D latest news

FurMark
Current Version: 1.10.1
»FurMark homepage
»FurMark 1.9.x Submissions

GPU Caps Viewer
Current Version: 1.16.0
»GPU Caps Viewer homepage
»GPU DB Submissions

PhysX FluidMark
Current Version: 1.5.0
»FluidMark homepage
»FluidMark 1.4.x Submissions

GeeXLab
Current Version: 0.3.3
»GeeXLab homepage
»GeeXLab Overview

GPU Shark
Current Version: 0.6.3
»GPU Shark homepage

TessMark
Current Version: 0.3.0
»TessMark homepage

ShaderToyMark
Current Version: 0.3.0
»ShaderToyMark homepage
»ShaderToyMark Scores

Blogs
»JeGX's HackLab

Geeks3D's Articles
»GPU Memory Speed Demystified

»Multi-Threading Programming Resources

»GeForce and Radeon OpenCL Overview

»How to Get your Multi-core CPU Busy at 100%

»How To Make a VGA Dummy Plug

»Night Vision Post Processing Filter


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

Language

Language:

3D Graphics Search Engine:

The Geeks Of 3D


 
oZone3D.Net - Demoniak3D Developer Guide


» Back To Index

The <particle_system_obstacle> node

Function

The particle_system_obstacle node specifies the type of obstacle for the flow of particles. An obstacle is an object which makes it possible to change the trajectory of a particle.

The image below, resulting from a Hyperion tutorial HyperGraph 29 shows a POINT type emitter associated with 1 GRAVITY type action and 2 PLANE type obstacles:



General syntax

<particle_system_obstacle />
Noeud exhaustif avec attributs et valeurs par défaut:
<particle_system_obstacle
	name=""
	master_object=""
	type="PLANE"
	bounce="0.3"
	friction="0.4" />

particle_system_obstacle element

particle_system_obstacle is the xml tag that defines a particle_system_obstacle 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] - specifies the object which controls the basic shape of the obstacle.

  • type - [ENUM] - obstacle type:
    • SPHERE
    • PLANE
    • DISC
    type specifies the emitter type, i.e. its basic shape (plan, sphere, disc, etc...). This instruction goes hand in hand with the particle_system_obstacle_master_object insruction: indeed, the characteristics of each type of obstacle (position, radius, length, etc...) are initialized by the node describing the object (called in this context the master-object): please see the primitive node for more information.

  • bounce - [REAL] - specifies the rebound coefficient of the obstacle surface - default value: 0.3

  • friction - [REAL] - specifies the adherence (or friction) factor on the obstacle surface - default value: 0.5



Page generated in 0.056298971176147 seconds.