Sketchup Animation
-
I was woundering if it possible to do a animation in sketchup and export it as xml format mate with the information in the xml .
-
What is this for? What type of information needs to be exported into the xml file? Camera location at each frame? Or objects trasnformations at keyframes? Or vertex locations for each and every vertex during the animation? etc. There are lots of options, but what do you really need? My first reaction to your request is that it won't work how you are hoiping - but it depends on what you really are looking for, and how much work you are willing to put into it to make it happen.
-
Like this below .
<?xml version="1.0" encoding="UTF-8"?> (This part is automatically in line 1. Leave it alone)
<model xmlns="http://rct3.sourceforge.net/rct3xml/model">
<system handedness="(Left or Right)" up="z"/>
<animation name="(Whatever the name of your animation is)">
<bone name="(The name of the bone you wish to animate)" >
<translate time="0.000000" x="0.000000" y="0.000000" z="0.000000"/>
<translate time="0.000000" x="0.000000" y="0.000000" z="0.000000"/>
<rotate time="0.000000" x="0.000000" y="0.000000" z="0.000000"/>
<rotate time="0.000000" x="0.000000" y="0.000000" z="0.000000"/>
</bone>I know you can animationing in blender but sketchup easier so if could do my model animation like make box that move up and down. Then export the animation with right bone movement it would be perfect.
</animation>
</model>Translate = Moving up, down, left, and right.
Rotate = Rotation.
Time = The time of the animation.
xyz = The positions not only in sketchup, but in the game as well -
Yeah, nothing that detailed really exists in SketchUp. It would be possible to make a ruby scriptt hat could let you make animations and export those animations into xml. That is a fairly big project though. If you learn ruby, you could write it yourself, but I do think it would be a big project to get it fully useable.
-
Ok thank and one mmore question do you know how to get model from sketchup in to blender with all it textures so cando the animation there.
-
Blender should be able to read collada (SU exports into dae or kmz). You may have better results with older SU versions (SU 6 and 7 Pro are still available for download - after the 8 hours of evaluation period expires, they revert back to the functionalities of the fre version but these export options are there for the free, too).
Advertisement