Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

A lightweight pure Java 3D game engine

License

NotificationsYou must be signed in to change notification settings

JohnsProject/JGameEngine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

is a lightweight 3D game engine written in Java.

TODO

  • No dependencies
  • Java 1.5+ compatibility
  • Fixed point math only
  • Multithreading
  • Graphics engine
  • Physics engine
  • Audio engine
  • Networking engine
  • Input engine

Graphics engine

  • Scanline triangle rasterization (linear interpolation, no perspective needed as big triangles are culled)
  • Shaders (flat, gouraud and phong shaders)
  • Multithreaded shaders
  • Point, directional and spot lights
  • Directional and spot light shadow mapping
  • Skeletal animation (experimental)
  • Skybox
  • Custom Wavefront OBJ.obj importer
  • Animation importer

Input engine

  • Keyboard
  • Mouse
  • Gamepad
  • Touch

Tests

There are some built in tests for the game engine that can be found in theTests folder.To run the test just double click the.jar file.

Or open a terminal and typejava -jar TestFile.jar

The window size can be configured using thewindow640x480 argument.

The render resolution can be set as a percentage of the window size using therender75 argument.

Videos

Spaceship game

Spaceship game

Model viewer

Model viewer

Screenshots

Single threaded basic shader (without lights)

Screenshot

Multithreaded basic shader (without lights)

Screenshot

Multithreaded flat shading (directional, spot and point lights and directional and spot light shadows)

Screenshot

Multithreaded gouraud shading (directional, spot and point lights and directional and spot light shadows)

Screenshot

Multithreaded phong shading (directional, spot and point lights and directional and spot light shadows)

Screenshot


[8]ページ先頭

©2009-2025 Movatter.jp