wrong :-) .. In the update callback get a handle of the main camera :-)
Cheers,
Nick
On Wed, May 4, 2016 at 6:17 PM, Trajce Nikolov NICK <
trajce.nikolov.n...@gmail.com> wrote:
> hi,
>
> you can do an UpdateCallback for your ortho camera that will set the
> proper dimensions based on the
hi,
you can do an UpdateCallback for your ortho camera that will set the proper
dimensions based on the Viewport
something like this:
struct UpdateOrthoCameraCallback : public osg::NodeCallback
{
virtual void operator()(osg::Node* node, osg::NodeVisitor* nv);
{
osg::Camera* camera =
Hi,
First, I drew some tags dynamically using HUD camera on the render window size
which is 1100X679, but when I change the length-width ratio of the render
window size, the tags positions changed and it was wrong.
Can anyone tell me how can i solve this problem.
Thank you!
Cheers,
Lee
Hi,
First i drew some tags by HUD on the window size which is 1100X679, and it was
correct. But when i change the window's length-width ratio the tag's position
changed and it became wrong.
Can anyone tell me how i can solve this problem?
Thank you!
Cheers,
John
--
Read this
4 matches
Mail list logo