Success!
At first i attemtped to move my camera and simulate a zoom. Unfortunatly this would allow my camera to pass thru objects that were too close and I really didnt like that. Made a quick attempt to detect collisions but just didnt really want to go that route.
Re-looked at what Malice said and applied the Render and Update World commands, this time without the '()' and I applied them twice. Bang on the first try! I KNEW it was simply a matter of placing things in the right place :)
There is one small hitch that I can live with and that is some discrepancy with drawing to the viewport. Some stuff wrote out ( a few text lines giving info like FPS, and other test values), but others didnt appear (text displaying magnify level, the "dash panel". A small matter that I'm sure I'll figure out and probably has to do with when and where things are drawn.
Heres the working code :
Huge Thanks to you guys! This was one of those things that just annoyed me so much!
At first i attemtped to move my camera and simulate a zoom. Unfortunatly this would allow my camera to pass thru objects that were too close and I really didnt like that. Made a quick attempt to detect collisions but just didnt really want to go that route.
Re-looked at what Malice said and applied the Render and Update World commands, this time without the '()' and I applied them twice. Bang on the first try! I KNEW it was simply a matter of placing things in the right place :)
There is one small hitch that I can live with and that is some discrepancy with drawing to the viewport. Some stuff wrote out ( a few text lines giving info like FPS, and other test values), but others didnt appear (text displaying magnify level, the "dash panel". A small matter that I'm sure I'll figure out and probably has to do with when and where things are drawn.
Heres the working code :
ShowEntity universe ;Show Skybox CameraClsMode camera,False,True ;Turn off Camera Cls EntityOrder universe,0 ;Normal z-order for skybox CameraZoom camera,1 ;Magnify skybox in Normal Zoom UpdateWorld ;Since skybox obscures rest of Scene RenderWorld ; we only draw the skybox here HideEntity universe ;Hide skybox EntityOrder universe,1 ;Set z-order to First draw again CameraZoom camera,czoom ;Zoom our camera to desired Zoom amount UpdateWorld ;Draw the zoomed scene over top our RenderWorld ; unzoomed skybox
Huge Thanks to you guys! This was one of those things that just annoyed me so much!