Hi Carsten,

thanks for your reply.

> hmm, not sure why sleeping would make a difference. The order in which 
> things (shadow map and scene) are rendered for the first time are 

That was my very first question :) I think I have some mistake in my 
initialisation.

> hmm, those artefacts don't look like they would come from the shadow 
> mapping [1], for that I would have expected "random" black splotches or 
> something along those lines.
> The only time I've seen artefacts like those in the image was when I had 
> a graphics card that was about to die and the memory chips started failing.
> Do you see artefacts with any other OpenGL programs? Are your drivers up 
> to date?

My system is up to date, and I don't have similar problems in any other OpenGL 
program. The graphics card has been replaced less then 2 years ago. I only saw 
similar artifacts, when I wrote my own OpenGL code while testing some OpenGL 
Scene Graph Frameworks, and when I gathered my first experiences with OpenGL. 
The reason why I believe it is application or source code dependent is the 
fact, that rotating the camera removes them completely, and reproducibly, when 
the camera is rotated towards the positive z-axis.

I copied parts of my code, which I believe are relevant to paste bin:

http://pastebin.com/Wp2HueYs

Cheers,
Keyan


> 
>       Cheers,
>               Carsten
> 
> [1] It may well be that enabling shadows triggers this for you, because 
> that causes the scene to be rendered into an FBO instead of the 
> application frame buffer, so the memory touched is quite different with 
> shadows than without.
> 
> ------------------------------------------------------------------------------
> RSA(R) Conference 2012
> Save $700 by Nov 18
> Register now
> http://p.sf.net/sfu/rsa-sfdev2dev1
> _______________________________________________
> Opensg-users mailing list
> Opensg-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/opensg-users


------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
Opensg-users mailing list
Opensg-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to