I have a viewer with some geometry that is illuminated when using directional lights, but when I use an ambient light the geometry is black.
The code is as simple as:
Handle_V3d_AmbientLight ambient = new V3d_AmbientLight (my_viewer, Quantity_NOC_WHITE);
But no light is working. If I create V3d_DirectionalLight instead of ambient light it works like a charm. Any ideas?