[web] OgreMaxLoader - add starmade models to your web projects

    Joined
    Jun 29, 2013
    Messages
    144
    Reaction score
    64
    • Modder
    • Legacy Citizen 4
    • Purchased!
    Hi all, i've started a new project few weeks ago, there's a part of this project. The OgreMaxLoader let you load *.scene, *.mesh, *.skeleton and *.material of your starmade to your website, all you need is the Three.js lib, you can download it at three.js - Javascript 3D library.
    Usage is basically explained in readme and exemple can be found with source



    Coding exemple:
    • Can be found with sources on GitHub or here


    Download:


    Version: 0.2-rev00001

    Requierment:

    • Rename of XMLOgreLoader to OgreMaxLoader to match with xml origine
    • Rename of MaterialLoader to DotMaterialLoader to match with xml origine
    • Complete rewrite of OgreMaxLoader to match with THREE.js Loaders
    • Add of a minified version of OgreMaxLoader
    • Add of a exemple of use of OgreMaxLoader
    • Add DTD of dotscene, dotmesh and dotskeleton
    • Add of skeleton
    • Add of animations
    • Add support of mobile (tested only on android but should work on ios too)
    • Migrate materials to THREE.MeshPhongMaterial
    • Remove old THREE.MeshPhongGlowMaterial (due to error on shader compilation)
    • Remove old sync functions

    • Force DTD validation
    • Implement error and progress functions
    • Rework DotMaterialLoader for a better support of dotmaterial files
     
    Last edited:
    Joined
    Jun 29, 2013
    Messages
    144
    Reaction score
    64
    • Modder
    • Legacy Citizen 4
    • Purchased!
    I've added an exemple page on how to use XML Ogre Loader, you can see sources with ctrl+u, it's fully commented and it can also help you with three.js
     
    Joined
    Jun 29, 2013
    Messages
    144
    Reaction score
    64
    • Modder
    • Legacy Citizen 4
    • Purchased!
    He there, there's a big update on OgreMaxLoader!



    Change-log v 0.2-rev00001:
    • Rename of XMLOgreLoader to OgreMaxLoader to match with xml origine
    • Rename of MaterialLoader to DotMaterialLoader to match with xml origine
    • Complete rewrite of OgreMaxLoader to match with THREE.js Loaders
    • Add of a minified version of OgreMaxLoader
    • Add of a exemple of use of OgreMaxLoader
    • Add DTD of dotscene, dotmesh and dotskeleton
    • Add of skeleton
    • Add of animations
    • Add support of mobile (tested only on android but should work on ios too)
    • Migrate materials to THREE.MeshPhongMaterial
    • Remove old THREE.MeshPhongGlowMaterial (due to error on shader compilation)
    • Remove old sync functions
     
    Last edited: