I’m trying to use the Sketchup scene’s via collada, but when I export to collada all get is this:
<node id="skp_camera" name="Last Saved SketchUp View">
<lookat>297.1699 -418.7683 141.1787 -1781.427 3805.251 -1676.804 -0.1590558 0.3232252 0.9328594</lookat>
</node>
This is the a 3x3 rotation matrix, but I don’t see the position of the camera anywhere in the .dae file. Is there anyway to get this information?
If you set up scenes, be sure to update the scene and that “Camera Location” is checked in the list of properties.
This must be done for each scene whenever you change the view, and before exporting to DAE.
If you are asking for Collada spec, I posted a link in this topic:
Do the DAE / COLLADA specifications allow for these “custom” attributes ?
(Usual XML formats must follow their schema.)
Looking at the v1.4 spec I see that there IS provision for an <extra> element.
(See “Extensibility”, page 36.)
But attaching an attribute dictionary named “extra” or “dae” (with a “direction” attribute whose value is “North”) to a SketchUp face within a group, fails to export to the DAE file as any attribute.
system
Closed
July 27, 2017, 12:36pm
4
This topic was automatically closed after 91 days. New replies are no longer allowed.