Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ad some video file capability #2384

Open
AmbiguousX opened this issue Apr 10, 2024 · 3 comments
Open

Ad some video file capability #2384

AmbiguousX opened this issue Apr 10, 2024 · 3 comments

Comments

@AmbiguousX
Copy link

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
Copy link
Contributor

javagl commented Apr 10, 2024

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

Then, there are two parts:

  • Applications (editors) must be able to create files that use this extension (and you could ask the Blender people to add support for that, but that may be difficult...)
  • Applications (viewers) must be able to display such files (and I don't know a viewer that currently supports this, but haven't looked thoroughly yet...)

@AmbiguousX
Copy link
Author

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
Copy link
Contributor

javagl commented Apr 11, 2024

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 ...)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants