Page MenuHome

Cycles: standalone GUI improvements
Confirmed, NormalPublicTO DO

Description

The Cycles standalone GUI is a simple example of how to integrate interactive viewport rendering in an application. It uses SDL and OpenGL.

It could be improved in a few ways:

  • Add text display support (requires a small embedded font + OpenGL shaders and vertex buffer setup)
  • Alternatively, use a more complete GUI library like ImGUI. Needs to be decided if it's worth adding such a dependency for a simple example.
  • Add OpenColorIO view transform support

Event Timeline

Brecht Van Lommel (brecht) changed the task status from Needs Triage to Confirmed.Sep 30 2021, 5:32 PM
Brecht Van Lommel (brecht) created this task.

Here is one of the most used gui libraries for prototyping and final products. Extremely performant and has many features.

https://github.com/ocornut/imgui

Just ignore if irrelevant.

SDL/GLFW are quite different libraries than imgui, they take care of the Window Creation, GPU initialization and taking in mouse and keyboard input, once that is all up and running, you'd could use imgui to actually draw some UI. imgui is complementary to the libraries discussed here, not a replacement.

Brecht Van Lommel (brecht) renamed this task from Cycles: restore standalone GUI to Cycles: standalone GUI improvements.Feb 16 2022, 3:34 PM
Brecht Van Lommel (brecht) updated the task description. (Show Details)