https://github.com/kiwijuice56/rasterizer-3d-engine
3D rasterizer engine in Java
https://github.com/kiwijuice56/rasterizer-3d-engine
3d 3d-engine 3d-graphics java raster-graphics rasterization
Last synced: 2 months ago
JSON representation
3D rasterizer engine in Java
- Host: GitHub
- URL: https://github.com/kiwijuice56/rasterizer-3d-engine
- Owner: kiwijuice56
- License: mit
- Created: 2022-03-26T07:22:11.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2022-08-02T03:24:28.000Z (about 3 years ago)
- Last Synced: 2025-03-28T02:53:04.990Z (7 months ago)
- Topics: 3d, 3d-engine, 3d-graphics, java, raster-graphics, rasterization
- Language: Java
- Homepage:
- Size: 2.45 MB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# critter-3d-engine
A basic 3D engine implemented with Java.
This program was originally interfaced with the AP Computer Science "GridWorld" project, but the logic of the
engine was isolated from the project for performance and other limitations.
The original assignment that was developed with this project is located [here](https://docs.google.com/document/d/1MLoiBiA2aGNJt47wUIgn6nQSzdvB5Oo5CMJqowSeZwI/edit?usp=sharing).
![]()
Upgraded execution
![]()
Original execution with GridWorld
## Features
- Basic shading with customizable lights and meshes
- .OBJ importer to preview any models
- Proper depth buffering
- UV mapping and texturing## How to use
Scenes can be configured in the `MainWindow.java` class. A complete demonstration of importing and
initializing models can be found in the `main` function.Place any textures and .OBJ files inside the `resources` folder.
.OBJ files can easily be exported from any 3D editing program and imported to the engine.
If using Blender, ensure that the export includes UV data and "Keep Vertex Order" is enabled.
Textures must be PNG-32.## Attribution
- Cube texture sourced from [Wikipedia](https://en.wikipedia.org/wiki/Cube_mapping)
- Seashell model and texture sourced from [BlenderBoom](https://www.blenderboom.com/product/sea_shell/)
- Utah teapot model sourced from [The University of Utah Website](https://www.cs.utah.edu/~natevm/newell_teaset/newell_teaset.zip)