|
From: Mario N. <mne...@gm...> - 2008-09-16 12:05:06
|
Oh-oh. I am not 100%, but my two cents. freeglut (./yarsbuild/bin/yars): Unable to create direct context > rendering for window 'YARS-Simulation' It seems to me that your problem starts here. The camera sensor is actually a 'rendered projection' of the environment, from a particular viewing angle. This 'rendered projection' is a texture. That's the texture that has issues, not the environment. The texture can't be created because the freeglut couldn't create the 'rendered projection. It may very well be that glut does not talk to your graphics card. Which is the problem i refered to earlier on. That's the message: > This may hurt performance. > freeglut (./yarsbuild/bin/yars): Unable to create direct context > rendering for window 'Camera' > If freeglut is not able to create direct context... > This may hurt performance. > RenderTexture::Initialize() creation error: Couldn't find a suitable > pixel format Then, the 'render texture that becomes camera image' does not have pixels in it > RenderTexture::BeginCapture(): Texture is not initialized! > So, the texture is the projection. The texture path should be okay, as I see textures in the vizualization Window when I use only distance sensors. > In general, everything works fine when I don't use the camera sensor. > > I hope this is the final obstacle. For me it was final. After i had it, i had to give up. Maybe you will have to talk to verena... A hug, M. |