Blender Git Loki
Git Commits -> Revision cc3a3a0
Revision cc3a3a0 by Dalai Felinto (ge_dome) March 24, 2009, 05:43 (GMT) |
First commit of the dome code. Three modes working: Dome mode - 1 fisheye, 2 truncated, 3 panoramic A brief explanation of the code pipeline: BL_KetsjiEmbedStart.cpp or GPG_Application.cpp -> KX_KetsjiEngine.cpp::InitDome() -> KX_Dome.cpp::Constructor(initiallising class) -> KX_Dome.cpp::CreateMesh() -> Turn to Hemisphere (normalize the verts coordinates) -> KX_Dome.cpp::FlattenDome() Every frame: -> KX_KetsjiEngine.cpp::RenderDome() [a copy of KX_KetsjiEngine.cpp::Render()] -> KX_Dome.cpp::RenderDomeFrame() [a copy of KX_KetsjiEngine.cpp::RenderFrame()] -> KX_Dome.cpp::BindImages() -> KX_Dome.cpp::DrawDome() |
Commit Details:
Full Hash: cc3a3a0875ecdace2eb802121671fd97d98407ef
SVN Revision: 19392
Parent Commit: b11c7a5
Lines Changed: +2133, -6
2 Added Paths:
/source/gameengine/Ketsji/KX_Dome.cpp (+1766, -0) (View)
/source/gameengine/Ketsji/KX_Dome.h (+169, -0) (View)
/source/gameengine/Ketsji/KX_Dome.h (+169, -0) (View)
12 Modified Paths:
/projectfiles_vc9/gameengine/ketsji/KX_ketsji.vcproj (+8, -0) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+12, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+6, -0) (Diff)
/source/blender/src/buttons_scene.c (+13, -2) (Diff)
/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp (+4, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Application.cpp (+5, -0) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+131, -0) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.h (+10, -0) (Diff)
/source/gameengine/Rasterizer/RAS_IRasterizer.h (+1, -0) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+3, -3) (Diff)
/source/blender/blenkernel/BKE_blender.h (+1, -1) (Diff)
/source/blender/blenkernel/intern/scene.c (+4, -0) (Diff)
/source/blender/blenloader/intern/readfile.c (+12, -0) (Diff)
/source/blender/makesdna/DNA_scene_types.h (+6, -0) (Diff)
/source/blender/src/buttons_scene.c (+13, -2) (Diff)
/source/gameengine/BlenderRoutines/BL_KetsjiEmbedStart.cpp (+4, -0) (Diff)
/source/gameengine/GamePlayer/ghost/GPG_Application.cpp (+5, -0) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.cpp (+131, -0) (Diff)
/source/gameengine/Ketsji/KX_KetsjiEngine.h (+10, -0) (Diff)
/source/gameengine/Rasterizer/RAS_IRasterizer.h (+1, -0) (Diff)
/source/gameengine/Rasterizer/RAS_OpenGLRasterizer/RAS_OpenGLRasterizer.cpp (+3, -3) (Diff)