Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - MikeFR

Pages: [1]
1
Support / Re: LensFlare Hiding Android
« on: October 09, 2011, 11:42:29 pm »
Magic ! It's working !!! :)

Thank you so much ! :)

2
Support / Re: LensFlare Hiding Android
« on: October 09, 2011, 10:57:04 pm »
I've tried with a simple 3DS mesh (the rock.3ds you used in samples) and it's the samething ...

Wow a test case .... My project is a little dirty with a lot of dependancies on SDCard (manually arranged by hand for the moment)

But do you have an eclipse project which works perfectly for you or some snippets code which works with flares hiding ?

meanwhile I will try to recreate a little test case to see ...

3
Support / Re: LensFlare Hiding Android
« on: October 09, 2011, 10:32:48 pm »
i've tried with the light source (the "sun" in my code) at 10 world units distance and it's doing the same issue ...

I'm certainly doing something wrong grrr .. but i have checked each thing i've read in topics and docs ... i don't see :(

I will try with a simpler object than the terrain (without octree) and will care about the collision mode of it ..

4
Support / Re: LensFlare Hiding Android
« on: October 09, 2011, 08:16:18 pm »
yes :


Code: [Select]
LensF=new LensFlare(sun.getPosition(), "burst", "halo1", "halo2", "halo3");
LensF.setHiding(true);
LensF.setMaximumDistance(-1f); // i have also tried that in case of distance pb ...
LensF.setTransparency(2);
LensF.setGlobalScale(1.0f);




5
Support / LensFlare Hiding Android
« on: October 09, 2011, 08:06:00 pm »
Hello there :)

Firstly, Congratulations for your framework :) it's very amazing ! :)

Meanwhile (:p) I have a problem to deal with the "auto-hide" feature of lensFlare.

I'm using a terrain (with COLLISION_CHECK_OTHERS) which is configured with an octree (with COLLISION_DETECTION_OPTIMIZED) for optimize collision with my character ...

i have also configured camera to check collisions with the terrain ...

Collisions works fine between the character (the camera too) and the terrain but when the terrain is between the camera and the lens flare, the flare is still shown ...

i have read different posts and docs ... but i can't resolve my problem :(

Any idea or working example ?

Thanks in advance :)

Pages: [1]