ParallelGraphics Forums
SDK
You are here:
[Forums]
::
[General]
::
[SDK]
All forums
How to use forums
Favorites
Services
Registration
Registration
Forgot your password?
Help
Help
Support
Quick search
Subscribe to newsletters
email:
password:
 
General
-
SDK
[reply]
[back to forum]
[new message]
[all forums]
Subject:
how to zoom-to-fit
Sender:
support@engview.com
9.10.06 12:18
Hello,
My name is Stanislav, and my current task is to implement a 'preview snapshot' - a command which shots the current VRML scene and generates a a .jpg file. And i do this using the ICortona's Picture property. This property gives me a snapshot of the current view as IPicture. With the resolution of the screen.
What I want to do is to 'fit the scene' just before shoting it, so the output image will contain the whole scene as big as possible.
I've tried using the ICortona's uiAction method, but this metho animates the fitting, which means that using a code like
pEngine->uiAction(L"Fit");
m_pCortona->get_Picture();
actually grabs the picture before the 'fit' command is complete.
my question is, can anyone give me a clue how to 'fit' the view immediatelly.
Actually, I'm performing this whole task in a hidden window, so, I really dont need the animation.
Thank you in advance,
Stanislav.
[reply]
[back to forum]
[new message]
[all forums]
how to zoom-to-fit
/
support@engview.com
/ 9.10.06 12:18
Messages in thread:
1
[reply]
[back to forum]
[new message]
[all forums]
© 1998-2007
ParallelGraphics
. All rights reserved.
Terms of use
.