vitrivr / cineast

Cineast is a multi-feature content-based mulitmedia retrieval engine. It is capable of retrieving images, audio- and video sequences as well as 3d models based on edge or color sketches, textual descriptions and example objects.
MIT License
57 stars 50 forks source link

Added lighting and normal mapping to the lwjgl renderer #380

Closed net-cscience-raphael closed 9 months ago

net-cscience-raphael commented 1 year ago

Added lighting and normal mapping to the lwjgl renderer

Added different light sources in package: org/vitrivr/cineast/core/render/lwjgl/scene/lights

All lights are managed by the class SceneLights. One can set the LithingOptions in the RenderOptions. Further it is possible to bind the light position to the camera position. The default strategy is:

Further changes: Added lighting and normal apping support in the org/vitrivr/cineast/core/data/m3d/texturemodel and org/vitrivr/cineast/core/render/lwjgl/glmodelpackage. Added normals, tangents and bitangents to the Model and ModelLoader

Changed the default texture to white.