Follow spline editor
Posted: Wed Jun 27, 2007 5:45 am
hello
I've build a little tool for edit in real time a spline on an .irr scene. It can export spline attributes in xml to use in extern irrlicht app for easy use of the FollowSpline Animator.
I've build it initially to easy create a follow path for my camera , but it can used for other like stuff.
This is a first version created very quickly with maybe some bugs and need improvements but if it can helps you...
http://dakila.free.fr/splineed.zip
features:
- load an irr scene
- edit position of every control points
- add new control point or delete
- render to simulate a camera follow spline
- render to simulate a cube follow spline
- export attributes (controls points, tightness, speed) of spline in xml
CONTROL KEYS
// move position of controls node
1 = -X
2 = +X
3 = -Y
4 = +Y
5 = -Z
6 = +Z
// select control node
+ = next index
- = previous index
// add or delete point control (add after the last, or delete the last)
Q = add
W = delete
// render test
C = Camera follow spline render
V = camera fps
B = cube follow spline render
// increase step of deplacement for node
PAGE UP key = increase step
PAGE DOWN key = decrease step
// files operations
O = OpenFile Dialog for select .irr scene
P = Write xml of spline animator attributes
// speed of deplacement on spline for camera or cube render, need to restart render (key C or B)
S = speed up
D = speed down
// degree of bend for spline
T = +
Y = -
screens
I've build a little tool for edit in real time a spline on an .irr scene. It can export spline attributes in xml to use in extern irrlicht app for easy use of the FollowSpline Animator.
I've build it initially to easy create a follow path for my camera , but it can used for other like stuff.
This is a first version created very quickly with maybe some bugs and need improvements but if it can helps you...
http://dakila.free.fr/splineed.zip
features:
- load an irr scene
- edit position of every control points
- add new control point or delete
- render to simulate a camera follow spline
- render to simulate a cube follow spline
- export attributes (controls points, tightness, speed) of spline in xml
CONTROL KEYS
// move position of controls node
1 = -X
2 = +X
3 = -Y
4 = +Y
5 = -Z
6 = +Z
// select control node
+ = next index
- = previous index
// add or delete point control (add after the last, or delete the last)
Q = add
W = delete
// render test
C = Camera follow spline render
V = camera fps
B = cube follow spline render
// increase step of deplacement for node
PAGE UP key = increase step
PAGE DOWN key = decrease step
// files operations
O = OpenFile Dialog for select .irr scene
P = Write xml of spline animator attributes
// speed of deplacement on spline for camera or cube render, need to restart render (key C or B)
S = speed up
D = speed down
// degree of bend for spline
T = +
Y = -
screens