English Deutsch Français Italiano Español Português 繁體中文 Bahasa Indonesia Tiếng Việt ภาษาไทย
Todas as categorias

Olá..

Alguém ai manja de como rodar aplicações de OPENGL utilizando o JOGL em Linux??

Pode ser em Windows tb....

Abraços...

2006-08-17 11:00:28 · 1 respostas · perguntado por Ivan o Terrivel... 1 em Computadores e Internet Programação e Design

1 respostas

e ai blz?
putz tento instalar o linux aki na minha maquina mas sempre da erro de enderecamento de memoria rss...eh ****
mas entao da uma olhadinha no texto abaixo

Java OpenGL (JOGL) is one of many wrapper libraries that allow OpenGL to be used in the Java programming language. It is currently being developed by the Game Technology Group at Sun Microsystems.

JOGL allows access to most features available to C programming language programmers, with the notable exception of window-system related calls in GLUT (as Java contains its own higher-level windowing systems, AWT and Swing), and some extensions. The base OpenGL C API is accessed in JOGL via Java Native Interface (JNI) calls. As such, the underlying system must support OpenGL for JOGL to work.

JOGL differs from some other Java OpenGL wrapper libraries in that it merely exposes the procedural OpenGL API via methods on a few classes, rather than attempting to map OpenGL functionality onto the object-oriented programming paradigm. Indeed, the majority of the JOGL code is autogenerated from the OpenGL C header files via a conversion tool named Gluegen, which was programmed specifically to facilitate the creation of JOGL.

This design decision has both its advantages and disadvantages. The procedural and state machine nature of OpenGL is inconsistent with the typical method of programming under Java, which is bothersome to many programmers. However, the straightforward mapping of the OpenGL C API to Java methods makes conversion of existing C applications and example code much simpler. The thin layer of abstraction provided by JOGL makes runtime execution quite efficient, but accordingly is more difficult to code compared to higher-level abstraction libraries like Java3D. Because most of the code is autogenerated, changes to OpenGL can be rapidly added to JOGL.

espero que tenha ajudado
abraço

2006-08-18 03:59:00 · answer #1 · answered by Fiapo 4 · 0 0

fedest.com, questions and answers