[osg-users] [osgOcean] 3D model material display error!

Jan Ciger jan.ciger at gmail.com
Mon Nov 2 11:51:46 PST 2009

Hi Kim,

Kim Bale <kcbale at googlemail.com> wrote:
> Hi Jan,
> All the frame buffer objects in osgOcean use texture rectangles so it
> simply passes them directly to the texture/camera setups, so there
> shouldn't be any limit.
> I assume the cropping is on the horizontal not the vertical?

Yes, it looks cropped horizontally.

> Have you
> checked the values that are passed into setScreenDims()? obvious I
> know but since you're using a fancy display set up something might be
> going wrong when you're querying the resolution.

Hmm, true. I didn't think of that - I am just relying on OSG's event handling 
code to pass me the resolution and it works fine elsewhere. OK, something to 
check. Thanks for the tip!

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20091102/893cec62/attachment.pgp>

More information about the osg-users mailing list