Hobbies And Interests

How to Change the Color of a Mesh in Ogre

Ogre is an open-source graphics rendering engine used for projects such as video games, educational software, scientific projects and interactive art. Being open-source, coding for Ogre is designed to be opened and modified by users. A changes that one might want to make is to change the color of a mesh, or three-dimensional model.

Instructions

    • 1

      Drag and drop the .MESH file into OgreXmlConverter.exe, which should be found in the OgreSDK/bin.

    • 2

      Open the resulting XML file in your preferred 3-D editor program, such as 3ds Max, Blender 3D or FreeWorld3D.

    • 3

      Look for the line that says "setAmbient(0, 0, 255);" and change the numbers. They are the red, green and blue values. You can set them between 0 and 255 for different shades.

    • 4

      Reapply the changes to your mesh.


https://www.htfbw.com © Hobbies And Interests