KhronosGroup / glTF

glTF – Runtime 3D Asset Delivery
Other
7.02k stars 1.13k forks source link

Ad some video file capability #2384

Open AmbiguousX opened 2 months ago

AmbiguousX commented 2 months ago

put a sequency of images as textures into the file format so i dont gotta use slightly offset planes for it, it works but id rather not script this stuff myself in blender. thanks for making this dope file format though. works amazing

javagl commented 2 months ago

There is https://github.com/KhronosGroup/glTF/tree/main/extensions/2.0/Vendor/MPEG_texture_video

Then, there are two parts:

AmbiguousX commented 2 months ago

okay, ill just use my make shift way then. Do you know how I can set the initial camera value in blender or if there is a program that lets me do this?

Thank you

javagl commented 2 months ago

That's fairly unrelated to glTF itself now. Yes, there's a Python interface for Blender, and you can do something like

import bpy

...

camera_object = bpy.context.scene.camera
camera_object.location = ....
camera_object.rotation_euler = ...

but you'll have to sort the details out on your own (unless someone is willing to provide free Blender support in an issue report of the repository of a file format specification ...)