![]() |
SLProject
4.2.000
A platform independent 3D computer graphics framework for desktop OS, Android, iOS and online in web browsers
|
This page gives an overview of things to consider when preparing models created in the 3D software Blender for use in SLProject.
Units in SLProject are metric, 1 unit = 1 meter. For an easier workflow we recommend setting the units in blender to metric a well.
SLProject uses Y up, to work in blender with Y up you can do the following.
[TODO: Add image showing the Y up rotation settings]
You can now work with Y up inside of blender and don't have to rotate imported models by hand when importing them. This step makes working with models and skeletons inside of SLProject easier. If you don't need to manipulate any of the data you can of course work normally with Z up in blender and simply rotate the parent node in SLProject.
When exporting animations make sure that your animation has a keyframe on its last frame. Blender will ignore the set 'End Frame' when exporting anduse the last keyframe as the length of the animation.
Multiple animations. Blender doesn't support the exporting of multiple animations in a single file (Collada) at the time of this writing. This is why it is required to export the file once for each different animation. However SLProject also doesn't support the importing of extra animations in different files at the moment, so for now you can only import a single animation per model.
[TODO: Add images showing exporting to collada file]
You can now import your model in SLProject, view the example scenes on how to do this.