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

Implement a 3D sphere mode for the Markers module #4655

Open
wants to merge 3 commits into
base: master
Choose a base branch
from

Conversation

moxvallix
Copy link
Contributor

Type of change

  • Bug fix
  • New feature

Description

Adds a 3D sphere as a possible marker.

Such a feature is useful for visualizing the spawn radius of various farms. Also looks cool.

Most of the code already existed in Sphere2DMarker, just modified it to render all layers at once, and optimized it a bit, as it has to do a lot more work to render the full sphere.

Slider caps the radius at 64 (making a diameter of 128, which is useful for most farms), but users can use the text input to make it larger if they really need to. Anything larger than 64 might cause frame drops (512 ran at 7fps for me).

How Has This Been Tested?

image

Checklist:

  • My code follows the style guidelines of this project.
  • I have added comments to my code in more complex areas.
  • I have tested the code in both development and production environments.

@Wide-Cat Wide-Cat self-requested a review June 19, 2024 15:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants