[v2] Ogre::Image2 scale
-
- Hobgoblin
- Posts: 583
- Joined: Mon Aug 06, 2007 12:53 pm
- Location: Saarland, Germany
- x 50
[v2] Ogre::Image2 scale
Hi,
I have an original Ogre::Image2 of 64x64 pixel image in it. I want to scale a copy of it to e.g. 128x128.
How is this possible? I only see, that scaling needs a pixelMap. Is there not an easier way?
Best Regards
Lax
I have an original Ogre::Image2 of 64x64 pixel image in it. I want to scale a copy of it to e.g. 128x128.
How is this possible? I only see, that scaling needs a pixelMap. Is there not an easier way?
Best Regards
Lax
http://www.lukas-kalinowski.com/Homepage/?page_id=1631
Please support Second Earth Technic Base built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd1 ... b97b79be62
-
- Halfling
- Posts: 68
- Joined: Sun May 11, 2014 7:55 pm
- Location: Poland
- x 21
Re: [v2] Ogre::Image2 scale
Hi,
What about Ogre::Image2::resize method?
What about Ogre::Image2::resize method?
-
- Hobgoblin
- Posts: 583
- Joined: Mon Aug 06, 2007 12:53 pm
- Location: Saarland, Germany
- x 50
Re: [v2] Ogre::Image2 scale
Hi,
thanks, I was so concentrated on the scale method, that I did not see, that there is a different one!
Best Regards
Lax
thanks, I was so concentrated on the scale method, that I did not see, that there is a different one!
Best Regards
Lax
http://www.lukas-kalinowski.com/Homepage/?page_id=1631
Please support Second Earth Technic Base built of Lego bricks for Lego ideas: https://ideas.lego.com/projects/81b9bd1 ... b97b79be62