hudbrog / gCodeViewer

a visual web based gcode analyzer
Other
419 stars 148 forks source link

Light source for 3D view is positioned wrong #62

Open Bird2010 opened 6 years ago

Bird2010 commented 6 years ago

The light source for the 3D view is positioned behind the model. Unfortunately, this causes the model to be black and the details cannot be seen. I can rotate the model with the knowledge that the light is coming from behind, and I can get a view of the model details. See attached images. Please reposition the light source to be positioned behind the user (viewer) so we can see the model's details. I did some game programming a long time ago and I think that you just need to set the Z position for the light source to a large negative number so the light will be positioned behind the user (viewer). gcode_viewer_1 gcode_viewer_2