[osg-users] Detecting when a texture is to big for graphics memory

Robert Osfield robert.osfield at gmail.com
Wed Nov 30 08:11:05 PST 2016


Hi Alistair,

FYI, OpenGL has a texture feature called proxy textures where you can
do a trial texture allocation and then query whether that are real
texture with the same parameters will succeed. This feature isn't
utilized by the OSG so it's something you'd have to roll your own
OpenGL code to do the query.  It's probably over 15 years since I look
at this particular annex of OpenGL so there is chance that modern
drives don't support it.  It might be useful though if it's still
supported.

Robert.



More information about the osg-users mailing list