Hello,
It was recommended early in the tutorial that for performance critical
application it is recommended to mention different FieldMasks that will
be changed during the
beginEditCP(); ........ endEditCP(); But later it is not specified in
the tutorial.
The tutorial titled "Windows and viewports" i have encountered several
instances where the FieldMasks are not specified. I included them in my
code and it compiled and ran OK even though i wasnt sure if i m doing
that right.
And in the following code snippet i didnt find any corresponding
FieldMask for setting size of the viewport:
beginEditCP(leftViewport, Viewport::CameraFieldMask |
Viewport::BackgroundFieldMask |
Viewport::RootFieldMask
);
leftViewport->setCamera(leftCamera);
leftViewport->setBackground(leftBkg);
leftViewport->setRoot(scene);
leftViewport->setSize(0,0,0.5,1);
endEditCP(leftViewport, Viewport::CameraFieldMask |
Viewport::BackgroundFieldMask |
Viewport::RootFieldMask
);
Regards,
Sajjad
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users