Skip to content

Improve frame_generator sample tool#9570

Merged
pixelflinger merged 1 commit intomainfrom
ma/dispersion
Jan 6, 2026
Merged

Improve frame_generator sample tool#9570
pixelflinger merged 1 commit intomainfrom
ma/dispersion

Conversation

@pixelflinger
Copy link
Collaborator

  • Add support for vector parameters (float2, float3, float4) in the parameters file using {x, y, z} syntax.
  • Allow comments (#, //) and empty lines in the parameters file.
  • Make the end value optional in the parameters file (defaults to start value).
  • Add --size / -S option to specify viewport dimensions.
  • Optimize rendering by pre-filtering active material parameters.
  • Remove hardcoded default parameters and silently ignore missing parameters to support shared configuration files.
  • Add documentation for the parameters file format.

@pixelflinger pixelflinger added the internal Issue/PR does not affect clients label Jan 5, 2026
- Add support for vector parameters (float2, float3, float4) in the 
  parameters file using `{x, y, z}` syntax.
- Allow comments (`#`, `//`) and empty lines in the parameters file.
- Make the end value optional in the parameters file 
  (defaults to start value).
- Add `--size` / `-S` option to specify viewport dimensions.
- Optimize rendering by pre-filtering active material parameters.
- Remove hardcoded default parameters and silently ignore missing 
  parameters to support shared configuration files.
- Add documentation for the parameters file format.
g_clearColor = (uint32_t) std::stoul(arg, nullptr, 16);
g_clearColor = uint32_t(std::stoul(arg, nullptr, 16));
} catch (std::invalid_argument& e) {
g_clearColor = {};
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: some warning logging here would be helpful

@pixelflinger pixelflinger merged commit c18ddf9 into main Jan 6, 2026
17 checks passed
@pixelflinger pixelflinger deleted the ma/dispersion branch January 6, 2026 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

internal Issue/PR does not affect clients

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants