Monday, July 27, 2009

Sweet 15 Masquerade Ideas



Expica tataremos of a simple way how to write code to create graphics in both 2D and 3D, JOGL and Java. Start from the simplest and we will increase the level of complexity over time as the life of this blog. Before starting give a brief explanation of OpenGL and JOGL.



OpenGL

OpenGL (Open G raphics L ibrary) is a standard specification that defines an API ( A plication P rogramming I nterface) Multilanguage and platform for writing applications that produce 2D and 3D graphics. The interface consists of over 250 different functions that can be used to draw complex three-dimensional scenes from simple geometric
primitives such as points, lines and squares tirángulos. Was originally developed by S ilicon G raphics I nc. ( SGI) and is widely used in CAD , virtual reality, scientific representation, information visualization and game development where it competes with Direct3D Microsoft Windows platforms. JOGL



JOGL ( J ava O pen GL ) is a library that allows access to OpenGL programmatically in Java . JOGL provides access to most features available to programmers C with the exception of the window calls made in GLUT because Java has its own sets of windows (AWT and Swing ). So if you learn to use OpenGL with programming in C or C + + then only have to learn to make calls to the Java window systems.

The Java2D API version Java SE 6 and JOGL are interopebles, this means that:
  • can overwrite Swing components by rendering in OpenGL.
  • can draw 3D OpenGL graphics on Java2D.
When creating this blog was working with version 1.1.1 JOGL libraries, however, have now been updated to version 2.0 which have shifted their functions and methods. Due to the above, try to cover both types of code.

Background

If you've never done graphics OpenGL in C or C + + above, do not worry, we'll start from the simple to the complex, however, before start to explain the functions JOGL provides basic knowledge required of the graphics libraries of Java AWT and Swing . If you've never done Java programs I recommend that you review some books and most applications that require knowledge explain the basics of this language.

0 comments:

Post a Comment