[2.2] ParticleUniverse issues

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

[2.2] ParticleUniverse issues

Post by Lax » Thu Oct 10, 2019 5:39 pm

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
0 x

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

Re: [2.2] ParticleUniverse issues

Post by dark_sylinc » Thu Oct 10, 2019 8:01 pm

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.
2 x

Lax
Gnome
Posts: 382
Joined: Mon Aug 06, 2007 12:53 pm
Location: Saarland, Germany
x 9

Re: [2.2] ParticleUniverse issues

Post by Lax » Sat Oct 12, 2019 10:00 am

Hi,

ok thanks. I could solve the issues.

Best Regards
Lax
0 x

Post Reply