gltf-viewer-rs icon indicating copy to clipboard operation
gltf-viewer-rs copied to clipboard

Transparency

Open adrien-ben opened this issue 4 years ago • 1 comments

adrien-ben avatar Sep 22 '20 06:09 adrien-ben

It helps for separate primitives for which it's obvious which one is closer to the camera but still does not really look good for :

  • Primitives whose center and dimensions are similar
  • Triangles of a same primitive

For the first I guess I could change the computation for the distance from the camera to not take the center of the primitive but the depth of the nearest vertex of the primitive.

For triangles there is not much I can do that would not cost a lot anyways

adrien-ben avatar Sep 23 '20 05:09 adrien-ben