Sunday, September 6, 2009

3D to 2D Rendering, OpenGL and MATLAB

Short notes on OpenGL rendering and attempted integration with MATLAB.

Vertex Buffer Objects (VBO)

  • Allows you to give vertex, vertexnoms, face array locations directly for openGL to render (as opposed to drawing triangles one by one)
Frame Buffer Objects (FBO)
  • Allows you to draw to a buffer/texture (without directly to the screen)
Ref: http://hacksoflife.blogspot.com/2006/10/vbos-pbos-and-fbos.html

MEX and OpenGL
  • Use mex -v -lGL -lglut -lGLU cfile.c
  • Problems with glutinit() when calling mex file (MATLAB crashes when mex file is caleld again - cant do repeated rendering/calculations)
  • Probably not possible?
  • http://www.mathworks.com/matlabcentral/newsreader/view_thread/166039
  • http://mathforum.org/kb/message.jspa?messageID=6145127&tstart=15

1 comment:

kurat said...

Can you please share if you are aware of a software in .Net similar to
"Web services for ISO8583 Messaging using MultiXTpm ISO 8583 Server", the one you discussed in this post?

http://srimal-techdiary.blogspot.com/2009/03/webservices-for-iso8583-messagin-using.html