[2.1] ParticleSystem disappears when far from camera

Discussion area about developing with Ogre2 branches (2.1, 2.2 and beyond)
Post Reply
xissburg
Halfling
Posts: 57
Joined: Sun Feb 21, 2010 4:58 pm
x 6

[2.1] ParticleSystem disappears when far from camera

Post by xissburg » Thu Oct 18, 2018 12:43 am

I have a ParticleSystem attached to a TagPoint which is a child of a Bone of a Skeleton. All particles are visible when the camera is near the object/skeleton but when it moves a bit away from it all particles get culled (with the object/skeleton still visible). It looks like a bug with this particular setup. Any ideas?

Thanks
0 x

hedphelym
Gremlin
Posts: 158
Joined: Tue Nov 25, 2008 10:58 am
Location: Kristiansand, Norway
x 9
Contact:

Re: [2.1] ParticleSystem disappears when far from camera

Post by hedphelym » Thu Oct 18, 2018 8:21 am

Does setting this help?

Code: Select all

particleSystem->setRenderingDistance( ... );
0 x

xissburg
Halfling
Posts: 57
Joined: Sun Feb 21, 2010 4:58 pm
x 6

Re: [2.1] ParticleSystem disappears when far from camera

Post by xissburg » Thu Oct 18, 2018 6:05 pm

Using `mCamera->setUseRenderingDistance(false);` or setting a high rendering distance on the ParticleSystem makes no difference.
0 x

Post Reply