Installing and Testing JMonkeyEngine (jme)

Similar documents
Getting Started for Windows

Proteome Discoverer Version 1.3

Fully Automated IFA Processor LIS User Manual

Managing and Taking Notes

Managing and Taking Notes

IBRIDGE 1.0 USER MANUAL

User Guide for Classification of Diabetes: A search tool for identifying miscoded, misclassified or misdiagnosed patients

Figure 1: The EVH board

TMWSuite. DAT Interactive interface

VMMC Installation Guide (Windows NT) Version 2.0

Medtech32 Diabetes Get Checked II Advanced Form Release Notes

Using SPSS for Correlation

ProScript User Guide. Pharmacy Access Medicines Manager

LabVIEW PROFIBUS VISA Driver DP-Master

LiteLink mini USB. Diatransfer 2

Quick Notes for Users of. Beef Ration and Nutrition. Decision Software & Sheep Companion Modules

Cortex Gateway 2.0. Administrator Guide. September Document Version C

Sleep Apnea Therapy Software User Manual

Anticoagulation Manager - Getting Started

Allergy Basics. This handout describes the process for adding and removing allergies from a patient s chart.

P-B-54.30/141. Instrument Cluster SCN Coding for Component Replacement or Dealer Installed Accessories:

Run Time Tester Requirements Document

BlueBayCT - Warfarin User Guide

Florida Standards Assessments

ImageJ plugin for semiautomatic measurement of roentgenological attachment level

a. From the grey navigation bar, mouse over Analyze & Visualize and click Annotate Nucleotide Sequences.

Clay Tablet Connector for hybris. User Guide. Version 1.5.0

Instructions for the ECN201 Project on Least-Cost Nutritionally-Adequate Diets

Sleep Apnea Therapy Software Clinician Manual

Documenting Patient Immunization. New Brunswick 2018/19

Dosimeter Setting Device

Agile Product Lifecycle Management for Process

USER GUIDE: NEW CIR APP. Technician User Guide

Chapter. Getting Started

Content Part 2 Users manual... 4

Publishing WFS Services Tutorial

Documenting Patient Immunization. Ontario 2018/19

Bayesian Methods p.3/29. data and output management- by David Spiegalhalter. WinBUGS - result from MRC funded project with David

User s Manual for Eclipse(AccuCap)

QuantiPhi for RL78 and MICON Racing RL78

The University of Texas MD Anderson Cancer Center Division of Quantitative Sciences Department of Biostatistics. CRM Suite. User s Guide Version 1.0.

OneTouch Reveal Web Application. User Manual for Healthcare Professionals Instructions for Use

A Quick-Start Guide for rseqdiff

DENTRIX ENTERPRISE 8.0.5

Autocount GIRO plugin enable you to upload your E-banking payment instruction in a

Spectrum. Quick Start Tutorial

Software Version 2.0. User s Guide

Actinic Link for Sage Line 50. Release Notes

NobelDesign 1.3 Installation guide

Benchmark Dose Modeling Cancer Models. Allen Davis, MSPH Jeff Gift, Ph.D. Jay Zhao, Ph.D. National Center for Environmental Assessment, U.S.

Presenter s name. STM8 StartUp

Symantec ESM Agent for IBM AS/400 Installation Guide. Version: 6.5

Estimating national adult prevalence of HIV-1 in Generalized Epidemics

NeuroLink by Applied Neuroscience, Inc. Help Manual Applied Neuroscience, Inc. Applied Neuroscience, Inc.

Strive Frequently Asked Questions

GYMTOP USB PROFESSIONAL 20143

GEX Recommended Procedure Eff. Date: 09/21/10 Rev.: D Pg. 1 of 7

LabVIEW Profibus VISA Driver DP-Slave

Contour Diabetes app User Guide

Graphical User Interface for Windows for MCM Module

Introduction to SPSS S0

The application can be accessed from the pull down menu by selecting ODOT > Drafting Apps > Signs, or by the following key-in command:

The Hospital Anxiety and Depression Scale Guidance and Information

GET SWOLE - Final Report Dartmouth College, COSC 65 Professor Andrew Campbell. Designed by Cameron Price, Andrew Pillsbury & Patricia Neckowicz

OpenSim Tutorial #2 Simulation and Analysis of a Tendon Transfer Surgery

GridMAT-MD: A Grid-based Membrane Analysis Tool for use with Molecular Dynamics

Elluminate and Accessibility: Receive, Respond, and Contribute

One-Way Independent ANOVA

Qualys PC/SCAP Auditor

CUCM Mixed Mode with Tokenless CTL

Getting Started for Unix platforms

NERVE ACTION POTENTIAL SIMULATION version 2013 John Cornell

SPSS Correlation/Regression

AudBase Guidebook Application How-To

About REACH: Machine Captioning for Video

EHS QUICKSTART GUIDE RTLAB / CPU SECTION EFPGASIM TOOLBOX.

Care Pathways User Guide

For Electric Personal Dosimete Dose-i

LabVIEW PROFIBUS VISA Driver DP-Slave

Table of Contents. Contour Diabetes App User Guide

Using ddd with postgres on the instructional computers

Fitting System Instructions for Use

Adding an Event to the Campus Calendar

JEFIT ios Manual Version 1.0 USER MANUAL. JEFIT Workout App Version 1.0 ios Device

Using ddd with postgres on the instructional computers

Lab 3: Perception of Loudness

Lesson 3 Profex Graphical User Interface for BGMN and Fullprof

The Gaze Cueing Paradigm with Eye Tracking Background Set-up Lab

OpenSim Tutorial #1 Introduction to Musculoskeletal Modeling

Problem set 2: understanding ordinary least squares regressions

Ketonix Manual 2016 v1.2 EN. Ketonix Manual 2016 v1.2

Dementia Direct Enhanced Service

Diabetes Management Software V1.3 USER S MANUAL

Lightened Dream. Quick Start Guide Lightened Dream is a dream journal designed to wake you up in your dreams.

Exercise Pro Getting Started Guide

Lionbridge Connector for Hybris. User Guide

Sanako Lab 100 STS USER GUIDE

Transcription:

Installing and Testing JMonkeyEngine (jme) Andrew Davison, ad@fivedots.coe.psu.ac.th July 31st 2014 This document is to help students in 242-515 Animation and Game Development (AGD) install the jmonkeyengine (jme) game engine. The Windows 32-bit version of jme can be found at the course's website: http://fivedots.coe.psu.ac.th/software.coe/242-515_agd/software/ Other versions, for Windows 64-bit, Linux (32/64-bit) and Mac OSX, can be obtained from the jme website: http://hub.jmonkeyengine.org/downloads/ 1. Before Installing jme jme is a Java game engine, so install Java first (version 6 or later). You can find the Java SE Development Kit 7 at: http://www.oracle.com/technetwork/java/javase/downloads/ jdk7-downloads-1880260.html jme requires your machine to support at least OpenGL 2.0. You can test this by installing GLView from the course's website (glview405.exe). My Windows 7 test machine supports OpenGL 2.1, as shown in Figure 1. Figure 1. GLView Output. 1

If GLView reports that the version of OpenGL is less than 2.0, then you can usually fix matters by downloading a more recent driver for your machine's graphics card (which you can do via GLView). 2. Installing jme The jme installation on Windows will usually create a new directory at C:\Program Files\jmonkeyplatform\, which you should check. It is useful if you unzip jmonkeyplatform\jmonkeyplatform\libs\jmonkeyengine3- javadoc.zip (which contains the jme documentation), and save the contents in a new directory (e.g. javadocs\). The jme installer is large (around 500 MB) because it installs an IDE for jme built on top of NetBeans. I will not be using the IDE, but if you want to, then it is explained in the jmonkeyengine 3.0 Beginner's Guide textbook. One issue is that you will need to set up its network proxy settings to get through the CoE firewall. You do this via the menu Tools > Options > General. 3. Testing jme The course website contains a directory holding my jme examples: http://fivedots.coe.psu.ac.th/software.coe/242-515_agd/jme_code/ Download four files: two batch files (compile.bat and run.bat), the HelloJME3.java example, and the logging.properties text file. compile.bat and run.bat both uses a classpath setting: -cp "C:\Program Files\jmonkeyplatform\jmonkeyplatform\libs\*;." Make sure the path matches the location of jme on your machine. Compile HelloJME.java with compile.bat: compile HelloJME3.java Execute it with run.bat: run HelloJME3 The JME settings dialog window should (may) appear, similar to the one in Figure 2. 2

Figure 2. The jme Settings Dialog. It can be used to change the application's window size, but usually you press the "Ok" button so the application can start. The executing HelloJME3 program is shown in Figure 3. Figure 3. The Executing HelloJME3. Moving the mouse causes the blue square to move about inside the window. The only way to terminate the program is by typing <ESC>, since the mouse cannot be used to select the window's close box. 3

4. Making jme Less Verbose When I was testing the examples, jme kept producing a lot of information messages on the command line. These soon became irritating because they hid a program's actual output. An example of the output is shown in Figure 4. Figure 4. Lots of jme Information Messages. You will not be seeing these messages, since I changed jme's message logging settings. I added the following command line option to the call to java in run.bat -Djava.util.logging.config.file=logging.properties This specifies that jme should use the logging settings in the logging.properties text file. That file adjusts jme's logging so that only warning and error messages are sent to the screen, not the massive number of information messages. Another jme irritation is that the settings dialog window always appears before the program starts. Most of the time, the dialog is unnecessary, only slowing things down while the user presses the "Ok" button. There is a simple way of disabling the settings window, by adding a line of code to the main() method in the application: app.setshowsettings(false); I've already added the line to HelloJME3.java, but it's currently commented out. 5. jme Problems 4

I've noticed two problems when running beta version of jme (v3 SDK Beta 1) on Windows. The first is that the closing of a jme program can sometimes cause the JVM to crash. When it happens, the message box shown in Figure 5 appears. Figure 5. JVM Crash Message Box. The jme program has successfully terminated at this point, so the simplest thing is to press the "Close the program" button to allow the JVM to tidy up and finish as well. The other problem is that jme always issues the following warning message when it starts: WARNING: Working directory is not writable. Using home directory instead. This has no effect on the running of the program, so can be ignored. 5