Hello,
We are using a 3D rendering plugin (similar to Away3D, Papervision) to render 3D objects inside panos rendered using your software. Everything is working nicely, but as we pan around using the mouse, the 3D rendering lags behind.
We are polling the krpano for current hlookat and vlookat direction using timer similar to radar plugin example. Browsing through the documentation and forums I have found the "freezeview" command. Could you provide more documentation or examples for this command, please?
Would we use it in the polling method:
Code
function pollLookDirection()
{
if (krpano view direction is different from 3D camera view direction) {
krpano.call("freezeview(true)");
// update 3D camera view direction, lets the 3D library render object
} else {
// both krpano and 3D library are looking in the same direction, there is no lag or movement
// maybe call this after the rendering is done, not here.
krpano.call(freezeview(false)");
}
}
Alles anzeigen
Other than this we believe you have done a great job, waiting for 1.0.9 to be released.