Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Rendering is based on normals direction #16

Open
GANys opened this issue Oct 4, 2019 · 0 comments
Open

Rendering is based on normals direction #16

GANys opened this issue Oct 4, 2019 · 0 comments

Comments

@GANys
Copy link

GANys commented Oct 4, 2019

It looks like the viewer expects normals to be pointing outside only to render surfaces ("polygon oriented CCW when viewed from outside", dixit Hugo Ledoux).

An improvement might consider rendering surfaces either directions.

Currently, it looks a bit weird even if buildings are consistent.

Updtate : this effect is called "Back-face culling". Its purpose is to occlude faces which normals are not directed towards the exterior of the Solid. I leave it here as people might encouter such a problem also.

image

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant