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

Draw 3D stuff better #5

Open
markstock opened this issue Sep 21, 2020 · 0 comments
Open

Draw 3D stuff better #5

markstock opened this issue Sep 21, 2020 · 0 comments
Labels
enhancement New feature or request

Comments

@markstock
Copy link
Collaborator

Both drawing boundaries (triangles) and particles (billboards) can be better, as can upgrading the view from orthogonal to perspective. There are three tasks here.

  1. Render in perspective, this means implementing an arcball-like rotation and an allowance to move the center of rotation.
  2. Render boundaries as solid with basic direct and ambient lighting.
  3. Instead of drawing billboards with transparency (costly with lots of overlap, and difficulty when depth culling), we may consider using instanced rendering or geometry shaders to convert each point into a screen-space fan of 7 or 9 opaque triangles. I have code for that in my lidar viewer. With the size ratio properly set, this would look much more 3D.
@markstock markstock added the enhancement New feature or request label Sep 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant