Home » Source Code » OpenGL 3D graphics in MATLAB

OpenGL 3D graphics in MATLAB

2015-02-02 02:29:02
The author
Download(s): 0
Point (s): 1 
Category Category:
OpenGLOpenGL MatlabMatlab


Translated by maninwest@Codeforge Author:roozbehabolpour@CodeProject
In this article we use OpenGL interface for 3D scientific visualization. OpenGL was developed by Silicon Graphics and was released in 1992. OpenGL is a cross-language programming interface (API) for rendering 2D and 3D computer graphics. OpenGL is faster and comfortable than virtual reality toolbox. You can make many points in OpenGL with a sphere and you can change these points faster than the virtual reality toolbox.
Using the code
It is very easy to use this project. In MATLAB you must define points of your object and you must define the adjacency matrix of your mesh. For example suppose that we want to create a spring, first we must define the Points:
Adj=zeros(N,N); for i=1:N
        Z_points(i)=(5*i/N-2)/4; if i<N

After you create your object you can zoom in and zoom out with right and left click on your object.
Points of Interest

You can use this for the finite element method (FEM). FEM is the mathematical approximation method for solving a partially differential equation (PDE).
Sponsored links

File list

Tips: You can preview the content of files by clicking file names^_^
Name Size Date
image.BMP299.30 kB2013-10-07 13:57
Showobject.m213.00 B2013-10-07 13:57
demo.m298.00 B2013-10-07 13:57
Graphics.dll32.50 kB2013-10-07 13:57
Graphics.h189.00 B2013-10-07 13:57
Sponsored links


(Add your comment, get 0.1 Point)
Minimum:15 words, Maximum:160 words
  • 1
  • Page 1
  • Total 1

OpenGL 3D graphics in MATLAB (18.84 kB)

Need 1 Point(s)
Your Point (s)

Your Point isn't enough.

Get 22 Point immediately by PayPal

Point will be added to your account automatically after the transaction.

More(Debit card / Credit card / PayPal Credit / Online Banking)

Submit your source codes. Get more Points


Don't have an account? Register now
Need any help?
Mail to: support@codeforge.com


CodeForge Chinese Version
CodeForge English Version

Where are you going?

^_^"Oops ...

Sorry!This guy is mysterious, its blog hasn't been opened, try another, please!

Warm tip!

CodeForge to FavoriteFavorite by Ctrl+D