WRL: Issues with animation via Interpolators: KeyError: 'Transform'
for ScalarInterpolator
and no accordingly set keyframes for all interpolators
#14
Labels
No Label
bug
confirmed
duplicate
enhancement
help wanted
High
known issue
Low
Normal
not a task
question
task
v2.4
wontfix
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: extensions/io_scene_x3d#14
Loading…
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I asked GPT to generate me a sample wrl file for animations (according to GPT and Gemini the file is valid), however it does not work currently in the importer. There are two main issues is see with the file
animatedBox.wrl
:ScalarInterpolator
withROUTE
throwsKeyError: 'Transform'
.Testing with the second attached file (simple_example from http://www.graphics.stanford.edu/courses/cs248-98-fall/Assignments/Assignment3/VRML2_Specification/spec/part1/examples.html) transform works, but not animated like in the first file.
In attached file all animations should play in loop as there is no conditional like a trigger via e.g.
ProximitySensor
, instead aTimeSensor
is used and it theoretically should play.From my current understanding the issue here lies in not setting keyframes inside blender accordingly. At least the basic animations like Loc, Rot, Scale via
PositionInterpolator
,OrientationInterpolator
,ScalarInterpolator
should be supported and ideally on top Shapekeys viaCoordinateInterpolator
.Quick checking the current code Loc, Rot, Scale should be supported at least at a basic level (however code comments suggest those features are untested). Shapekeys would be a feature to be added.
Issues with animation via Interpolators: `KeyError: 'Transform'` for `ScalarInterpolator`and no accordingly set keyframes for all interpolatorsto WRL: Issues with animation via Interpolators: `KeyError: 'Transform'` for `ScalarInterpolator`and no accordingly set keyframes for all interpolators