Click here to Skip to main content
11,640,626 members (61,589 online)
Click here to Skip to main content

Tagged as

OpenGL 3D graphics in MATLAB

, 7 Oct 2013 CPOL 8.3K 342 1
Rate this:
Please Sign up or sign in to vote.
In this article we use OpenGL interface for 3D scientific visualization.


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:

for i=1:N
    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).


This article, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


About the Author

Software Developer
Iran (Islamic Republic Of) Iran (Islamic Republic Of)
No Biography provided

You may also be interested in...

Comments and Discussions

Questionwhere is the source code for the dll ? Pin
projectmember7-Apr-15 21:55
memberprojectmember7-Apr-15 21:55 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150731.1 | Last Updated 7 Oct 2013
Article Copyright 2013 by roozbehabolpour
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid