Current version: 0.29.17
>GeeXLab homepage

Current version: 1.21.1
>FurMark homepage

GPU Caps Viewer
Current version:
>GPU Caps Viewer homepage

GPU Shark
Current version:
>GPU Shark homepage

>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

Current version: 0.3.0
>TessMark homepage

Current version: 0.3.0
>ShaderToyMark homepage
>ShaderToyMark Scores

Current Version: 1.23.0
>Libraries and Plugins
>Online Help - Reference Guide
>Codes Samples

3D Graphics Search Engine:

The Geeks Of 3D

oZone3D.Net - Demoniak3D Developer Guide

» Back To Index

The <motion_path> node


The motion_path is a space curve which describes a trajectory that objects will follow. This curve is, in the current version of Demoniak3D, governed by the Bézier splines equations.

A motion_path is composed of an unspecified number of spatio-temporal points called keyframes. To each keyframe corresponds a space position, a temporal value (not yet used in Hyperion) and a tangent which makes allows to locally model the curve.

Demoniak3D is delivered with a 3D utility, the 3DCameraPathEditor, which allows to visually build any number of motion-paths and to directly export them as ready to use XML codes:

General syntax

	display_keyframe_index="TRUE" >
			z="0.0" />
			z="0.0" />

motion_path element

motion_path is the xml tag that defines a motion_path node.

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

  • num_segments_per_patch - [INTEGER] - specifies the number of segments for each Bézier path. The bigger is this number of segments, the softer will be the animation (or displacement) along the curve - default value: 1000

  • display_keyframe_index - [BOOLEAN] - displays (TRUE) or hides (FALSE) the keyframes index numbers. The index of a keyframe is directly linked to the typing order of the keyframes in the xml code - default value: FALSE

keyframe element

keyframe makes it possible to create subnodes for each keyframe.

key element

key specifies the position of the keyframe in the 3d scene.

  • x - [REAL] - X coordinate of the position - default value: 0.0
  • y - [REAL] - Y coordinate of the position - default value: 0.0
  • z - [REAL] - Z coordinate of the position - default value: 0.0

tangent element

tangent allows to specify the tangent vector to the curve at the keyframe position level. The tangent vector is a half tangent and is obtained by calculating the difference between the position of the keyframe and another position in space, precisely the one that is specified using this instruction.

When the rendering of the tangents is activated in an object node (with the display_motion_path_tangents attribute of the gizmo for example) the half tangent which one specifies appears yellow (the other half tangent is green).

  • x - [REAL] - X coordinate of the position - default value: 0.0
  • y - [REAL] - Y coordinate of the position - default value: 0.0
  • z - [REAL] - Z coordinate of the position - default value: 0.0

GeeXLab demos

GLSL - Mesh exploder

PhysX 3 cloth demo

Normal visualizer with GS

Compute Shaders test on Radeon

Raymarching in GLSL

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