Project for the 3D computer graphics course, implemented with OpenGL glut library. Expected product is creation of a building model from Vancouver region and creative rendering of building, environment with camera movement.
part 1: Model entity class for storing model data and transformation hierarchy
part 2: converter utility from .obj file from modelling software to custom format for the course
part 3: Implemented lighting, parametric curve, animation manager, clock, model pool, xml parser, scene graph rendering
Implement extra rendering effects (shadow, animation) in near future
A created model screenshots: https://www.behance.net/gallery/20140226-Sea-Island-Station/14890125
A sample video of animation scene created with this engine: http://youtu.be/KPcf5DIqKU0
run doxygen doxyconfig
Animation Scene:
Required files: city file, animation file, motionpath file, lighting file, model files
- extract model files from testcase/models/ to testcase/city1/ folder
- create an outputimage/ folder to store captured images
- make recordertest
- run using: build/RecorderTest testcase/motionpaths/curvetest1.xml testcase/animation/animationparse.xml testcase/city1/funland.city testcase/lighting/lighting.xml norecord outputimage/
Model Converter:
- make obj2custom
- run using build/obj2custom inputObjPath outputFilePath outputObjectName