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

Projection example reimagine #251

Draft
wants to merge 6 commits into
base: master
Choose a base branch
from

Conversation

Vrixyz
Copy link
Contributor

@Vrixyz Vrixyz commented Aug 8, 2024

This builds on top of #250 to use macroquad next version on branch reimagine

⚠️ sphere/point gizmos are not yet supported in the new branch, 2 options are:

  • get screen coordinate and render a point, it's not too great to get a feeling of exact position of the point being projected. cheating with distance feels off (It would probably need to take fov into account..)

  • create a sphere mesh + tweak the rendering

    • I can see that work, but it needs some boilerplate (create the mesh, shader adaptation)
  • Also, I think macroquad needs to expose PipelineParams in Shader::new to be able to tweak depth_test and see when line and sphere are inside the shape.

  • I investigated those options in my branch projection_example_reimagine_more at more custom rendering Vrixyz/parry#3.

projection.webm

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.

1 participant