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
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
e574e73b68
- Nifty : fixed gradient material
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9446 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
nor..67
3cdaf0e051
jme3:
...
- fix imports in all classes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
sha..rd
a236c7d03b
* Fix compile error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8357 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
14 years ago
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
14 years ago
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
14 years ago
sha..rd
c727d3e006
* Fixed crash in TestCinematic
...
* Fixed crash in LightList.sort()
* Removed usage of Arrays.copyOf() in BitmapFont, so Android can run it
* Formatted OGLESShaderRenderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
11a8c132fc
* Nifty Gui dynamic resolution changing is now supported
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7632 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
kim..ng
384cdcff85
Android: getTouchInput() interface add
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7550 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
068ee238a3
- fix NiftyJmeDisplay in jMP
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7394 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
f72d5c20fd
* Nifty Gui now uses jME3 AssetManager to find XML files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7378 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
dcf3f3c061
* Fixed bug in RenderImageJme Texture constructor that would not take into account width/height
...
* MatParam toString() method will now display value
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7368 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
6196de22f7
* Removed all deprecated classes, methods, and fields
...
* AudioNode now takes AudioRenderer in its constructor to allow audio.play() functionality
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
ed7789b7a6
* The OpenGL2 renderer now actually scales non-power-of-2 textures instead of throwing out a useless warning
...
* Nifty GUI now supports the rescaling of textures by storing the resolution beforehand
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7281 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
9b9fb940a6
* Fixed compile error in nifty
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
efb9792c95
* Better toString() methods for Image and Texture
...
* OGGLoader no longer fails if file length less than number of expected samples
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
e15b26b0ed
* Fixed issue where Nifty GUI would consume all mouse button events
...
* Made video player deprecated
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7129 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rac..om
5ae44319ea
Turns out I did things a bit wrong with respect to the new nifty mouse even queue....
...
I called stuff that was meant to be internal to nifty. That's fixed now. Also had to replace the nifty examples jar with a new version. This version os BIG (15Mb). Void is working on a smaller one, but at least with this big one, things work as expected.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7117 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rac..om
76ff6bb99f
Mouse wheel and the other two mouse buttons should now also be fixed. Since this is not tested in the NiftyGUI test there's no real of know till a test has been created though. To fix it I just tweaked the appropriate if statements a bit.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7115 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rac..om
8cdef21af6
upgraded nifty and nifty-default-controls to nightly build of 2011-03-24. Also fixed the AwtMouseInput and removed some ununsed imports. The com.jme3.niftygui.InputSystem has been changed as well to correspond with the new Nifty way of working with mouse events. It now uses the new MouseInputEventQueue and the new NiftyMouseInputEvent.
...
There is still an issue with the mouse buttons besides the first mouse button. These should be picked up by nifty, but for some reason are not triggering a MouseButtonEvent. This is something Kirril will need to take a look at.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7114 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
PSp..om
3fe5911b66
Adding a comment hinting at maybe why jme nifty text
...
used to work better and then broke at some point.
The older previously commented out code provided a
better text width value than BitmapFont did before
the recent fixes.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6986 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
PSp..om
d159c5e8c3
Throw a more meaningful exception for a missing font
...
than the NPE that's about to happen otherwise.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6982 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
9e53abbb7a
move jme3 to trunk
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@6971 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago