Re: Issue 12 in opencollada: Animation: Visibility animation not saved under Max

7 views
Skip to first unread message

openc...@googlecode.com

unread,
May 7, 2011, 7:02:11 PM5/7/11
to opencolla...@googlegroups.com

Comment #4 on issue 12 by ch...@teamrobertson.co.nz: Animation: Visibility
animation not saved under Max
http://code.google.com/p/opencollada/issues/detail?id=12

I hate to resurrect this old issue, but I maintain the COLLADA importer for
the Torque game engine, and we have recently run into problems with
visibility animations exported from 3ds max. In all but this feature, the
OpenCOLLADA exporter is superior to the built-in Autodesk one. The Autodesk
exporter outputs the visibility keyframes, but does not include the
animation target. This is detected and corrected by our importer, but we
cannot do anything with the OpenCOLLADA output since the keyframes are not
present.

Although there is no official support in COLLADA for animated visibility,
the COLLADAMaya exporter already supports them by animating a
node 'visibility' element as shown below:

<node id="node-Sphere01" name="Sphere01">
<matrix>1 0 0 1.714086 0 1 0 -7.595023 0 0 1 0 0 0 0 1</matrix>
<instance_geometry url="#geom-Sphere01">
<bind_material>
<technique_common>
<instance_material symbol="ColorMaterial" target="#ColorEffect2"/>
</technique_common>
</bind_material>
</instance_geometry>
<extra>
<technique profile="OpenCOLLADA">
<visibility sid="visibility">1</visibility>
</technique>
</extra>
</node>


I've attached a patch that adds similar support for visibility animation to
the COLLADAMax exporter, and would love to see it become part of the
official build.

Attachments:
colladamax_vis_anim_support.patch 2.9 KB

openc...@googlecode.com

unread,
Jun 15, 2011, 6:30:40 PM6/15/11
to opencolla...@googlegroups.com

Comment #5 on issue 12 by t...@sickheadgames.com: Animation: Visibility

I really hope to see this patch get added to the official release soon.

Tom


openc...@googlecode.com

unread,
Jul 18, 2011, 7:47:11 AM7/18/11
to opencolla...@googlegroups.com

Comment #6 on issue 12 by antok...@gmail.com: Animation: Visibility

looks like it's material parametr, so would be great if it just cach
visibility as opacity of material... e.g. multiply..... since not animated
it don't work too

Reply all
Reply to author
Forward
0 new messages