As of May 31, 2023, we have updated our Code of Conduct.

Questions tagged [precision]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1 vote
1 answer
61 views

Graphics API and double precision

For scientific reasons, we have to use doubles in our shaders. We don't need to talk about trying to store data in floating point numbers and so on. I know there is special GPU hardware for double ...
Thomas's user avatar
  • 829
1 vote
1 answer
146 views

Why need glClipControl-like extensions when implementing ReverseZ in opgl?

I read this article (https://developer.nvidia.com/content/depth-precision-visualized) about reverseZ and I'm confused about why is glClipControl necessary.Can't we juse modify ProjectionMatrix to make ...
Grown's user avatar
  • 11
0 votes
0 answers
75 views

Precision problems when rendering whole planets

I'm trying to implement a camera, which is able to go very close to a planet/moon surface, without flickering surface. The problem: Right now the position of a planet / moon is saved at the center of ...
Thomas's user avatar
  • 829
1 vote
1 answer
59 views

How do (Direct3D) precision conversions for floats work?

There is this article about conversions in Direct3D: https://docs.microsoft.com/en-us/windows/win32/direct3d10/d3d10-graphics-programming-guide-resources-data-conversion I do not understand the part ...
Tare's user avatar
  • 1,477