Add realistic 3D editor view - #11660
Conversation
25d754c to
3966e7d
Compare
|
Thanks for the review. Yes, this implementation is based on OrcaSlicer commit cf8bb38dc6af95d27fc85f37329ee542d2e76ac3. However, it was adapted to Bambu Studio's current rendering pipeline, OpenGL management and preferences layout rather than copied directly. The main differences between the referenced Orca implementation and this Bambu Studio implementation are:
The complete change has now been squashed into a single signed commit. The resulting source tree is unchanged from the version successfully compiled, linked, packaged and archived by the previous Linux Jenkins build. I will also run the final Jenkins validation against the new squashed commit hash. Thanks again for reviewing the implementation. |
|
The final Linux Jenkins validation has now also completed successfully against the squashed commit. It configured, compiled, linked, packaged and archived Bambu Studio successfully. |
|
Hello, please provide the latest GIF recording video. We would like to see the preference settings and the actual rendering effect now |
|
@Haidiye00 Thanks for the feedback. Attached is the latest GIF recording from the current PR build. It shows:
Please let me know if you would like any additional test coverage.
|
3966e7d to
50a1ab1
Compare
Add an optional Phong-rendered editor view with SSAO, smooth normals and a planar build-plate shadow. Group the four realistic-rendering preferences together and expose MSAA, FXAA, frame-rate limiting and an FPS overlay. The implementation is based on OrcaSlicer commit cf8bb38dc6af95d27fc85f37329ee542d2e76ac3 and adapted to the current Bambu Studio rendering pipeline.
50a1ab1 to
9587652
Compare


Summary
Adds an optional realistic rendering mode to the normal 3D editor view.
The new mode uses Phong shading and can optionally apply screen-space ambient occlusion (SSAO) before the existing FXAA pass.
This work is based on the corresponding OrcaSlicer implementation from commit
cf8bb38dc6af95d27fc85f37329ee542d2e76ac3, adapted to Bambu Studio's current rendering pipeline.Screenshot
Realistic view with ambient occlusion enabled (Preferences → 3D), rendered on a graphical system:
Behavior
Implementation
Validation
git diff --checkpassessrc/bambu-studioBuildLinuxImage.shlacked executable permission; this occurred after the application had linkedThe final commit additionally contains null checks that prevent SSAO from being enabled when the Phong or SSAO shader is unavailable.
Pending validation