The light in the default viewer is to intensive, in the minimal viewer the light is ok but the camera position is wrong. I tried thus with 2 STL models and 2 OBJ models.
So my question is: What i am doing wrong and what i need to do that it is working correctly?
The following links are external links, they will only work until 01.01.2023
Do you have the same results in our sandbox? https://sandbox.babylonjs.com ? you can drag-and-drop your model there and see how it renders per default. Both the minimal and default configuration of the viewer do nothing to the light intensity. It actually generates a simple Hemispheric light.
Would to be able to share the models so we can test that locally? I find it very odd that the viewer makes the light so intense without changing the configuration. But it does seem like it’s doing it!
Would be great if you can share them. Even privately
The model itself is not the issue, and light intensity isn’t as well. The issue is light reflections and the default material being assigned to an STL being loaded. If you use this code:
The “problem” with an stl is that it has no material, so in this case you will need to configure the scene’s default material if you want the reflection to change. In general you could do this: