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

Improve GPU Shader support for OpenSCAD's 3D Preview #55

Closed
t-paul opened this issue Feb 7, 2022 · 0 comments
Closed

Improve GPU Shader support for OpenSCAD's 3D Preview #55

t-paul opened this issue Feb 7, 2022 · 0 comments

Comments

@t-paul
Copy link
Member

t-paul commented Feb 7, 2022

Outline

A recent code change allowed the 3D Preview to read shader definitions from files (shaders/Preview.vert and shaders/Preview.frag). It would be nice to give users the ability to switch shaders, provide a list of default shaders and allow users to add their own files.

This could be combined with New features for the 3D viewport (#56) for a Long (350h) project.

Details

  • Define a possibly extended interface to the shaders
  • Consider different OpenGL versions
  • Extend GUI to provide some means to list and switch shaders
  • Support system and user storage of shader files (similar to color schemes)

Expected Outcome

Users can easily switch shaders for preview and add custom files with their own shader definitions.

Project Properties

Skills

  • Programming language is C++
  • GUI programming with the Qt framework
  • Knowledge of OpenGL and GLSL for defining GPU Shaders

Difficulty

Medium

Size

Medium (175h)

Additional Information

References:

  • Small collection of basic shaders for tests PR #3860
@brlcad brlcad changed the title Improve GPU Shader support for 3D Preview Improve GPU Shader support for OpenSCAD's 3D Preview Feb 25, 2022
@t-paul t-paul closed this as completed Feb 25, 2023
@t-paul t-paul removed the GSoC 2024 label Feb 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant