Skip to content

A OpenGL/JOGL implementation featuring 3D geometric transformations, interactive models, and real-time rendering. Developed on Linux with VS Code, showcasing 3D house, car, and maze implementations with advanced lighting and textures.

Notifications You must be signed in to change notification settings

PROMETE00/Java3DModels

Repository files navigation

Java 3D Graphics Engine with OpenGL/JOGL

You can support me at

https://coff.ee/prome

πŸš€ Getting Started (Linux/VS Code)

Prerequisites

sudo apt-get install libjogl2-java freeglut3-dev

A complete 3D graphics implementation featuring geometric transformations, interactive models, and real-time rendering using Java OpenGL (JOGL). Optimized for Linux development environments.

✨ Key Features

🧩 3D Model Implementations

  • Primitive Shapes: Cube, Sphere, Pyramid, Cylinder with customizable parameters
  • Complex Structures:
    • Fully textured 3D house (Casa3DJOGL.java)
    • Interactive vehicle model (Carro3DSimplificado.java)
    • Navigable 3D maze system (HexLaberintoJOGL.java)

πŸ”§ Geometric Transformations

  • Basic Operations: Translation, Rotation (Euler angles), Uniform/Non-uniform Scaling
  • Advanced Manipulations:
    • 3D Shearing/Skewing
    • Matrix stack transformations
    • Object-space vs World-space operations

πŸ’‘ Rendering Techniques

  • JOGL-immediate mode rendering (glBegin/glEnd)
  • Phong lighting model implementation
  • Texture mapping (diffuse/specular)
  • Vertex Buffer Objects (VBO) for efficient rendering

πŸ› οΈ Technical Stack

Component Description
Core Java 8+
Graphics JOGL 2.4
Math Custom matrix/vector operations
Platform Linux-optimized (Ubuntu/Debian)

πŸ“¦ Project Structure

src/

β”œβ”€β”€ core/ # Transformation matrices

β”œβ”€β”€ models/ # 3D object implementations

β”‚ β”œβ”€β”€ Casa3DJOGL.java # House model

β”‚ β”œβ”€β”€ Carro3DSimplificado.java # Vehicle model

β”‚ └── HexLaberintoJOGL.java # Maze system

resources/

β”œβ”€β”€ textures/ # Texture images

└── shaders/ # GLSL shaders (optional)

About

A OpenGL/JOGL implementation featuring 3D geometric transformations, interactive models, and real-time rendering. Developed on Linux with VS Code, showcasing 3D house, car, and maze implementations with advanced lighting and textures.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages