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 

osgAnimation depth of Skeleton update


 
Post new topic   Reply to topic    OpenSceneGraph Forum Forum Index -> General
View previous topic :: View next topic  
Author Message
sbrkopac
User


Joined: 14 Jun 2018
Posts: 21

PostPosted: Mon Apr 08, 2019 11:13 pm    Post subject:
osgAnimation depth of Skeleton update
Reply with quote

Hi All,

I'm currently trying to parse in a custom file format and I'm running into issues generating a proper skeleton hierarchy for it. It doesn't look like the osgAnimation::Skeleton traverses all the way down the bone hierarchy. I've created a minimal example here: https://gist.github.com/sbrkopac/2ea619b90573c4cb25af639589c31e2d

It's possible my understanding of osgAnimation is incorrect. Any insight would be greatly appreciated.

Thanks, Sam

edit: I've updated the test program a bit. It looks like the children that I add to the bones get removed(?) or cleaned up somewhere. If I leave the vecLookup the way it is then I only see 3 DTORs get called for the bones. If I change the vector hold a ref_ptr then I see the appropriate DTORs. As I run through it with my debugger the children end up getting reported as 0 but I don't see any destruction of the Bones happening.
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 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 How to reset osgAnimation (put the an... GiacomoB General 1 Fri Jul 26, 2019 12:11 pm View latest post
No new posts problem about reconstructing world co... swaggydong General 0 Sun Jun 23, 2019 8:26 am View latest post
No new posts Volume Rendering and Depth Buffer AnnieOwl General 5 Fri Apr 12, 2019 5:20 pm View latest post
No new posts Update node color on demand dhhabyc General 12 Sat Nov 24, 2018 3:05 pm View latest post
No new posts update node in view using cullcallback sirian_ye General 2 Wed Aug 29, 2018 11:40 pm 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