Comments (9)
Actually, it may be out of scope of f3d.
If someone wants to generate a video, the camera, and the animation frame should be specified through the future libf3d API or via command line arguments, and generate a fixed image, with a script. Then the animation with ffmpeg by combining the images.
Wdyt @mwestphal?
from f3d.
I agree, but you mean that this should be another application, not F3D ?
from f3d.
By using command line argument to generate a series of images is very slow, it would be nice to have some parameters for f3d to generate a video file directly:
- speed of the rotation
- maybe some inbuilt fancy camera routes, circling should be one of them.
from f3d.
needs #741 first
from f3d.
Supporting writing multiple pngs would already be great
from f3d.
related to #1194 and #10 as well.
from f3d.
Here is my idea for this.
With autoplay
and output
, generate numbered screenshot with manipulating the time based on a new output-fps
option.
What do you think @snoyer @Meakk ?
from f3d.
I think there are three different use cases:
- Animated model with a fixed camera
- Fixed model with animated camera path
There could be a third use case with both but I'll omit it for now.
Case 1: We just need the --autoplay
argument and find a way to export several files. Maybe we could support things like --output /tmp/export_%t.png
and substitute %t
with the time step index?
Case 2: Some file formats like glTF and USD support camera animation so specifying --camera-index
should support the given camera path. Otherwise, just like we define a fixed camera by default, we could have an option --camera-path=[orbit,zoom_in,whatever]
which will define a new animated camera path (having a --fps
defaulted to 30 would be useful here too). Then we could use the same %t
substitution as in case 1.
from f3d.
Not sure what you mean, animated camera and animated model is exactly the same code path in F3D.
Creating an animated camera like an orbit would be nice, but this is a different issue.
In any case, the code we are talking about would need autoplay
in both cases.
from f3d.
Related Issues (20)
- Support Thumbnails in KDE (Dolphin) HOT 5
- Improve f3d-media and add a f3d-data
- thumbnail is not working with step file HOT 5
- [3D Gaussians] Performance improvements
- More point splats shaders
- CI: Grid related test fails on macos arm64 CI because of a grid artifact
- Obj's with tga textures don't get thier textures displayed HOT 2
- UI bug on docs page
- F3D crashes on resizing diagonally on windows HOT 8
- Tone mapping does not work on Android HOT 1
- f3d 2.3.0 tar.gz checksum mismatch HOT 3
- Upon app launch on macOS, key press does not register until user clicks within window HOT 3
- What should the "developer name" be? HOT 2
- [SOLVED] Not a bug - Navigate next/previous file with arrow keys doesn't work properly (has workaround) HOT 4
- Application fails when has to generate thumbnail for certain 3mf file because of a crash on exit HOT 20
- Loading a GeoTIFF DEM (32 bits) file is not working HOT 5
- OpenCascade (OCCT) 7.8.0 not supported HOT 2
- Add C bindings for the libf3d HOT 3
- Add support of Quake 1 MDL files. HOT 9
- Upgrade CI clang-format to > 16
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from f3d.