Page 1 of 1

ogreMeshViewer possible improvement

Posted: Tue Jan 24, 2023 2:32 pm
by paul424

Hello, hello, recently I viewed some exported models, all of them were very dark and I thought something's wrong with the shaders!
However nothing was wrong : indeed the GLSL shaders I had depended on the light presence --- and here's the culprit -- the OMV doesn't ship you with any light. Can you make something like this --> Menu--> add Light -> click somewhere in the OMV display frustum -- and you get a light ?


Re: ogreMeshViewer possible improvement

Posted: Tue Jan 24, 2023 3:40 pm
by paroj

there already is a camera-attached light: https://github.com/OGRECave/ogre-meshvi ... #L498-L499


Re: ogreMeshViewer possible improvement

Posted: Wed Jan 25, 2023 1:05 pm
by paul424

Yeah that's half true. Let's take a look at the screenshot:

Image

On the left side is the .mesh file on the right side is the .mesh.xml file ChickenCoop from OD..... and I was fooled by the second example...