yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00233
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?
>
>
wait, let me try again, but now I have to leave for my class.
_______________________________________________
Yade-users mailing list
Yade-users@xxxxxxxxxxxxxxxx
http://lists.berlios.de/mailman/listinfo/yade-users
Follow ups
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