Update scene without drawing it

You are an experienced programmer and have a problem with the engine, shaders, or advanced effects? Here you'll get answers.
No questions about C++ programming or topics which are answered in the tutorials!
Post Reply
kompromis
Posts: 98
Joined: Mon Sep 11, 2006 2:36 pm
Location: sweden/stockholm

Update scene without drawing it

Post by kompromis »

Well i have had some problems with this i need to update the scene like in the way smgr->drawAll() Does
But i don't want to render the scene how would i do that?
Last edited by kompromis on Sat Feb 21, 2009 6:40 pm, edited 1 time in total.
kompromis
Posts: 98
Joined: Mon Sep 11, 2006 2:36 pm
Location: sweden/stockholm

Post by kompromis »

Found the answer myself
here it is for others that may have the same problem
just call this instead of drawAll

Code: Select all

smgr->getRootSceneNode()->OnAnimate(device->getTimer()->getTime())
Frank Dodd
Posts: 208
Joined: Sun Apr 02, 2006 9:20 pm

Post by Frank Dodd »

Thanks for posting the solution, out of curiosity, why did you want to do it?
kompromis
Posts: 98
Joined: Mon Sep 11, 2006 2:36 pm
Location: sweden/stockholm

Post by kompromis »

It is used i the software for a robot that am building as a school project
and i needed to update all the children's absolute positions.
to do some calculations.
Post Reply