Dear all:

I thought these 2 projects of mine linking OpenSceneGraph with 
Matlab/Simulink might be useful to someone else but myself :-). 
Matlab/Simulink (Mathworks) are popular modeling/computing tools so 
hopefully they might be of any use to someone.

1. www.3dcalc.pl/osg-examples/osgMatReader.zip is a little library that 
allows you to extract data from Mathwork's MAT-files (outside Matlab's 
environment). The example project contains Earth's surface data in the 
Mathwork's .mat file format, the library as well as the OSG code to read 
the data into a heighfield.

2. www.3dcalc.pl/osg-examples/osgSimulink.zip is pseudo-plugin for 
Matlab/Simulink (galaxy formation demo). The calculations  are carried 
out here inside Simulink block model (M-language), whereas OSG provides 
visualisation of the results (through the viewer's so-called C++ 
S-function) while running the simulation. The project contains code, 
simulink model, instructions to setup matlab for compiling with Visual 
Studio Express 2005/2008 and a screenshot illustrating the running app.

The code itself can be compiled (and used freely) provided you have 
access to Matlab's dev. libraries. I am not distributing  those since 
Matlab itself is commercial. The 2 projects are VS Express ones.

If anyone is willing to try this, I would like to hear any feedback if 
possible. OSG extends Matlab's visualisation capabilities and it is all 
free!
Matlab's external interface API is the only dependency and it needs to 
be present to compile the project. OpenSceneGraph 2.2/2.3 is required. I 
have not tested that with anything prior to 2.2.


Janusz

--
Janusz Goldasz: [EMAIL PROTECTED]  

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to