Gepetto / gepetto-viewer

Graphical Interface for Pinocchio and HPP.
BSD 2-Clause "Simplified" License
44 stars 30 forks source link

Handle Lighting parameters when rendering colors #165

Open proyan opened 3 years ago

proyan commented 3 years ago

Hi Guys,

OpenGL proposes the following lighting parameters for rendering objects: ambient, diffuse, specular and emissive. These are explained in http://www.glprogramming.com/red/chapter05.html Allowing this in gepetto-viewer should be possible with the current API.

This is a tracker issue, meant to keep this development in check. Best, Rohan

jmirabel commented 3 years ago

This is purely a matter of forwarding the data correctly. It should be easy to achieve by using node properties.