[2.2] ParticleUniverse issues
-
- Gnoll
- Posts: 683
- Joined: Mon Aug 06, 2007 12:53 pm
- Location: Saarland, Germany
- x 65
[2.2] ParticleUniverse issues
Hi,
with the latest Ogre2.2 ParticleUniverse does no more compile.
I tried to solve some issues by my self like setting:
Ogre::Image --> Ogre::Image2 etc.
But unfortunately Ogre::Image2 has no method "getRowSpan" anymore, but this is required for ParticleUniverse, is there an equivalent?
Is there also an equivalent for Ogre::RenderWindow?
Best Regards
Lax
with the latest Ogre2.2 ParticleUniverse does no more compile.
I tried to solve some issues by my self like setting:
Ogre::Image --> Ogre::Image2 etc.
But unfortunately Ogre::Image2 has no method "getRowSpan" anymore, but this is required for ParticleUniverse, is there an equivalent?
Is there also an equivalent for Ogre::RenderWindow?
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
-
- OGRE Team Member
- Posts: 5511
- Joined: Sat Jul 21, 2007 4:55 pm
- Location: Buenos Aires, Argentina
- x 1379
Re: [2.2] ParticleUniverse issues
Hi!
Alternatively, call Image2::getBytesPerRow()
Once you've obtained a TextureBox from Image2 (i.e. call Image2::getData), use TextureBox::bytesPerRow.Lax wrote: Thu Oct 10, 2019 5:39 pm But unfortunately Ogre::Image2 has no method "getRowSpan" anymore, but this is required for ParticleUniverse, is there an equivalent?
Alternatively, call Image2::getBytesPerRow()
The alternative for RenderWindow is either Window or Window::getTexture depending on what the code was doing with it.
-
- Gnoll
- Posts: 683
- Joined: Mon Aug 06, 2007 12:53 pm
- Location: Saarland, Germany
- x 65
Re: [2.2] ParticleUniverse issues
Hi,
ok thanks. I could solve the issues.
Best Regards
Lax
ok thanks. I could solve the issues.
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