Jordan Bonser
  • Home
  • CV
  • University Work
    • Second Year Work >
      • Top-Down Shooter
    • Third Year Work >
      • Terrain Analysis Project >
        • Terrain Analysis Tool
        • Game Demonstration
      • Post Processing
      • Android Application - Sports Centre
  • Projects
    • Unity Development >
      • Lerpz Tutorial
      • Dare to be Digital Entry - "Lit"
      • Unity Game
    • Geometry Instancing
    • Road to Eldorado
    • Level Editor
    • OpenGL Work
    • JBEngine
  • Blog
  • Tutorials
    • Flask Session Timeout

Development Blog

Model Loader: Textured Complex Models

22/2/2013

0 Comments

 
I have had a massive improvement from the last blog post, this is due to the fact that as soon as I finished one task in my mind I had the next lined up. The stage that it is currently at is to be able to render fully textured models with multiple meshes. This is shown in the image below:
Picture
I am actually going to rename this project now as it is no longer just a mesh loader, it is essentially the makings of a fully blown renderer. The main reason for this is due to the design I have implemented which allows for flexibility, re-usability and is generally pretty awesome. I will be putting the design diagram on here at some point as I know it will be helpful for other people to see a very basic renderer design. For now here is a list of extra classes that have been implemented:
  • OpenGLWindow
  • Camera
  • Material
  • Texture
  • TextureManager
  • BufferObject( Interface )
  • ElementBufferObject
  • VertexBufferObject
  • VertexArrayObject
  • Shader
  • ShaderProgram
  • RenderMethod( Interface )
  • RMPlainTexture
  • RenderMethodManager

So there has been a massive difference between last blog post, the next few things that I want to be getting done are mostly finishing off the mesh loader( ensuring all material cases are handled ) and adding lighting.

Peace Out :)
0 Comments

Model Loader ( Assimp )

17/2/2013

6 Comments

 
Picture
Okay so I've started the initial workings of the model loader and managed to import a simple cube model using Assimp. This is all put into Mesh and Submesh classes which is then used for the render code. You can see the cube in the image on the left.


There are still many mesh features that need implementing. Currently only the vertices and the face indices have been used to create this cube and the colour is set as a uniform variable in the shader. The next step is to gradually add more information from the mesh files such as: normals, textures, colour( ambient, diffuse and specular ) and eventually animation information. Hopefully it won't be long before I have something that I could potentially create a game with. I already have a simple Camera class and a window class for initialising the OpenGL and handling the render loop. 

The next thing I will be focusing on is adding the colours and normals from a mesh file so that it can be used for lighting calculations. I also need to wrap up how the mesh and submesh classes create and communicate with the OpenGL data, i.e. the VBO's EBO's and the VAO. This will take some great deal of thought.

Till next time :)


6 Comments

    Archives

    May 2020
    April 2020
    January 2020
    November 2019
    October 2019
    September 2019
    July 2019
    June 2019
    May 2019
    April 2019
    March 2019
    February 2019
    August 2018
    July 2018
    June 2018
    March 2018
    January 2018
    June 2017
    February 2017
    September 2016
    August 2016
    July 2016
    June 2016
    May 2016
    February 2016
    January 2016
    December 2015
    November 2015
    September 2015
    August 2015
    July 2015
    June 2015
    March 2015
    January 2015
    November 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    February 2014
    January 2014
    December 2013
    November 2013
    October 2013
    July 2013
    June 2013
    May 2013
    April 2013
    March 2013
    February 2013
    January 2013
    December 2012
    October 2012
    September 2012
    August 2012
    July 2012
    June 2012
    May 2012

    Categories

    All
    2D
    3rd Year Project
    Agile
    Android
    Angular
    Animation
    API
    Apple
    Apps
    Arden
    Async
    Awesomium
    C#
    CI/CD
    Clean Code
    CMake
    Cocos2d-x
    Colour Match
    Compilers
    Cross Compiling
    Cross-Compiling
    Databases
    Design
    Development Tools
    Docker
    Electronics
    Examples
    Flask
    Flask-Login
    Fmod
    Game Development
    Godot
    GUI
    Hackathon
    Hacktoberfest
    Hardware
    Home Life
    IBM
    Inspired Gaming
    Instancing
    Ios
    Javascript
    Jbengine
    Kata
    Level Editor
    Linux
    Microsoft
    Mobile Development
    Monogame
    Moodster
    Motivation
    Networking
    Objective C
    Opengl
    Open Source
    Organisation
    Physics
    Physx
    Pi
    Planning
    Post Mortem
    PyGame
    Python
    Quart
    Quasar
    RakNet
    React
    Road To Eldoarado
    Scripting
    Scrum Master
    Sessions
    Session Timeout
    Social
    Sound
    Space Invaders
    Squash Game
    Squash Game
    Streaming
    TDD
    Team Leading
    Test
    Test Driven Development
    Travis
    Unity
    Unity Development
    VSCode
    Vulkan
    Web Applications
    Worklife
    WSL
    XML
    XNA / C#

    RSS Feed

Powered by Create your own unique website with customizable templates.
  • Home
  • CV
  • University Work
    • Second Year Work >
      • Top-Down Shooter
    • Third Year Work >
      • Terrain Analysis Project >
        • Terrain Analysis Tool
        • Game Demonstration
      • Post Processing
      • Android Application - Sports Centre
  • Projects
    • Unity Development >
      • Lerpz Tutorial
      • Dare to be Digital Entry - "Lit"
      • Unity Game
    • Geometry Instancing
    • Road to Eldorado
    • Level Editor
    • OpenGL Work
    • JBEngine
  • Blog
  • Tutorials
    • Flask Session Timeout