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

Improve depth(for picking) bits precision #421

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

ictwayman
Copy link

Modifications to obtain accurate values in 3D space (x,y,z) of a specific point on the mesh by clicking the mouse on the polygon mesh. This change is a correction to improve the existing inaccuracies.

I think this change resove the issue below.
#403

@tomlee-dev tomlee-dev force-pushed the feature/Improve_depth_bits_precision branch 2 times, most recently from ce4641c to 8312f16 Compare March 29, 2023 04:42
@ictwayman ictwayman changed the base branch from master to develop March 29, 2023 05:05
@ictwayman ictwayman changed the base branch from develop to master March 29, 2023 05:05
@ictwayman
Copy link
Author

I am not sure I have to target branch master or develop. This PR targets to master branch. please reply for this.

@andyward
Copy link
Member

Cheers for this. Will leave to @martin1cerny to review formally as it's his area.

Would be good to understand the approach here, and how standard an approach this is - was 16bits not enough precision?

Have you done much testing have you done on different browsers (webgl1 vs webgl2)?

@tomlee-dev tomlee-dev force-pushed the feature/Improve_depth_bits_precision branch 2 times, most recently from 86f557c to f1b12c8 Compare March 29, 2023 09:42
@tomlee-dev tomlee-dev force-pushed the feature/Improve_depth_bits_precision branch from f1b12c8 to ab9f9a0 Compare March 29, 2023 10:04
@ictwayman
Copy link
Author

@andyward oh! I just checked my code on webgl with chrome browser with execution parementer. ( --disable-webgl2 )

I think my change is only for the webgl 2 browser. for the webgl1 more research is needed.

please cross check about this PR.

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.

3 participants