Warning: Undefined array key "HTTP_ACCEPT_LANGUAGE" in /home/clients/50536745d503cc9bd290722a231d5f8f/web/includes/o3_common.php on line 79

Deprecated: strpos(): Passing null to parameter #1 ($haystack) of type string is deprecated in /home/clients/50536745d503cc9bd290722a231d5f8f/web/includes/o3_common.php on line 79
oZone3D.Net - Demoniak3D Developer Guide




GeeXLab
Current version: 0.45.1
>GeeXLab homepage

FurMark
Current version: 1.30.0
>FurMark homepage

GPU Caps Viewer
Current version: 1.55.0.0
>GPU Caps Viewer homepage

GPU Shark
Current version: 0.26.0.0
>GPU Shark homepage


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

PhysX FluidMark
Current version: 1.5.4
>FluidMark homepage

TessMark
Current version: 0.3.0
>TessMark homepage

ShaderToyMark
Current version: 0.3.0
>ShaderToyMark homepage
>ShaderToyMark Scores

Demoniak3D
Current Version: 1.23.0
>Demoniak3D
>Download
>Libraries and Plugins
>Demos
>Online Help - Reference Guide
>Codes Samples
 
oZone3D.Net - Demoniak3D Developer Guide


» Back To Index

The <timer> node

Function

The timer node makes it possible to set up an entity (the TIMER) which starts an event at regular intervals. Generally the event is a LUA scripting code.

General syntax

<timer
	name=""
	script=""
	time_out="1000"
	active="TRUE"  />

timer element

timer is the xml tag that defines a timer node.

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

  • active - [BOOLEAN] - enables (TRUE) or disables (FALSE) the timer - default value: TRUE

  • script - [STR255] - location of the script timer to be executed at each timer time-out. The site relates to the xml script. This name can also refer to an already existing LUA script in the XML code.

  • time_out - [INTEGER] - time of the timer in milliseconds. As soon as the time corresponding to the time-out is passed, the script that is specified within the script attribute is executed - default value: 1000


Example:
<timer name="timer02" script="on_timer02_lua" time_out="10" active="TRUE" /> 

<script name="on_timer02_lua" run_mode="ASYNCHRONOUS" >
	<raw_data><![CDATA[	
	
	HYP_Object.SetRoll( "plane2", -0.2 );
    
    ]]></raw_data>
</script> 


GeeXLab demos


GLSL - Mesh exploder


PhysX 3 cloth demo


Normal visualizer with GS


Compute Shaders test on Radeon


Raymarching in GLSL



Misc
>Texture DataPack #1
>Asus Silent Knight CPU Cooler
Page generated in 0.0031261444091797 seconds.