Difference between revisions of "Using mgpost"
From Yade
Gladky.anton (talk | contribs) (Adding categories) |
|||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | == |
+ | == Brief description == |
<code>mgpost</code> is a tool for post-processing and visualization of 3D DEM simulations. The source code can be found within yade repository, in the folder extra. A quick user guide is also provided. |
<code>mgpost</code> is a tool for post-processing and visualization of 3D DEM simulations. The source code can be found within yade repository, in the folder extra. A quick user guide is also provided. |
||
Line 6: | Line 6: | ||
<code>mgpost</code> uses the standard openGL API for 2D and 3D vectorial graphics. It can currently be compiled on unix-like operating system such as kubuntu or Mac OS X, and have already be builded on windows in the past. |
<code>mgpost</code> uses the standard openGL API for 2D and 3D vectorial graphics. It can currently be compiled on unix-like operating system such as kubuntu or Mac OS X, and have already be builded on windows in the past. |
||
+ | <code>mgpost</code> uses a very basic C style programming (unlike Yade that is build with a very nice C++ design), but meanwhile a great software for 3D visualization, it just work fine ! |
||
+ | |||
+ | == Compiling mgpost == |
||
+ | |||
+ | mgpost is not yet compiled with scons but a simple Makefile. From yade directory type: |
||
+ | $ cd extra/mgpost |
||
+ | For unix-like OS on standard PC type: |
||
+ | $ make |
||
+ | And for Mac OS X type: |
||
+ | $ make macosx |
||
+ | If you want to install mgpost in /usr/local/bin (can be modified in Makefile) type: |
||
+ | $ sudo make install |
||
+ | and enter your password... That's all! |
||
== Generating MGP files with yade == |
== Generating MGP files with yade == |
||
Line 12: | Line 25: | ||
== Screenshots == |
== Screenshots == |
||
+ | |||
+ | Here are some screenshots generated with mgpost. |
||
[[Image:Shot1.png|thumb|left|A meshed tomography for SpherePadder]] |
[[Image:Shot1.png|thumb|left|A meshed tomography for SpherePadder]] |
Latest revision as of 17:10, 15 September 2009
Brief description
mgpost
is a tool for post-processing and visualization of 3D DEM simulations. The source code can be found within yade repository, in the folder extra. A quick user guide is also provided.
As I sortly said, mgpost
is a small soft for viewing 2D or 3D discrete element simulations. These simulations can be performed with the computer code of your choice (I hope it is yade!). The 'comunication' between the simulation code and mgpost
is performed through MGP files. It is actually a XML format with specific tags (described in the user guide).
mgpost
uses the standard openGL API for 2D and 3D vectorial graphics. It can currently be compiled on unix-like operating system such as kubuntu or Mac OS X, and have already be builded on windows in the past.
mgpost
uses a very basic C style programming (unlike Yade that is build with a very nice C++ design), but meanwhile a great software for 3D visualization, it just work fine !
Compiling mgpost
mgpost is not yet compiled with scons but a simple Makefile. From yade directory type:
$ cd extra/mgpost
For unix-like OS on standard PC type:
$ make
And for Mac OS X type:
$ make macosx
If you want to install mgpost in /usr/local/bin (can be modified in Makefile) type:
$ sudo make install
and enter your password... That's all!
Generating MGP files with yade
A basic (StandAlone)Engine is provided for this purpose: MGPRecorder
. It works only for spheres for the moment.
Screenshots
Here are some screenshots generated with mgpost.