If you take a look at KX_KetsjiEngine::RenderShadowBuffers() (starts around
line 1131 of KX_KetsjiEngine.cpp), you'll see a camera being setup to render
from (around line 1148). Then take a look in KX_KetsjiEngine::RenderFrame()
(starts around line 1176) to see how to make that camera orthographic.

I don't know about the viewport though.

I hope that helps,
Mitchell Stokes (Moguri)
_______________________________________________
Bf-committers mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-committers

Reply via email to