67 Commits

Author SHA1 Message Date
nor..67
7ba657e430 - set logging from Level.INFO to Level.FINE for most logging
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2013-01-31 22:26:10 +00:00
dan..om
c798db10b2 - Reverted Nehon's termporary depth fix. We don't need jME to do the extra work if it's not needed.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-27 14:08:58 +00:00
Zer..om
dd2b82c881 Fixed build problem due to changed constructor format.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10004 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-24 08:39:28 +00:00
Sha..rd
5a3a1838f6 * Allow removal/addition of NiftyJmeDisplay from ViewPort
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-23 18:09:50 +00:00
Sha..rd
2e35519182 * Nifty will now set the BitmapText base color instead of using the material's color (which could override the color of the shared font)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9995 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 03:16:16 +00:00
Sha..rd
4aea96f4b9 * Made nifty mouse wheel rotation be the same as nifty LWJGL's renderer (1/-1 instead of 120/-120)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9994 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 03:14:51 +00:00
Sha..rd
e8f747e8ce * Fix incorrect nifty display
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9993 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-13 02:07:12 +00:00
Sha..rd
2d69a5d159 * Fixed issue 460
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:55:11 +00:00
Sha..rd
fead899369 * Fixed issue 511
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 21:08:11 +00:00
Sha..rd
b3e63e9732 * Depth writes now completely disabled for all nifty elements - should fix various glitches when nifty is rendered with jME3 gui or 3D objects
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9981 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-10 20:30:56 +00:00
rem..om
8d841b70dd Forced depth range to 0,0 in NiftyJmeDisplay processor before rendering nifty to avoid depth check issues between the 3D scene and the text elements of the nifty gui.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9941 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-03 08:27:00 +00:00
sky..ok
63632afca1 License maintenance in Networking, NiftyGUI, JOGG, and OGRE
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9856 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-08 14:36:12 +00:00
sky..ok
28ce76245f Change all source licenses to say 2009-2012
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 17:01:57 +00:00
PSp..om
810164da46 Added a method for directly poking keyboard events
into Nifty's queue.  This is nice for hooking up
things like joysticks to the cursor keys to navigate
nifty menus/screens.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9780 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-26 06:25:06 +00:00
pot..om
16851eb1d8 Removing Android Sensor Support (undo r9610). Preparing for new way of implementing sensor support on Android.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9646 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-12 01:35:56 +00:00
Sha..rd
2ab5e4abbe * Nifty GUI now uses Unshaded.j3md for rendering which is cleaner
* Nifty GUI performance much faster, but global font text isn't taken into account in OGL1 mode (fix TBD)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9624 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-05 23:50:54 +00:00
Sha..rd
be58274ab8 * Fix issue 520 again: pressing mouse over jme and releasing over nifty did not tell jme about the release.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9615 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:39:15 +00:00
Sha..rd
f82be26af8 * Fix issue 520
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9614 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 20:34:16 +00:00
pot..om
bb631ab13a Adding support for defining external (or internal in Android's case) sensors. This is still a work in progress. Major task yet to complete is defining the coordinate system to return the sensor data. 3 sensor types are defined: Magnetic, Accelerometer, Orientation. Right now the sensor data is returned in device coordinates for Magnetic and Acceleration, and World (Earth) coordinates for Orientation. Sensors use the Input Manager to define triggers and listeners like all other input types. Only Android has an implementation for SensorInput at this time. See forum post http://jmonkeyengine.org/groups/android/forum/topic/creating-engine-support-for-android-sensor-input/ for details of the operation and current status.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9610 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-08-04 01:55:37 +00:00
Sha..rd
7825249952 * Made some classes pretty, hope you like it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 04:00:03 +00:00
Sha..rd
27e97c34da * 'FixedFunc' technique were wiped out entirely. Not useful since now we choose default technique based on caps anyway.
^ Make sure to fix your materials by removing the 'FixedFunc' name from your fixed pipeline techniques! Or remove then entirely if the material doesn't support OpenGL1 ...

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9546 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:56:51 +00:00
dan..om
5ac9953f62 Implemented the ability to change the mouse cursor.
The way to do this is by calling inputManager.setMouseCursor("path/to/cursor/in/assets/cursor.ani").

NOTE: Supported formats are  "RIFF-wrapped" .ani, .cur and .ico. Those can be found everywhere on the web and are the majority of icons found. If the file format is unrecognized the loader will crash with an appropriate message (hopefully).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-11 21:18:52 +00:00
nor..67
ea0be5cf9f - fix imports across engine
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-03 13:10:26 +00:00
rem..om
e574e73b68 - Nifty : fixed gradient material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9446 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-01 21:41:07 +00:00
rem..om
8eae2cfd8a Cinematic, fixed time seeking when having several SpatialAnimation with a speed > 1
fixed an issue in soundTrack crashing when time was < 0
properly implemented GuiTrack stop() method

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9239 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-08 17:10:47 +00:00
rem..om
654c44abdd Jme nifty render device optimization :
- Banished color buffer updating at render time (except for gradient quads that uses vertex color)
- fully transparent quads are not rendered anymore (that avoid rendering transparent layers allowing complex layout for free).

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9232 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-04 14:08:15 +00:00
rem..om
6087a930df Formatted code of RenderDeviceJme before comming changes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9231 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-04 13:39:58 +00:00
rem..om
e275cfb7ee JME nifty's render device : fixed text positioning when autoScale is true
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9230 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-04 13:24:01 +00:00
rem..om
2d57665dfd JME nifty's render device now uses 2 separate shaders : one for images and texts and one for quads, this way there is no more branching in the frag shader greatly improving speed (specially on android)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9229 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-04 12:54:02 +00:00
rem..om
92b97d38d8 Committed a patch from iwgeric, to make nifty Textfield display the soft keyboard on tap.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9227 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-02 10:23:22 +00:00
rem..om
859123673e Committed patch from iwgEric that fixes a couple of issues on android touchinput http://jmonkeyengine.org/groups/android/forum/topic/error-with-nifty-and-awt/?topic_page=2#post-165433
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9226 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-02 09:12:38 +00:00
Sha..om
0f41e1fee1 * nifty - fix incorrect conditional in InputSystemJme.onMouseButtonEvent()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9097 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 00:00:40 +00:00
sky..om
8e721f5c93 Brought the number of Javadoc workings down to 322 from 391; Updated year to 2012 in license header of affected files
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 06:54:07 +00:00
rem..om
950276679e Nifty : applied patch posted by iwgeric in this thread http://jmonkeyengine.org/groups/android/forum/topic/error-with-nifty-and-awt/?topic_page=2&num=15#post-147332
fixes nifty interaction on touch event on android.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 09:11:13 +00:00
voi..om
fe521c76ea update to latest Nifty 1.3.1-SNAPSHOT build especially because of consolidation of resource loading (the ResourceLoader inside of Nifty is now a part of the Nifty instance and not static anymore, see 1001faad0c for details)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8928 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-14 13:26:52 +00:00
rem..om
08af19ec5b Cinematics :
- One can now shift time forward an backward in a cinematic with the setTime(float) method, all sub cinematic events support it except soundtrack (has to be implemented)
- Enhanced MotionPath calculation to allow time shifting, and made speed more constant
- changed test cases accordingly
- some more javadoc
- fixed some problems in GUITrack


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8913 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-09 21:23:35 +00:00
nor..67
3cdaf0e051 jme3:
- fix imports in all classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 14:06:48 +00:00
nor..67
c906508e62 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00
rem..om
630b594158 Proper implementation of renderFont in nifty RenderDeviceJme, the last 2 floats are scaleX and scaleY. changed the method accordingly.
Old method is now deprecated and redirect to the new method

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8566 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-01 17:56:56 +00:00
rem..om
4c0f7b06ca - Fixed nifty RenderDeviceJme compilation issue, a new float param has been added to the renderFont method in nifty's RenderDevice interface, it's called "f1" so it's kinda hard to tell what it stands for. For now it's not used in jme's renderFont method.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8565 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-01 09:47:47 +00:00
sha..rd
130283914e * Fix nifty border rendering gradient
* Fix nifty text black borders or not getting rendered

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8469 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 00:46:56 +00:00
voi..om
a824f45efb optimize GC performance while creating keys for the BitmapText cache
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8459 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 01:10:49 +00:00
voi..om
52d1aaaaf2 Nifty RenderDeviceJme Bugfix: When we cache BitmapText instances to speed up text rendering we need to make sure that we take the font and the color into account as well! When we cache BitmapText instances only using the actual "text" it is possible that the exact same text - when it is rendered in different fonts - will be used from the cache (and then using the wrong font!) This has now been fixed.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8386 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-12 22:23:48 +00:00
sha..rd
a236c7d03b * Fix compile error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8357 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-05 01:51:04 +00:00
sha..rd
64c61c86e4 * Fix syntax errors due to JmeSystem/Platform changes
* Prevent stream closed exception when playing OGG music
 * Prevent UnsatisfiedLinkError when using audio effects on Mac
 * Add BitmapText caching to Nifty GUI. May improve FPS in guis with lots of text elements

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-11 02:02:29 +00:00
sha..rd
f421e2a876 * Removed shiny check in Lighting.frag (for ATI Radeon X1600 and similar)
* Applying default values for materials inside old J3O files
 * Default shininess in TerrainLighting

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8163 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 22:39:02 +00:00
sha..rd
db0a4f23a8 * New block language parser
* Rewrote J3M loader
 * AssetManager.unregisterLocator() must be implemented
 * Added support for material default vars
 * Apply NVIDIA spot light fix for TerrainLighting

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-17 03:25:48 +00:00
nor..67
c26e4d8e42 - revert previous change as wrong image paths might result
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8001 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-10 18:57:56 +00:00
nor..67
65c228ff15 - fix NiftyJmeDisplay so that other locators can be registered for NiftyGUI
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8000 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-10 18:54:15 +00:00
sha..rd
984721cc75 * AnimControl now supports abstract animation (doesn't have to be BoneAnimation)
* Misc javadocs
 * Fix for SoundHandleJme.stop()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7988 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-07 00:08:22 +00:00