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
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:
Use Ambient light if the model has a non default texture.
Use Directional light if the model has a default texture.
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
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 theLithingOptions
in theRenderOptions
. 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
andorg/vitrivr/cineast/core/render/lwjgl/glmodel
package. Added normals, tangents and bitangents to theModel
andModelLoader
Changed the default texture to white.