Skip to content

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