X3D/WRL Import: Add support for movie texture. #32

Open
opened 2024-10-25 22:10:24 +02:00 by Cedric Steiert · 0 comments
Collaborator

Current implementation does not take MovieTexture into account. Import is in theory the same procedure as image texture, but instead of the image file load the video file to the image texture node and set auto refresh to true, cyclic to loop value, start frame to startTime/fps, Frames to frame count identified by loading the cxlip to movie editor and getting frame duration (https://docs.blender.org/api/current/bpy.types.MovieClip.html#bpy.types.MovieClip.frame_duration).

https://graphcomp.com/info/specs/sgi/vrml/spec/part1/nodesRef.html#MovieTexture

Attached is a wrl file and video file for testing.

Current implementation does not take MovieTexture into account. Import is in theory the same procedure as image texture, but instead of the image file load the video file to the image texture node and set auto refresh to true, cyclic to loop value, start frame to startTime/fps, Frames to frame count identified by loading the cxlip to movie editor and getting frame duration (https://docs.blender.org/api/current/bpy.types.MovieClip.html#bpy.types.MovieClip.frame_duration). https://graphcomp.com/info/specs/sgi/vrml/spec/part1/nodesRef.html#MovieTexture Attached is a wrl file and video file for testing.
Cedric Steiert added the
enhancement
task
labels 2024-10-25 22:10:24 +02:00
Sign in to join this conversation.
No description provided.