OpenGL 3D graphics in MATLAB using jzy3d - a demo

A demo of some features of the open-source jzy3d 3d graphics package from http://www.jzy3d.org/
4,4K téléchargements
Mise à jour 14 fév. 2012

Afficher la licence

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]);

Citation pour cette source

Malcolm Lidierth (2024). OpenGL 3D graphics in MATLAB using jzy3d - a demo (https://www.mathworks.com/matlabcentral/fileexchange/35026-opengl-3d-graphics-in-matlab-using-jzy3d-a-demo), MATLAB Central File Exchange. Récupéré le .

Compatibilité avec les versions de MATLAB
Créé avec R2011b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS Linux
Catégories
En savoir plus sur Descriptive Statistics and Visualization dans Help Center et MATLAB Answers

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
Version Publié le Notes de version
1.1.0.0

Improve description

1.0.0.0