bodleian / archiox-mirador-plugin

An experimental plugin to display depth information captured with Lucida or Selene scanners from FactumARTE. However, the plug-in can present any normal map/albedo map combination produced from any technique.
MIT License
1 stars 0 forks source link

Fixed light position #117

Closed BeebBenjamin closed 2 months ago

BeebBenjamin commented 2 months ago

Light position now tracks the rotation and flip of the canvas so that it is always in the up position, this is so it's less confusing for a user trying to use the track ball to change the light direction.

We might be able to build on this code later to change the y direction due to normals differences too.

Tested on QA.