Commit Graph
69 Commits
Author SHA1 Message Date
sha..rd f640e5de21 * Added javadoc to AudioNode
* Added methods play(), playInstance() and stop() to AudioNode

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7334 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 17:45:57 +00:00
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
2011-04-27 16:45:01 +00:00
sha..rd 33dac750d7 * Fix for jMonkeyPlatform "100% CPU usage" bug
* Deprecate Quaternion.normalize() as it does not follow naming convention


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7332 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 16:02:09 +00:00
sha..rd b06652b6a8 * Fix issue 179, shadows and HDR don't work together (thanks spencers)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7304 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-25 01:49:19 +00:00
sha..rd d66a02eafc * Added TestSoftwareMouse
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7299 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 23:14:48 +00:00
sha..rd 4698e13644 * Fixed IllegalArgumentException in Camera.setGuiBounding
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7298 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 23:05:45 +00:00
sha..rd b729309949 * Fix syntax error in TestOgreAnim
* Ogre3D MaterialLoader now properly loads materials exported from blender2ogre (Blender 2.57)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7297 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 20:51:23 +00:00
sha..rd e6b11e8013 * Fixed yet another bug with transforms, this time in Spatial.worldToLocal
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7296 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 20:19:19 +00:00
sha..rd 4ff31a6fab * Changed depth function back to GL_LEQUAL
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7293 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 04:07:43 +00:00
sha..rd edd5aaaeb5 * CrossHatch filter should now properly compile on ATI
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7292 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 03:13:05 +00:00
sha..rd a06ce4ebcd * Fixed issue where scene graphs with non-uniform scales would give incorrect result
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7291 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 03:05:06 +00:00
sha..rd bfe772dd71 * Animated models won't be updated unless they are in the camera frustum ... Hopefully this won't break anything
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7290 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 02:03:21 +00:00
sha..rd 1ace200526 * Actually fixed the setSpatial(null) bug now ..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7289 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 01:28:32 +00:00
sha..rd d96912e900 * Fix syntax error in TerrainLodControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7288 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 01:04:48 +00:00
sha..rd 8aa7468370 * Removed deprecated methods from AnimControl
* Fixed bug where AnimControl would crash on setSpatial(null)
 * Mesh will deserialize lod levels list using arraycopy now
 * Renamed shorthands "ar" and "manager" to their Application equivalents in AudioApp 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7287 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-23 01:02:07 +00:00
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
2011-04-20 20:46:24 +00:00
sha..rd 7d6167c0dc * Added Renderer.invalidateState() to reset the render context
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7280 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 20:18:41 +00:00
sha..rd 8019ba2a53 * LwjglRenderer will throw an exception when attempting to set null shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7279 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 18:56:18 +00:00
sha..rd 5ffa3927ea * Fix compile error
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7278 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:48:17 +00:00
sha..rd e9e64c7cb7 * Removed deprecated AnimControl constructor
* Moved bind pose generation to Mesh away from Ogre loader as its a fairly common operation for animation loaders
 * Added TestCustomAnim test which demonstrates how to generate an animated model from scratch

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7277 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 17:41:47 +00:00
sha..rd e990b25822 * TestNiftyGui now uses jme3test/niftygui/hellojme.xml and acts as a ScreenController
* Added TestNiftyExamples that runs the all/intro.xml in the nifty examples jar

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7274 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:52:38 +00:00
sha..rd 8e7d609682 * nifty examples jar much smaller now
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7273 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:47:56 +00:00
sha..rd 0d49c41b38 * Remove messed up logging setup
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:35:10 +00:00
sha..rd 9b9fb940a6 * Fixed compile error in nifty
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 16:06:54 +00:00
sha..rd 6ed32b479c * Updated to latest version of Nifty GUI 1.3
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7270 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 15:35:34 +00:00
sha..rd 9088d6230d * Added Camera.lookAtDirection()
* Added docs for Camera.containsGui()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7268 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 14:00:43 +00:00
sha..rd 67dd48aae7 * Camera.setDirection() now deprecated since it doesn't do the thing most people expect it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7266 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 13:53:16 +00:00
sha..rd f2f6246e43 * Moved Screenshots to Desktop Source Package since it uses BufferedImage
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7265 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 01:08:25 +00:00
sha..rd 8fb97f1a3a * Call timer.reset() when gaining focus to fix "object speedup after alt-tab" issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7264 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 00:39:51 +00:00
sha..rd 190767e7be * Fixed bug with Spatial.localToWorld() and Spatial.worldToLocal() not using checkDoTransformUpdate()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7263 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-20 00:18:32 +00:00
sha..rd d729da9e78 * @SuppressWarnings("fallthrough") to prevent warnings
* Fixed rest of the warnings

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7241 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-14 03:37:05 +00:00
sha..rd 7dd3d52e9e * Removed many deprecated methods and classes
* Fixed various small issues detected by code analyzer

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7240 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-14 03:19:11 +00:00
sha..rd 0d8a4b8dd4 * Fixed some luminance/alpha formats failing due to missing break statement under switch
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7239 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-13 22:43:15 +00:00
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
2011-04-13 04:55:43 +00:00
sha..rd 3b9cf4cd35 * Updated Particle.j3md so it works on pre GLSL 1.2 graphics cards
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7229 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 19:11:02 +00:00
sha..rd 7f7fc50ab5 * Increased buffering for streaming audio from ~250 ms to 1000 ms.
* Reduced audio thread update from 100 fps to 20 fps (why was it 100 anyway??)

Result: Music stuttering dramatically reduced.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7226 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-11 00:57:18 +00:00
sha..rd 2979a26984 * Added support for up to 8 texture coordinates
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7225 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-10 21:15:33 +00:00
sha..rd 53da7c4de4 * Added CCD threshold to BoneRagdoll test so that balls collide more often
* Reduced BoneRagdoll constraints to PI/8
 * Added an ambient light so the ragdoll is more visible
 * Fixed bug with Unshaded.j3md failing with glow map

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7224 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-10 21:03:55 +00:00
sha..rd 7c7afb677f * Add check for GL_ARB_texture_multisample before setting up the texture to see if its supported
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7210 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 22:51:41 +00:00
sha..rd adfead7ee3 * Replaced Beep.ogg with a better one
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7208 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:40:29 +00:00
sha..rd 2f7e51cef2 * Deleted beach terrain model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7207 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:39:18 +00:00
sha..rd 2effd8cc25 * SceneLoader will no longer crash on missing material
* Compressed ManyLights texture 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7206 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:33:21 +00:00
sha..rd 36c51e12c6 * Compressed buggy textures
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7205 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:27:48 +00:00
sha..rd 643eebb4bd * Deleted useless TestYCoCgDds test and related textures
* Actually replaced tree textures this time. Not compressing the leaves texture because it leads to artifacts. 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7204 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 20:06:04 +00:00
sha..rd 3778400635 * More errors sent to Application.handleError()
* Application.handleError now stops by default to prevent process from lingering on
 * Made sleeps in LwjglCanvas slightly longer to prevent hogging 100% cpu
 * Renamed elephant skeletonxml to skeleton.xml
 * Compressed HoverTank textures and removed high-res versions
 * Compressed Tree textures

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7203 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 19:58:16 +00:00
sha..rd 6c776e7bb3 * Got rid of ADPCM stuff that didn't even work
* Fixed bug in WAVLoader causing it to fail if the file had extra bytes at the end

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7201 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 03:22:51 +00:00
sha..rd ff344c6a96 * Added MatParam.getValueAsString() to print out the material param value as it would appear in a J3M file.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7199 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 02:49:15 +00:00
sha..rd bb238c3c99 * Fixed bug with OGG audio having incorrect length
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7198 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 02:06:29 +00:00
sha..rd c3b060be6d * Fixed bug with WAV audio getting truncated on import
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7197 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-06 01:23:35 +00:00
sha..rd cbbb261828 * Made sync system deprecated
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7188 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-05 02:28:49 +00:00
sha..rd 90bf137894 * Added new renderer capability: NonPowerOfTwoTextures
* LwjglRenderer will show warnings when NPOT textures are used and the graphics card doesn't support them
 * LwjglGL1Renderer will scale textures to POT sizes if NPOT is not supported
 * Enable simple logging

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7177 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 21:45:29 +00:00
sha..rd 86a4ad3718 * J3O files will now automatically load J3M files if they were loaded via assetManager.loadMaterial()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 21:04:47 +00:00
sha..rd b774630160 * TextureKey.equals() now takes into account flip Y flag
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7174 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 19:54:26 +00:00
sha..rd 636339a432 * Proper TempVars lock/unlock usage in SkeletonControl ... Although it shouldn't really break anything since that class is the only one using the skinning arrays.
* Deprecated Transform.Identity since it does not follow conventions. Added IDENTITY to replace it.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7168 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 05:04:14 +00:00
sha..rd 2611139702 * Fixed a possible issue where updateLogicalState could cause an IndexOutOfBoundsException
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7167 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 04:46:03 +00:00
sha..rd 548eb26428 * Made Bone.getAttachmentsNode() private, instead the method in AnimControl should be used
* Lights do not have names because they are not part of the scene graph
 * Fixed compiler warnings with IntMap iteration

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7166 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-03 03:56:39 +00:00
sha..rd 56554d970d * Forgot this one ..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7158 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 01:51:54 +00:00
sha..rd 12fae01a80 * OBJLoader will no longer crash when it cannot find materials in MTL file
* Fixed bug where calling any of the Listener methods would have no effect 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7157 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-02 01:50:01 +00:00
sha..rd e4cc9d1482 * Fixed bug with dual UV channel loading, forgot to do it in the previous revision..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7133 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-28 04:02:29 +00:00
sha..rd 8adc704bcc * Fixed bug with OgreXML loader not actually supporting 2nd UV channel
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7132 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-28 02:33:57 +00:00
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
2011-03-27 19:44:51 +00:00
sha..rd 9b84a79811 jME3
* RenderManager will reload "shader" boolean on each invocation of render(), since Renderer might not have proper capabilities set before canvas has been attached

jMP
 * Fixed some illegal calls in SceneApplication

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7095 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-24 04:17:16 +00:00
sha..rd 61aea1e2c5 * Big refactoring of LWJGL display system, mainly to support updating the main loop without a render context or input devices being available.
* Added test that demonstrates above functionality, by starting Application without attaching the canvas, and then constantly attaching and detaching canvas from a frame.
 * Deleted deprecated methods in JmeContext 
 * Deleted deprecated class LwjglJoyInput
 * Audio renderer will not attempt to initialize OpenAL twice if already initialized

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7078 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 03:48:37 +00:00
sha..rd d9822dd92e * Created test for (non-existent) safe canvas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7076 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-23 00:16:11 +00:00
sha..rd de14f87e8b * Ported TestMessages to new SM
* Mesh.deepClone() will no longer keep old collision tree

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7050 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 22:47:35 +00:00
sha..rd 3087235def * RMI system much more tolerant of bad data now (will display warning in log instead of crashing)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7040 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 07:16:21 +00:00
sha..rd a83216731e * AssetManager will now throw an exception when there are issues with loading/locating an asset
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7027 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-19 00:56:41 +00:00
sha..rd 0df414d2f0 * Fix Lighting.frag compile error
* Replaced nondescript NullPointerException in OBJLoader with proper exception for missing material in MTL

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-18 23:54:06 +00:00
sha..rd 656783476e * Attempt to fix ATI native crash with particles
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7006 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-03-16 21:19:27 +00:00