ogreMeshViewer possible improvement

A place for users of OGRE to discuss ideas and experiences of utilitising OGRE in their games / demos / applications.
Post Reply
User avatar
paul424
Gnome
Posts: 314
Joined: Thu May 24, 2012 7:16 pm
x 13

ogreMeshViewer possible improvement

Post 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 ?

paroj
OGRE Team Member
OGRE Team Member
Posts: 1994
Joined: Sun Mar 30, 2014 2:51 pm
x 1074
Contact:

Re: ogreMeshViewer possible improvement

Post by paroj »

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

User avatar
paul424
Gnome
Posts: 314
Joined: Thu May 24, 2012 7:16 pm
x 13

Re: ogreMeshViewer possible improvement

Post 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...

Post Reply