Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
I have replaced the old orientation cube with a variant created using JCSG.
By using OpenGL:s Vertex Buffer Objects the performance is better.
The default method for rendering is by using JOGL:s AWT binding. This has the downside that multisampling is not possible. The rendering of the cube will therefore look something like this:
![Screenshot from 2024-10-29 20-29-00](https://private-user-images.githubusercontent.com/8962024/381280432-4bfdd590-1b9a-49be-8c87-9fc54548a65a.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTgzMDIsIm5iZiI6MTczOTY1ODAwMiwicGF0aCI6Ii84OTYyMDI0LzM4MTI4MDQzMi00YmZkZDU5MC0xYjlhLTQ5YmUtOGM4Ny05ZmM1NDU0OGE2NWEucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMjIyMDAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9ZjE0M2RhYTg3YmYwNzEzODFkMzkyZDgyNWJkMWQ5MzZjNjhmNzVhODM4MDAwYTg1MjMxYzA1ZTk3NzA4YzY4OCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.MooqXh0Qcsu4Xo1Q18SYHFIP9aQyp_Ys6ap1gesN9dY)
With the new NEWT rendering it will look a bit better:
![Screenshot from 2024-10-29 20-29-21](https://private-user-images.githubusercontent.com/8962024/381280578-e7aa7b16-226c-4ff6-a9f7-00fa9f6d85be.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3Mzk2NTgzMDIsIm5iZiI6MTczOTY1ODAwMiwicGF0aCI6Ii84OTYyMDI0LzM4MTI4MDU3OC1lN2FhN2IxNi0yMjZjLTRmZjYtYTlmNy0wMGZhOWY2ZDg1YmUucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQVZDT0RZTFNBNTNQUUs0WkElMkYyMDI1MDIxNSUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyNTAyMTVUMjIyMDAyWiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9OWE1MjZhM2IyM2JiZmE3NTQ0OWIzOTA4NjAxYTMzMmY3OWNjODlmOWFiNWQ1NmJhNDQ3NjRmZDAyMWRkN2Y0MCZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QifQ.8PiKW9Y3cr3prornxKEji6bLqQxmyzFrm6CpmyQ9pzA)