Exporting splines from Ofusion, (odd box array bug!(SOLVED)

Evak

09-05-2007 19:21:49

Hi, when I try and export Splines in offusion the spline is drawn in the ogre viewport but small boxes are arrayed along the path. I assume this isn't meant to happen.

Also wondering if it could be possible to change the color of the spline at all?

Here's an image of what I am getting.

Lioric

09-05-2007 23:04:47

These are the knot points (the control points of the spline) and are used to show how many points your spline will have in your application, you can show/hide them or modify its debug size

Any bezier point will produce interpolated points (more points) as Ogre supports a specialisation of Hermite-Spline type only (Catmull-Rom type), if you use Smooth points then it will produce the exact same number of points as you defined

See this video in the knowledgebase about splines for more details:

Working with Splines

Evak

10-05-2007 00:56:43

Ah, excellent... thank you :)

Can you change the color at all, or are you stuck with the default?