Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[OGRE-25] [Papercut] Add possibility to load only a part of an image from a file #6

Closed
paroj opened this issue Nov 29, 2015 · 0 comments
Milestone

Comments

@paroj
Copy link
Member

paroj commented Nov 29, 2015

[reporter="spacegaier", created="Sat, 24 Nov 2012 19:56:06 +0100"]

Original reporter: rride

Sometimes it may be advantageous not to store lot's of images on disk but to pack everything into one big image(8k x 8k) and load only a small part of it. For example, this feature can be useful for storing land textures.

So it would be nice to have Ogre::Image::load( const Ogre::String& file, const Ogre::TRect& rect ) method.

NOTE: See notes in Mantis Ticket!

Original Mantis Ticket: http://www.ogre3d.org/mantis/view.php?id=371

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant