yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00232
Re: glutInit() problem.
On Mon, 2006-06-26 at 14:33 +0200, Janek Kozicki wrote:
> Janek Kozicki said: (by the date of Mon, 26 Jun 2006 12:26:52 +0200)
>
>
> > in file:
> >
> > yade-packages/yade-package-common/src/RenderingEngine/OpenGLRenderingEngine/OpenGLRenderingEngine.cpp
> >
> >
> > void OpenGLRenderingEngine::render(const shared_ptr<MetaBody>& rootBody)
> > {
> > + static bool initDone=false;
> > + if(!initDone)
> > + {
> > + int a=1;
> > + char* b="./yade";
> > + glutInit(&a,&b);
> > + initDone=true;
> > + }
> > +
> > const GLfloat pos[4] = {lightPos[0],lightPos[1],lightPos[2],1.0};
> > const GLfloat ambientColor[4] = {0.5,0.5,0.5,1.0};
> >
>
> do you have working hardware 3D acceleration? what says this command:
>
> glxinfo | grep render
>
> does glxgears launched from terminal, work?
>
>
My 3D acceleration works well and I can run glxgears and 3D screensaver.
I added the change you mentioned above, but problem still exists.
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users
References
-
problem while running YADE - Segmentation Fault
From: Tal Wexler Evron, 2006-06-11
-
Re: problem while running YADE - Segmentation Fault
From: Janek Kozicki, 2006-06-12
-
Re: problem while running YADE - Segmentation Fault
From: Tal Wexler Evron, 2006-06-22
-
Re: problem while running YADE - Segmentation Fault
From: Janek Kozicki, 2006-06-23
-
Re: problem while running YADE - Segmentation Fault
From: Tal Wexler Evron, 2006-06-25
-
Re: problem while running YADE - Segmentation Fault
From: Janek Kozicki, 2006-06-25
-
Re: problem while running YADE - Segmentation Fault
From: Ye Yonggeng, 2006-06-25
-
sparse_matrix :)
From: Janek Kozicki, 2006-06-25
-
problem while running YADE - Segmentation Fault
From: Ye Yonggeng, 2006-06-26
-
Re: glutInit() problem.
From: Janek Kozicki, 2006-06-26