SoftPixel Forum

Official community of the SoftPixel Engine and the SoftPixel Sandbox (REGISTRATION only with consultation with the Admin)
It is currently Sat Mar 17, 2018 11:55 pm

All times are UTC

Post new topic Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Mar 11, 2013 2:16 pm 

Joined: Mon Mar 11, 2013 2:02 pm
Posts: 1
Hello there,

I'm playing around with SP Engine and it looks very promising ! Impressive work !

I have few questions, more like "developer scenario" to ask.

1) Importing / rendering camera animation

Let's imagine a typical 3d fly-by animation, or casual ingame cut-scene. A designer prepares everything in 3ds max - animation, camera movement, models, textures etc - and now what ?
Does developer have to add all textures to objects manually ? Is there "auto-load" for all textures in .3ds file or any exported file format ?
How about keyframing ? What is most important for me at this level is camera animation - a typical .3ds animation file.

2) Rendering "scene stack"

There's plenty of examples of using Blender special features like physics or mercury animation and then - exporting each frame as .obj file. Then in source code - animation is loaded as let's say :
vector <scene*> scene_animation;

for (int i=0; i<100; i++)

later on -


How do I create such "stack of scenes" ?

3) Texture cache

In example mentioned above - auto load for textures would create 100+ instances of the same texture for each scene/model. Is ther any workaround ? Any texture caches or something ?

4) A simplified example please... :)

A nice example for loading .3ds or other format that contain animation with camera etc is most welcome. Imagine let's say 3d hidden object game, where actually you're not pointing hidden images from 2d image, but actually selecting objects from 3d scene. What developer need is :


while (something)
playscene(camera, timer); // camera / frame_number


A lot of questions... I know... but so far since releasing clax library by borzom - I haven't seen any "import & play" .3ds library.

I'm not obstaining with using .3ds format - any other format that have a complete scene & camera information is most welcome.

PostPosted: Mon Mar 11, 2013 5:45 pm 
Site Admin
User avatar

Joined: Sat Jul 07, 2012 5:58 pm
Posts: 540
Location: Germany
The 3DS model loader only supports static meshes. No animations, no camera information.

The following 3D model loaders supports skeletal animations: B3D, MS3D, SPM.
And the following 3D model loaders supports morph-target animations: MD2, MD3.

To create camera information you could use the SoftPixel Sandbox but using animations in that level editor is currently only slightly usable.

To cache textures you can use the video::RenderSystem::getTexture function.

But what do you mean with "a stack of scenes"??

My latest project:
- The XièXiè Programming Language

My hardware:
- GIGABYTE GeForce GTX 670
- Intel Core i7 (Ivy-Bridge)
- 16 GB DDR3

PostPosted: Sat Feb 01, 2014 7:20 am 

Joined: Sat Feb 01, 2014 7:08 am
Posts: 1
Today I've got the Capsule-to-Mesh collision model :D
Now I want to add a nice Character-Controller interface.

I hope I will also get the Character-Controllers working for the integrated Physics-Engines soon.


Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC

Who is online

Users browsing this forum: No registered users and 1 guest

You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group