Code covered by the BSD License  

4.0

4.0 | 2 ratings Rate this file 27 Downloads (last 30 days) File Size: 2.48 MB File ID: #35026
image thumbnail

OpenGL 3D graphics in MATLAB using jzy3d - a demo

by

 

10 Feb 2012 (Updated )

A demo of some features of the open-source jzy3d 3d graphics package from http://www.jzy3d.org/

| Watch this File

File Information
Description

This PDF describes code for displaying jzy3d OpenGL-based 3D graphics in MATLAB. Jzy3d is an open-source 3D graphics library. See http://www.jzy3d.org/

Code to run these demos is available as a Java jar file at
http://sourceforge.net/projects/waterloo/files/
(N.B. All dependencies are either distributed as standard with MATLAB or included in this jar).

jzy3d uses the JOGL Java bindings to the OpenGL API to generate 3D graphics in Java. These graphics are easily generated in MATLAB and can readily be added to MATLAB figures. For the sphere in the illustration:

>> import kcl.waterloo.graphics3D.jzy3d.Factory.*
>> [x,y,z]=sphere(32);
>> gr=createSurface(x,y,z);
>> f = figure;
>> [comp, container] = javacomponent(gr);
>> set(container,'Units', 'normalized','Position', [0 0 1 1]);

Required Products MATLAB
MATLAB release MATLAB 7.13 (R2011b)
Other requirements Platform independent
Tags for This File   Please login to tag files.
Please login to add a comment or rating.
Comments and Ratings (2)
21 Jan 2013 chosan

Hi,

I'm trying to learn Waterloo and jzy3d for Matlab.

Do you have code for the demo .jar?
It would help a lot, thanks.

I've posted on the sf forum as well.

Ivan

10 Feb 2012 Matthew  
Updates
14 Feb 2012

Improve description

Contact us