In ros3djs, what changes when the intensity option is varied?

asked 2021-05-07 07:52:03 -0500

Py gravatar image

updated 2021-05-07 07:54:43 -0500

I'm using ros3djs for visualisation of markers, maps and laser points in a web browser. I define the viewer using the code below but do not see any difference when I add and vary the intensity option. What behaviour is expect with intensity set at various levels? I can't seem to notice any difference in lighting intensity whatever the value is set at. Any ideas what I might be doing wrong?

let viewer = new ROS3D.Viewer({
    divID : 'viewer',
    width : 1000,
    height : 600,
    antialias : true,
    intensity : 0.8,
    background : '#FFFFFF',
    displayPanAndZoomFrame : true,
    cameraPose : {x : -1, y : 0, z : 10}
});
edit retag flag offensive close merge delete