[2.2] ParticleUniverse issues

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
Post Reply
Lax
Orc
Posts: 424
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 20

[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

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

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
Orc
Posts: 424
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 20

Re: [2.2] ParticleUniverse issues

Post by Lax »

Hi,

ok thanks. I could solve the issues.

Best Regards
Lax

Post Reply