Code Monkey home page Code Monkey logo

ogre-v2-mesh-viewer's Introduction

Ogre3D mesh viewer/converter

A Ogre3D mesh viewer based on v2.1 which can import obj/gltf models.

Download Windows x64

screenshot

Features

  • Load Ogre v2, v1, xml meshes with HLMS materials.
  • Import Wavefront Obj and save as Ogre Meshes
  • Import glTF 2.0 models and save as Ogre Meshes
    • It's not perfect yet, some glTF models appear black or have flat materials
  • Show scene hierarchy
  • Basic HLMS editing
    • Texture: diffuse, background diffuse, normal, roughness, metalness
    • Transparent value and mode
    • Solid or wireframe
    • Two-sided on/off
  • Scene node editing:
    • Position, rotation and scale
    • Show/hide bounding boxes
    • Switch visibility
  • Batch conversion tool from obj => .mesh

How to compile

  1. Have Qt 5 SDK installed (recommend Qt 5.6+), download it here.
  2. Have a working Ogre3D 2.1 sdk.
  3. Set the path to Ogre sdk folder. You can either set an user-level OGREHOME environment variable, or set it directly in ogre-v2-mesh-viewer.pro line 9.
  4. Open ogre-v2-mesh-viewer.pro in QtCreator and presse RUN.

TODO

  • HLMS material editing (WIP)
  • Batch convertor from mesh to obj
  • glTF export
  • Support DotScene
  • Improve performance by converting obj data to ogre mesh directly
  • Automatically generate normals if there are no normal vectors in obj
  • glTF import

Known issues

  • Normals are broken when converting a v2-mesh to a obj
  • Normal textures are not showing correctly on the material panel
  • Normal weight doesn't update right after updating the Pbs blocks
  • Metallic texture is not showing with DirectX11 rendersystem

Acknowledgements

ogre-v2-mesh-viewer's People

Contributors

chchwy avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

ogre-v2-mesh-viewer's Issues

Go to Ogre v2.2

Since Ogre 2.2 is no longer WIP, it's time to go to v2.2.

  • Can build & compile with Ogre 2.2
  • Preview & replace texture
  • Backgrounds
  • Obj importer/exporter
  • Ogre glTF

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.