racdew Posted September 11 Share Posted September 11 (edited) Hi everyone! I have a problem with exporting the assembled animation to Maya in fbx format The animation of the tower itself was built using this tutorial The main problem with outputting animations in fbx format: -The animations are in the cache and not cached with the keys exposed as I have done before through the SOP of the network -And for some reason the model is broken into separate pieces that were triangulated Maybe someone has encountered a similar problem and can tell you how to solve it Attached screenshots and source of my project Edited September 12 by racdew Quote Link to comment Share on other sites More sharing options...
Sepu Posted September 11 Share Posted September 11 Do not use .fbx to export back to Maya, either use an .abc or .usd Quote Link to comment Share on other sites More sharing options...
racdew Posted September 12 Author Share Posted September 12 11 hours ago, Sepu said: Do not use .fbx to export back to Maya, either use an .abc or .usd I need only fbx for the project, alembic is not stored in Maya file only in cache, on the output I want to get from this baked animation on transforms with keys on timeline Quote Link to comment Share on other sites More sharing options...
tamagochy Posted September 12 Share Posted September 12 There is no keys in simulation and you cant get them with export. If you need keys per each piece you can bake them after simulation and export baked geometry 1 Quote Link to comment Share on other sites More sharing options...
racdew Posted September 12 Author Share Posted September 12 2 hours ago, tamagochy said: There is no keys in simulation and you cant get them with export. If you need keys per each piece you can bake them after simulation and export baked geometry Can you tell me which nodes are responsible for this? Or at least a similar tutorial if you have one, because I have not found anything similar for my situation( Quote Link to comment Share on other sites More sharing options...
tamagochy Posted September 15 Share Posted September 15 There is no simple solution to this. First of all where you need keys on obj level or inside geo sop? If on obj level you need to create geo sop per each piece, extract transforms and apply to geo sop and put pies to origin than bake animation with python script. if in geo sop you can just bake with python script. this is example script for bake camera you need to modify it: import hou selectedNode = hou.selectedNodes()[0] bakingNode = hou.node('/obj').createNode('cam', selectedNode.name() + '_bake') hou.setFrame(int(hou.playbar.playbackRange()[0])) for f in range(int(hou.playbar.playbackRange()[0]), int(hou.playbar.playbackRange()[1])+1): hou.setFrame(f) bakingNode.setWorldTransform(selectedNode.worldTransform()) bakingNode.parm("tx").setKeyframe(hou.Keyframe(bakingNode.parm("tx").eval())) bakingNode.parm("ty").setKeyframe(hou.Keyframe(bakingNode.parm("ty").eval())) bakingNode.parm("tz").setKeyframe(hou.Keyframe(bakingNode.parm("tz").eval())) bakingNode.parm("rx").setKeyframe(hou.Keyframe(bakingNode.parm("rx").eval())) bakingNode.parm("ry").setKeyframe(hou.Keyframe(bakingNode.parm("ry").eval())) bakingNode.parm("rz").setKeyframe(hou.Keyframe(bakingNode.parm("rz").eval())) bakingNode.parm('focal').setKeyframe(hou.Keyframe(selectedNode.parm('focal').eval())) bakingNode.parm('aperture').setKeyframe(hou.Keyframe(selectedNode.parm('aperture').eval())) bakingNode.parm('near').setKeyframe(hou.Keyframe(selectedNode.parm('near').eval())) bakingNode.parm('far').setKeyframe(hou.Keyframe(selectedNode.parm('far').eval())) bakingNode.parm('resx').setKeyframe(hou.Keyframe(selectedNode.parm('resx').eval())) bakingNode.parm('resy').setKeyframe(hou.Keyframe(selectedNode.parm('resy').eval())) bakingNode.parm('winsizex').setKeyframe(hou.Keyframe(selectedNode.parm('winsizex').eval())) bakingNode.parm('winsizey').setKeyframe(hou.Keyframe(selectedNode.parm('winsizey').eval())) bakingNode.parm('shutter').setKeyframe(hou.Keyframe(selectedNode.parm('shutter').eval())) bakingNode.parm('aspect').setKeyframe(hou.Keyframe(selectedNode.parm('aspect').eval())) Quote Link to comment Share on other sites More sharing options...
Librarian Posted September 16 Share Posted September 16 maybe it can be useful @racdew example_bakeAnimation(1).hipnc Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.