Vous suivez désormais cette soumission
- Les mises à jour seront visibles dans votre flux de contenu suivi
- Selon vos préférences en matière de communication il est possible que vous receviez des e-mails
Matlab R2009a and above now support .NET assemblies, which allows us to use .NET wrapped libraries such as OpenGL .NET in Matlab.
I have included OpenGL .NET assemblies including the source C# code from TAO, and a hand full examples. The examples range from a basic colored cube till a MIP render of a 3D texture with GLSL shading code. There is also example code to render Opengl and .NET forms "inside" a Matlab figure.
To work first install .NET recommend version 3.5. Try the examples and study the code.
Modifications of TAO code:
Matlab does not allow type specification of an output variable, so outputs must also be inputs to allow type specification. So I changed all array outputs in the C# code "[OUT]" to "[In, Out] ref" expect "[Out] out" commands.
Citation pour cette source
Dirk-Jan Kroon (2026). OpenGL .NET Examples (https://fr.mathworks.com/matlabcentral/fileexchange/23792-opengl-net-examples), MATLAB Central File Exchange. Extrait(e) le .
Catégories
En savoir plus sur Call Web Services from MATLAB Using HTTP dans Help Center et MATLAB Answers
Informations générales
- Version 1.0.0.0 (4,22 Mo)
Compatibilité avec les versions de MATLAB
- Compatible avec toutes les versions
Plateformes compatibles
- Windows
- macOS
- Linux
| Version | Publié le | Notes de version | Action |
|---|---|---|---|
| 1.0.0.0 |
