Hi Mahendra,
You need to provide your own resize handler but within it you can call
setScreenDims to resize the framebuffers.
See:
http://code.google.com/p/osgocean/source/browse/trunk/include/osgOcean/OceanScene#255
K.
On 21 February 2011 14:55, Mahendra G.R mahen...@mahendragr.com wrote:
Hi Kim,
Yes, i solved it, my mistake, didnt look at the screenDims function.
Thanks,
Regards
On Tue, Feb 22, 2011 at 2:02 PM, Kim Bale kcb...@googlemail.com wrote:
Hi Mahendra,
You need to provide your own resize handler but within it you can call
setScreenDims to resize the framebuffers.
Hi,
Is there a way to make the osgOcean handle the resize events for the
window?, i tried adding an event handler in the example file, but it only
resizes the window or makes it full screen but the ocean scene remains the
same size, where can i find the resize or wiindow handler for osgOcean?.
Hi agian,
I found another problem with osgOcean (or im missing something), i have
loaded a model(.ive) along with the ocean(using the osgOcean example)
however, i dont see any of the model's material properties displayed, but
when i display the model with osgViewer, itseems fine.
Thanks,
Regards
4 matches
Mail list logo