Menu

#174 EarthSkydome+GLShadowVolume=Incorrectly rendered scene

closed-fixed
nobody
None
5
2011-03-20
2011-03-19
luiwo
No

I find a strange bug. When a I use a EarhSkydome/Skydome with a ShadowVolume in a scene.

If the shadows are active, when you move around the scene (or the scene changes) the EarthSkydome/Skydome disapears.
Disabling the shadows makes the Skydome renders correctly again, and moving trough the scene don't make it dissapear.

This is my scene order:

Scene Objects
________GLLightSource1
________GLCamera1
________GLEarthSkydome1 (or GKSkydome)
________GLShadoVolume1
_____________GLPLane1
_____________GLCube1

I test this scene with different GLScene versions:

GLScene trunk rev 5581----------------------- Not working
GLScene v1.1 October 2010 rev5227------------ Not working
GLScene_v1.1_August_2010_release_with_demos - Not working

GLScene v1.0.0.0714-------------------------- I test with this version and it works ok.

I'm testing older trunk revisions trying to find where this work ok, but i'm not able to compile without errors any version before trunk 5025. (there are a lot of missing o incorrect files before that revision)

I compiled glscene with Delphi 7 or Delphi 2010, but the compiler is not the issue.

Im not able to find where the error is. My knowlege in GLScene and OpenGL is limited
Thanks in advance for any help.

Luiwo

Discussion

  • YarUnderoaker

    YarUnderoaker - 2011-03-19
    • status: open --> open-fixed
     
  • luiwo

    luiwo - 2011-03-20

    Fixed in Trunk 5584

     
  • luiwo

    luiwo - 2011-03-20
    • status: open-fixed --> closed-fixed