KhronosGroup / KhronosGroup/glTF-Render-Fidelity-Generator

Blender animation suggestion

Open
#1 2 comments 1 reaction 0 assignees View on GitHub
Dominant language
TypeScript
Stars
4
Forks
6
PR merge metrics
No merged PRs in 30d

Description

I noticed in [blender-cycles-golden.png](https://github.com/KhronosGroup/glTF-Render-Fidelity/blob/main/test/goldens/khronos-AnimatedTriangle/blender-cycles-golden.png) that the animated triangle is not at the start of its animation cycle.

Blender uses a default start frame number of "1", but glTF animations start at time zero (in seconds, not frame numbers). The answer here might be to add some Python commands to the blender render script:

```
bpy.context.scene.frame_start = 0
bpy.context.scene.frame_current = 0
```

This shouldn't alter non-animated glTF examples, and should make the animated ones start at the beginning, like other engines.

Contributor guide

No contributing guide indexed for this repository

Research direction

Start by locating the Blender render script that produces test/goldens/khronos-AnimatedTriangle/blender-cycles-golden.png and inspect how animation frames are initialized. Verify the animated triangle begins at the start of its cycle, while non-animated glTF examples remain unchanged.

Written by the indexing model from the issue text.

Assessment

Tech stack
blender, python
Domain
computer-graphics
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.