[2.2] ParticleUniverse issues

Discussion area about developing with Ogre-Next (2.1, 2.2 and beyond)


Lax
Gnoll
Posts: 683
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 65

[2.2] ParticleUniverse issues

Post by Lax »

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

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

User avatar
dark_sylinc
OGRE Team Member
OGRE Team Member
Posts: 5511
Joined: Sat Jul 21, 2007 4:55 pm
Location: Buenos Aires, Argentina
x 1379

Re: [2.2] ParticleUniverse issues

Post by dark_sylinc »

Hi!
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?
Once you've obtained a TextureBox from Image2 (i.e. call Image2::getData), use TextureBox::bytesPerRow.
Alternatively, call Image2::getBytesPerRow()
Lax wrote: Thu Oct 10, 2019 5:39 pm Is there also an equivalent for Ogre::RenderWindow?
The alternative for RenderWindow is either Window or Window::getTexture depending on what the code was doing with it.
Lax
Gnoll
Posts: 683
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 65

Re: [2.2] ParticleUniverse issues

Post by Lax »

Hi,

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