move cameraFPS without drawAll()
move cameraFPS without drawAll()
is there a way to have the cameraFPS listen to events (mouse etc) without calling smgr->drawAll() ?
-
- Posts: 1010
- Joined: Mon Oct 24, 2011 10:03 pm
- Location: 0x45 61 72 74 68 2c 20 69 6e 20 74 68 65 20 73 6f 6c 20 73 79 73 74 65 6d
Re: move cameraFPS without drawAll()
You are aware that the scene wouldn't update if you did that, right? (aka you'd move the camera but the frame on the screen would be the same)
"this is not the bottleneck you are looking for"
Re: move cameraFPS without drawAll()
and besides that i am pretty certain that the camera receives events when you call IrrlichtDevice::run and not on ISceneManager::drawAll
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Re: move cameraFPS without drawAll()
what about animators, they won't get called, or will they?Sudi wrote:and besides that i am pretty certain that the camera receives events when you call IrrlichtDevice::run and not on ISceneManager::drawAll
Working on game: Marrbles (Currently stopped).
Re: move cameraFPS without drawAll()
Animators are run inside the drawAll call before rendering.serengeor wrote:what about animators, they won't get called, or will they?Sudi wrote:and besides that i am pretty certain that the camera receives events when you call IrrlichtDevice::run and not on ISceneManager::drawAll
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.
Re: move cameraFPS without drawAll()
but seriously just check the source code...its there....right there
We're programmers. Programmers are, in their hearts, architects, and the first thing they want to do when they get to a site is to bulldoze the place flat and build something grand. We're not excited by renovation:tinkering,improving,planting flower beds.