yade-users team mailing list archive
-
yade-users team
-
Mailing list archive
-
Message #00245
Re: drawing loop
Ye Yonggeng said: (by the date of Wed, 28 Jun 2006 10:18:34 +0200)
> Add glutInit(&argc,argv);
> then, nice, it works well.
OK, it is in yade now. Please make a fresh checkout from subversion.
Threadable class has been removed:
- when yade is idle 0% of CPU is consumed by the display,
- when simulation is ran it is in separate thread, second processor (if
present) is drawing on the screen otherwise single processor does all the job,
- with two processors theoretically QtGUI should have speed equal to NullGUI,
- drawing on the screen is not synchronized, so some bodies are from previous
iteration, some are from next iteration (later there will be an option to
turn synchronization ON - it will slow down computations a bit)
This implementation is stil not 100% tested, please report if there are any
problems. Especially if there is a segfault on exit.
Press enter in each graphical view to start/stop updating it.
There is one known problem - when Simulation Controller is closed and
then opened second time, the spheres are not displayed (if the loaded
scene contains spheres). I hope to fix it later.
--
Janek Kozicki |
_______________________________________________
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
-
Re: glutInit() problem.
From: Ye Yonggeng, 2006-06-26
-
Re: glutInit() problem.
From: Janek Kozicki, 2006-06-26
-
Re: glutInit() problem.
From: Ye Yonggeng, 2006-06-26
-
Re: glutInit() problem.
From: Janek Kozicki, 2006-06-26
-
Re: glutInit() problem.
From: Ye Yonggeng, 2006-06-27
-
Re: glutInit() problem.
From: Janek Kozicki, 2006-06-27
-
Re: glutInit() problem.
From: Ye Yonggeng, 2006-06-27
-
Re: drawing loop
From: Janek Kozicki, 2006-06-27
-
Re: drawing loop
From: Ye Yonggeng, 2006-06-28
-
Re: drawing loop
From: Janek Kozicki, 2006-06-28
-
Re: drawing loop
From: Ye Yonggeng, 2006-06-28