OpenSceneGraph Forum Forum Index OpenSceneGraph Forum
Official forum which mirrors the existent OSG mailing lists. Messages posted here are forwarded to the mailing list and vice versa.
 
   FAQFAQ    SearchSearch    MemberlistMemberlist    RulesRules    UsergroupsUsergroups    RegisterRegister 
 Mail2Forum SettingsMail2Forum Settings  ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
   AlbumAlbum  OpenSceneGraph IRC ChatOpenSceneGraph IRC Chat   SmartFeedSmartFeed 

Animated 3d-models for OSG


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [3rdparty]
View previous topic :: View next topic  
Author Message
aldaril_kote
Newbie


Joined: 15 Sep 2014
Posts: 17

PostPosted: Mon Sep 22, 2014 8:54 am    Post subject:
Animated 3d-models for OSG
Reply with quote

Hi,

I have .osgt file with valid 3d-model. It has one animation for all elements of the scene. As I saw in OSG examples (nathan.osg and bignathan.osg) it is possible to create a file with several separate animations. But as far as I know, 3dsmax and Blender can make animations in one timeline only, i.e. one animation per scene.
So the question is - what 3d-editor was used to create nathan.osg and bignathan.osg? In other words, what 3d-editor may be used for creation of one scene with several separate animations?

Thank you!

Cheers,
Maxim
Back to top
View user's profile Send private message
Sergey Kurdakov
Appreciator


Joined: 12 May 2009
Posts: 188

PostPosted: Mon Sep 22, 2014 10:10 am    Post subject:
Animated 3d-models for OSG
Reply with quote

Hi Maxim,


I do not work with animations much for quite a while, so take this with grain of salt,


Either fbx or collada files could have multiple animations.

As they are text files ( as well as osgt itself ) - it is possible just do some cut an paste work with text editor.



when being converted to osg - those animations will be preserved.

Otherwise such packages as Motion BuilderĀ  allow to put several animations.


Regards
Sergey


On Mon, Sep 22, 2014 at 12:54 PM, Maxim Kuzmin < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi,

I have .osgt file with valid 3d-model. It has one animation for all elements of the scene. As I saw in OSG examples (nathan.osg and bignathan.osg) it is possible to create a file with some separate animations. But as far as I know, 3dsmax and Blender can make animations in one timeline only, i.e. one animation per scene.
So the question is - what 3d-editor was used to create nathan.osg and bignathan.osg? In other words, what 3d-editor may be used for creation of one scene with some separate animations?

Thank you!

Cheers,
Maxim

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61102#61102





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
aldaril_kote
Newbie


Joined: 15 Sep 2014
Posts: 17

PostPosted: Tue Sep 23, 2014 9:50 am    Post subject:
Reply with quote

Hi,

FBX has only one animation and this is well-known feature. Collada DAE has several animations, but osg parses them as one big animation. Osgconv converts this .dae file to .osgt file with one animation. So, it seems that this solution doesn't work.
Is there any other way to get separate animations? Unfortunately, copy-paste method is unacceptable.

Thank you!

Cheers,
Maxim
Back to top
View user's profile Send private message
Sergey Kurdakov
Appreciator


Joined: 12 May 2009
Posts: 188

PostPosted: Tue Sep 23, 2014 10:37 am    Post subject:
Animated 3d-models for OSG
Reply with quote

Hi

Quote:
FBX has only one animation and this is well-known feature.


no, it is well known that Max supports one animation in FBX, but FBX itself can support multiple animations and Motion Builder is a tool to work with them.


Regards
Sergey


On Tue, Sep 23, 2014 at 1:50 PM, Maxim Kuzmin < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Hi,

FBX has only one animation and this is well-known feature. Collada DAE has several animations, but osg parses them as one big animation. Osgconv converts this .dae file to .osgt file with one animation. So, it seems that this solution doesn't work.
Is there any other way to get separate animations? Unfortunately, copy-paste method is unacceptable.

Thank you!

Cheers,
Maxim

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61119#61119





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
aldaril_kote
Newbie


Joined: 15 Sep 2014
Posts: 17

PostPosted: Tue Sep 23, 2014 1:36 pm    Post subject:
Second question
Reply with quote

Thanks for reply, Sergey! I have another question now.
I have .dae file with 3d-model made with 3ds Max. I've read its code and found out, that there are several animations inside <library_animations> tag. But in my OSG program I still have only one animation in list. Why so?
Back to top
View user's profile Send private message
Sergey Kurdakov
Appreciator


Joined: 12 May 2009
Posts: 188

PostPosted: Tue Sep 23, 2014 1:52 pm    Post subject:
Animated 3d-models for OSG
Reply with quote

Hi Maxim,

Quote:
But in my OSG program I still have only one animation in list. Why so?


cannot say, maybe some else will help you with this.

butĀ  possibly collada to fbx converter ( such as http://usa.autodesk.com/adsk/servlet/pc/item?siteID=123112&id=20481519 ) will make a trick?


Regards
Sergey

On Tue, Sep 23, 2014 at 5:36 PM, Maxim Kuzmin < (
Only registered users can see emails on this board!
Get registred or enter the forums!
)> wrote:
Quote:
Thanks for reply, Sergey! I have another question now.
I have .dae file with 3d-model made with 3ds Max. I've read its code and found out, that there are several animations inside <library_animations> tag. But in my OSG program I still have only one animation in list. Why so?

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=61128#61128





_______________________________________________
osg-users mailing list
(
Only registered users can see emails on this board!
Get registred or enter the forums!
)
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org




------------------
Post generated by Mail2Forum
Back to top
View user's profile Send private message
tomhog
Appreciator


Joined: 30 Apr 2009
Posts: 184

PostPosted: Wed Sep 24, 2014 12:41 am    Post subject:
Reply with quote

Hi

This has been discussed before.

http://forum.openscenegraph.org/viewtopic.php?t=8161&view=next

I made a little tool to split the long animation into sub animations using an xml config file. Worked well when I needed it, but not been tested in a while

Tom

PS
With some work maybe this could be included into osgconv as this topic has come up a few times
Back to top
View user's profile Send private message
tomhog
Appreciator


Joined: 30 Apr 2009
Posts: 184

PostPosted: Wed Sep 24, 2014 12:47 am    Post subject:
Reply with quote

PPS

3DS max itself does not understand multiple animations in a single file, which is why nothing exports from it properly.
Back to top
View user's profile Send private message
aldaril_kote
Newbie


Joined: 15 Sep 2014
Posts: 17

PostPosted: Wed Sep 24, 2014 5:58 am    Post subject:
Reply with quote

Hi,

Thanks for your reply, tomhog! Could you reload your configuration file? XML isn't allowed here, so please, left the file without extension.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General [3rdparty] All times are GMT
Page 1 of 1

 
Jump to:  
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
You cannot vote in polls in this forum
You cannot attach files in this forum
You cannot download files in this forum

Similar Topics
Topic Author Forum Replies Posted
No new posts OSG Models in obj format jaisingla General 0 Mon Sep 18, 2017 4:55 am View latest post
No new posts OSG Models in obj format jaisingla General 0 Mon Sep 18, 2017 4:54 am View latest post
No new posts OSG Models in obj format jaisingla General 0 Mon Sep 18, 2017 4:53 am View latest post
No new posts OSG Models in obj format jaisingla General 0 Mon Sep 18, 2017 4:48 am View latest post
No new posts OSG compatible models in obj and othe... jaisingla General 0 Mon Sep 18, 2017 4:45 am View latest post


Board Security Anti Bot Question MOD - phpBB MOD against Spam Bots
Powered by phpBB © 2001, 2005 phpBB Group
Protected by Anti-Spam ACP