Code Monkey home page Code Monkey logo

jmonkeyengine's Introduction

jMonkeyEngine

Build Status

jMonkeyEngine is a 3-D game engine for adventurous Java developers. It’s open-source, cross-platform, and cutting-edge. v3.6.1 is the latest stable version of the engine.

The engine is used by several commercial game studios and computer-science courses. Here's a taste:

jME3 Games Mashup

Getting Started

Go to https://github.com/jMonkeyEngine/sdk/releases to download the jMonkeyEngine SDK. Read the wiki for the installation guide and tutorials. Join the discussion forum to participate in our community, get your questions answered, and share your projects.

Note: The master branch on GitHub is a development version of the engine and is NOT MEANT TO BE USED IN PRODUCTION.

Technology Stack

  • windowed, multi-platform IDE derived from NetBeans
  • libraries for GUI, networking, physics, SFX, terrain, importing assets, etc.
  • platform-neutral core library for scene graph, animation, rendering, math, etc.
  • LWJGL v2/v3 (to access GLFW, OpenAL, OpenGL, and OpenVR) or Android or iOS
  • Java Virtual Machine (v8 or higher)

Documentation

Did you miss it? Don't sweat it, here it is again.

Contributing

Read our contribution guide.

License

New BSD (3-clause) License

jmonkeyengine's People

Contributors

ali-rs avatar codex128 avatar dannyjo avatar davidb avatar dokthar avatar empirephoenix avatar iwgeric avatar javasabr avatar jayfella avatar jmekaelthas avatar jseinturier avatar kimxilxyong avatar mefisto94 avatar nehon avatar nemesismate avatar neph1 avatar normen avatar pspeed42 avatar riccardobl avatar rootli avatar scrappers-glitch avatar shadowislord avatar shamandevel avatar skyebook avatar sploreg avatar stephengold avatar tonihele avatar yarnmcdonuts avatar znixian avatar zzuegg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

jmonkeyengine's Issues

jMonkeyEngine SDK installer fails on MacOSX 10.5

Reference on googlecode: https://code.google.com/p/jmonkeyengine/issues/detail?id=198

The installer of jMonkeyEngine SDK Alpha-2 fails to run on MacOSX 10.5 because it falsely tries to use Java 1.5 to start the installed.

Workaround:
If you have Java 1.6 installed on your computer you can temporarily rename the Java 1.5 folder in /System/Library/Frameworks/JavaVM.framework/Versions/ to some other name like "1.5backup" and run the installer. After installing the folder can be renamed back to "1.5".

Built-in fog

All shaders that are applied to in-game objects will require this
functionality. It should be possible, through a general shader API or a
specific define, to provide this functionality to any shader willing to use
it.
Example:
gl_FragCoord = APPLY_FOG(color);

where APPLY_FOG would be a define that either returns the provided color
(if fog is disabled) or apply the fogging.


How is this information going to be exposed to an arbitrary shader?
One solution is to define UserWorldParameters inside the material which would specify
what kind of user globals the shader can take. The world uniform updater checks which
are exposed in the system and if there are any matches between the material and
exposed vars then they are sent as uniforms.

How will these globals be exposed and what classes are allowed to expose them?
The class responsible for assigning these globals to the materials will contain them
and accept requests from user code to add them to the list. Classes like
SceneProcessor should be allowed to set them. Singlepass shadow-supporting shaders
will accept ug_ShadowMap[] for example, ShadowSceneProcesor generates shadow maps for
scene and exposes ug_ShadowMap[].

What about fog?
This is a fixed-pipeline state that is stored inside RenderState. How will the user
specify fog? In the Material definition, RenderState ONLY contains whether the
material should be fogged or not. No other fog-related state is allowed to be set
inside the material. There must be a way to set the other fog-state through the
Renderer since it may or may not be using fixed-pipeline. Renderers only supporting
shaders will set the g_FogParams and g_FogColor depending on the params the user
specified. While Renderers only supporting fixed-pipeline will set these parameters
using glFog and such and achieve the same result.
Reformulation: Material techniques that use shaders must expose g_FogParams and
g_FogColor, while Material techniques that do not use shaders must specify Fog Off
inside the RenderState block to disable fogging for the material.

Reference on googlecode: https://code.google.com/p/jmonkeyengine/issues/detail?id=64

Multithreading in AssetManager

Multithreading is an important issue right now. Taking advantage of it in
jME3 is critical. Some areas where multithreading can be used:

  • Skeleton animation, mesh skinning
  • Particle update
  • Physics
  • Networking
  • Input polling
  • OGG/Audio streaming
  • Resource loading
  • Terrain streaming

The details on how to implement these areas using multithreading will be
specified later.


Some parts of jME3 are already multi-threaded:

Physics runs in a parallel thread.
Networking runs in a parallel thread.
Audio and OGG streaming is done on a parallel thread.
Terrain streaming/LOD is done in a parallel thread.

jME3 is still missing asset loading on a separate thread, which can be critical if the application loads assets dynamically.


The AssetManager is the last part of jME3 that needs to take advantage of multithreading.

Reference on googlecode: https://code.google.com/p/jmonkeyengine/issues/detail?id=94

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.