Download - Nipo 3D Engine

Transcript
Page 1: Nipo 3D Engine

Nipo 3D EngineNipo 3D Engine

Milestone 3Milestone 3

Niclas Hellgren and Pontus Stensveden.Niclas Hellgren and Pontus Stensveden.20072007

Page 2: Nipo 3D Engine

What was the project about?What was the project about?

Implement a 3D Graphic Engine that reads Implement a 3D Graphic Engine that reads its scenes from a COLLADA fileits scenes from a COLLADA file

The Engine was to be specialized to render The Engine was to be specialized to render light effectslight effects

Create a Scene and a Character that a Create a Scene and a Character that a graphics artist has created in Mayagraphics artist has created in Maya

Page 3: Nipo 3D Engine

What we have accomplishedWhat we have accomplished

Implementation of simple Collada file reading. Implementation of simple Collada file reading. The code allows the user to render meshes The code allows the user to render meshes with a Lambert shader.with a Lambert shader.

A full traversing of the a Scene graph at is A full traversing of the a Scene graph at is Traversed per frameTraversed per frame

Created a Scene and a CharacterCreated a Scene and a Character

Page 4: Nipo 3D Engine

What went wrong?What went wrong?

CodeCode– Not much (really) only that its not finished!Not much (really) only that its not finished!

GraphicsGraphics– Character texturesCharacter textures

Page 5: Nipo 3D Engine

ArtisticArtistic

Scene has been done and character mesh is Scene has been done and character mesh is setset

The scene has succesfully been translated in The scene has succesfully been translated in to colladacodes. to colladacodes.

Mayas lights and cameras has succesfully Mayas lights and cameras has succesfully been translated.been translated.

When exporting from Maya we used a plug-in When exporting from Maya we used a plug-in called ColladaMaya from Feelingsoftware called ColladaMaya from Feelingsoftware

Page 6: Nipo 3D Engine

The SceneThe Scene

Was done in Maya 7.0 , first a aplha, then a Was done in Maya 7.0 , first a aplha, then a beta and last but least a Final stage.beta and last but least a Final stage.

Page 7: Nipo 3D Engine

The final stage.The final stage.

Page 8: Nipo 3D Engine

Texturering and normalmappingTexturering and normalmapping

Was done through photoshop and a open Was done through photoshop and a open beta program called CrasyBump 2.5 beta program called CrasyBump 2.5

The results of the normalmap generating was The results of the normalmap generating was most pleasing most pleasing

Page 9: Nipo 3D Engine

CharacterCharacter

Was done in Maya 7.0 and contains 8.600 Was done in Maya 7.0 and contains 8.600 polyspolysthe standard was first set to 10.000 but the standard was first set to 10.000 but optimisation reduced that part.optimisation reduced that part.

Page 10: Nipo 3D Engine

What is missing for the moment?What is missing for the moment?

To add a interface för creating simple camera To add a interface för creating simple camera behavior to the codes viewerclassbehavior to the codes viewerclass

Add optimemesation when the scenedata is Add optimemesation when the scenedata is read from the collada file.read from the collada file.

Add tangents and texturecordinates to Add tangents and texturecordinates to vertexsbuffers.vertexsbuffers.

Implements mastermaterial to, for example, Implements mastermaterial to, for example, render shadowmapsrender shadowmaps

Page 11: Nipo 3D Engine

Impement volumetric materialImpement volumetric material

Make it all work!Make it all work!

Page 12: Nipo 3D Engine

Future?Future?

Will continue finishing the engine code, Will continue finishing the engine code, of course of course

ScriptingScripting DirectX 10?DirectX 10? More featuresMore features

Page 13: Nipo 3D Engine

Questions?Questions?