270 Commits

Author SHA1 Message Date
rem..om
7c4f085174 Added a way to clear all waypoitns at once on a motion path
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8365 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-07 21:59:45 +00:00
sha..rd
5d5e0082a7 * Fix inside view for Dome shape
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8322 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-01 00:45:35 +00:00
sha..rd
c7ebfc9b77 * Deleted useless com.jme3.renderer.layer package
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8319 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-30 04:26:46 +00:00
sha..rd
3f95a0ca2f * Eclipse classpath no longer includes .svn folders
* Updated android.jar to 2.3
 * Add support for changing fullscreen mode in AndroidHarness
 * VBO now used by default for Android versions > 2.2
 * Fix wrong setting array type uniforms in android (e.g. Vector3Array)
 * Improved efficiency of setVertexAttrib in android by not creating iterator each time
 * Added method ParticleEmitter.killParticle()
 * Deleted useless com.jme3.renderer.layer package
 * Fix documentation of AppSettings.setCustomRenderer()
 * Fix SkyFactory on android (again!)
 * Deleted useless com.jme3.video package
 * Add KeyNames to get names of keyboard keys
 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8317 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-30 04:24:36 +00:00
sha..rd
73f073c794 * Headless context will no longer initialize audio renderer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8315 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-28 01:34:13 +00:00
sha..rd
c81a1a4d3e * Fix NPE in SkyFactory when used on android
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8312 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-27 02:05:03 +00:00
Kae..pl
ce259299e2 Track length getter added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8304 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 21:12:29 +00:00
Kae..pl
c773395ace Animations refactoring.
- Track is a generic interface now
- all kinds of tracks implement Track<T>
- Animation is the only animation class that should be used now (other classes like BoneAnimation or SpatialAnimation are deprecated now)
- Pose and PoseTrack are made Cloneable to easier clone the tracks and Animation
- one update to OgreLoader (using Animation instead of BoneAnimation)
- one update to tests

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8302 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-25 20:30:22 +00:00
Kae..pl
a649917c27 'copyFrom' method added to Camera.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8287 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 10:25:27 +00:00
sha..rd
a5be89598f * Always close InputStream in WAVLoader
* Fix use of deprecated classes/methods in android tests
 * Fix bugs with joysticks often generating events for both the negative and positive side of axis
 * Camera.clone() properly clones the gui bounding
 * Camera.setParallelProjection() updates the camera's projection matrix instead of keeping old values
 * LwjglOffscreenBuffer obeys by framerate setting and sets renderable property as needed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8283 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-24 00:50:13 +00:00
Sha..om
03ffc22446 * Spatial.setLocal***() methods no longer set world transform since it will be updated later on
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8269 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-22 00:55:59 +00:00
Kae..pl
bfc57cc7db Spatial animation support added.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8267 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-21 11:34:10 +00:00
sha..rd
5ac90f46fa * Formatting for many android classes which needed it desperately
* Moved JmeSystem.Platform to its own class in core. Desktop's and Android's JmeSystem now both use it
 * Moved proper usage of efficient data from AndroidSkyFactory to SkyFactory, deprecated AndroidSkyFactory

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8236 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-10 21:26:59 +00:00
bre..ns
2e1c4e8c29 NPE check on AudioNode read
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8228 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-08 23:46:21 +00:00
sha..rd
6d728615a3 * Ogre3D mesh.xml loader is now more resilient to certain models exported using blender2ogre
* Ogre3D dotScene loader can now load spot lights
 * Added some better debugging to FBO errors
 * Fix weird explosion in TestWalkingChar
 * Added additional "canvas torture methods" in TestCanvas 
 * Several fixes to canvas:
   - Issue when size becomes 0, 0
   - Freeze if no framerate limit is imposed and canvas is closed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8210 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:46:40 +00:00
sha..rd
120a3d1e4f Blender Loader
* Correct calculation of spot light's inner and outer cone angles
 * Loaded lights are now attached to the model's root node instead of being foolishly discarded


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8209 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-07 02:39:02 +00:00
sha..rd
062507e23e * Render off screen surfaces even if main screen isn't visible
* AWTLoader now supports 16-bit grayscale PNG loading as Luminance16
 * AWTLoader uses try/finally on stream
 * Fix exception in MaterialLoader (was it really that hard to fix, normen?)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8185 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 23:41:46 +00:00
rem..om
29dbdc08a4 Filters : fixed depth buffer rendering for additionnal passes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8176 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 14:32:54 +00:00
rem..om
90a7917e1a Cinematic : removed accessors with a typo
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8175 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 14:19:26 +00:00
sha..rd
d614244f0f * Consitency between Matrix4f.invertLocal() and Matrix3f.invertLocal(): Now both of them compare determinant to 0 to check if inversion is possible. This fixes an issue with no lighting when a really small scale is applied to scene objects
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8168 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 05:30:13 +00:00
sha..rd
471f449017 * Fix crash on context.restart(). Reset shader sources when shader itself is reset
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8166 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-04 02:25:01 +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
5a3f191135 * Reverted r8152, r8157 and r8158
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8159 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 18:52:56 +00:00
dan..om
b34a3c02e1 Added Texture2DArray and Texture3DArray.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8157 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 10:26:55 +00:00
dan..om
911fc1409d Removed unused imports.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8156 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 10:25:38 +00:00
dan..om
03c22a1dee Added two new methods to convert ColorRGBA to Vector3f and Vector4f. These should be very useful when using shaders.
Formatting.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8155 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 10:24:38 +00:00
dan..om
7042720106 Appended the proper OpenGL constants to Javadoc for BlendMode.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8154 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 10:22:20 +00:00
dan..om
87435a37d3 Fixed output param to Logger's warning.
Added"name" parameter when exception is thrown so it's easier to know what the name is.

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8153 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 10:20:25 +00:00
dan..om
99c6a41de3 Added Vector2Array, Vector3Array and Vector4Array cases to getValueAsString() method.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8152 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-03 10:16:03 +00:00
Sha..om
7929111a3a - Fixed normal vector incorrect in Mesh.getTriangle() (Thanks Kaelgaga)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8147 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-09-01 23:01:43 +00:00
sky..ok
50792c460b Fix for typos in Texture javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8136 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-31 00:33:58 +00:00
rem..om
cd474b2be9 Engine :
- WIP : Added new batching system : GeometryBatch, that allow batched geometries to be transformed


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8128 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-29 18:35:14 +00:00
rem..om
27c5b3cfb0 Filter Pass can now render its own depth buffer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8088 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-25 16:41:28 +00:00
rem..om
943e4c805d Prevent boundingBox to create new vectors in distanceToEdge thanks to maximusgrey
http://jmonkeyengine.org/groups/graphics/forum/topic/boudingbox-and-vector3fs/#post-140072

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8077 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-24 21:25:01 +00:00
roo..li
b3a37f93b7 Dome.java: Renamed accessor for inverted boolean.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8041 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-20 06:03:16 +00:00
roo..li
3877740cd8 Dome.java: Updated javadoc to explain effect of parameters and to distinguish between use as SkyDome, pyramid, or cone. Renamed inverted boolean.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8040 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-20 05:52:29 +00:00
rem..om
36dd462c4f Test rundown part 1 :
- fixed NPE in FilterPostProcessor
- fixed compilation error in terrain lighting

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8028 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-17 16:01:31 +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
rem..om
0316bec713 SkyFactory : you can now specify the sky sphere radius when creating a sky to avoid near plane clipping when it's set too close to the radius value.
see this post http://jmonkeyengine.org/groups/graphics/forum/topic/why-is-the-skybox-culling-when-i-adjust-my-camera-frustum/#post-139378

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8023 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-16 19:08:57 +00:00
rem..om
70af91d981 Engine : added texture type hint to the texture key
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8012 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-15 09:38:57 +00:00
sha..rd
2636343ac7 * Fix hard edge bug for spot lights on NVIDIA cards
* Fix bump mapping issue that was there since the beginning of time ... flipping normal.y only worked for pond_normal.png texture and IS NOT CORRECT in most cases. Now the texture itself has been adjusted to be correct while the flipping of normal.y removed
 * Fix crash when playing sound in simpleInitApp()
 * Fix issue where Spatial.setModelBound() would do absolutely nothing
 * Skies created via SkyFactory now don't suffer from "premature culling" bug

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-14 18:36:59 +00:00
sky..ok
6c2332d833 Javadoc fixes and links for the com.jme3.animation package; Added missing license header
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8009 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-14 15:47:40 +00:00
PSp..om
b3e488ff76 Fixed to properly update the buffer when the extents
are changed.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8008 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-14 10:46:54 +00:00
sha..rd
2ddc537ddc * Forgot to commit proper exception for generated textures in MatParams
* OBJ/MTL loaders now use logger instead of System.out for warnings

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8007 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-13 19:04:02 +00:00
rem..om
91477b73f5 Engine :
- Added Volume texture 3D loading support to the DDSLoader
- Added a test case for texture 3D loading
- fixes a minor log issue in Material.java

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-12 05:50:31 +00:00
rem..om
6c7082a7e3 engine : added texture3D support based on darkfalkon Texture3D code and Kaelthas testcase
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8002 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-11 09:33:38 +00:00
nor..67
ac8a9dc0ce - make AppSettings final
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7999 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-10 17:26:34 +00:00
nor..67
59d7bcdee6 - globally reduce asset paths in AssetKey constructor so that no key type can produce relative elements in the asset name
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7996 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-10 11:09:45 +00:00
rem..om
c6bd03eeab Added LinearExtrapolation to FastMath thanks to Wezrule http://jmonkeyengine.org/groups/features/forum/topic/2-requests-for-features/#post-138082
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7991 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-07 22:21:55 +00:00
sha..rd
77dd6761ee * Added fix for when an mesh xml animation has no tracks will no longer throw NPE
* FileLocator now supports "." as a path

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