1084 Commits

Author SHA1 Message Date
sha..rd
f9a798c651 * Better check for android version. Should prevent NoSuchMethodError: glVertexAttribPointer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8668 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-14 05:08:12 +00:00
sha..rd
b2ea6e74d2 * Make AWT mouse wheel events consistent with LWJGL
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8666 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-13 23:10:56 +00:00
sha..rd
6110509b8e * Added android 2.2 workaround for glVertexAttribPointer
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8658 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 02:55:51 +00:00
nor..67
270703ca58 - change bullet native build process and project
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8657 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 00:44:14 +00:00
nor..67
63ad4df79b - change Bullet Native project classpath to use dist jar
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8656 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 00:31:27 +00:00
nor..67
9822dc1130 - move back classes *after* jar has been built ^^
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8655 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 00:28:58 +00:00
nor..67
72a4282dc0 - make FreeForm project for android code
- change build process to move back class files after creating separate jar files

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8654 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-12 00:10:48 +00:00
nor..67
fcb6b2e6ab Android:
- change glVertexAttribPointer use to API level 8 method signature

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8653 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 23:19:54 +00:00
lex..82
687dad1a6b Fixed TangentBinormalGenerator: Added grouping of vertices with the same position and normal. Re-added tangent orientation code to fix some visual artifacts.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8645 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 08:41:01 +00:00
sha..rd
4ba21821a3 * Added ability to switch between lit model and tangent display
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8644 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 03:30:52 +00:00
sha..rd
5440deeaeb * Commit new test tangent for lex
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8643 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 03:19:46 +00:00
sha..rd
3db3648866 * Fix spelling error in AmbientLight: uneffected -> unaffected
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-11 01:17:07 +00:00
dan..om
fbb396b8a2 * Fixed extrapolateLinear() so it would really extrapolates if bigger than 1 or smaller than 0. The old behavior was to clamp between 0 and 1, doing exactly the same thing as interpolateLinear().
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8616 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-09 04:01:21 +00:00
nor..67
23b4e2fcf0 - synchronized access to AssetManager ClassLoader list
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8606 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 23:36:45 +00:00
nor..67
c0695b0a3a - make ClassLoader list in AssetManager a syncronized list
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8605 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 23:33:11 +00:00
nor..67
9f16b989fe - add a way to add a classpath for loading in-asset classes to AssetManager, use in BinaryImporter
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8600 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 21:18:53 +00:00
sha..rd
511c417fe7 * AssetEventListener now has an additional callback that can be used to detect when a dependent asset has failed to load.
Since dependent assets that were not located have no exception thrown, detection of this event could be needed by some tools e.g. jMonkeyPlatform to indicate to the user that the asset may have not been loaded correctly. 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8597 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 04:56:15 +00:00
sha..rd
66127db26d * Standardized handling for loading dependent assets for all loaders
If asset cannot be located, then the loader must replace the asset that 
was supposed to be used with a placeholder, and raise a WARNING in the log 
indicating that the asset cannot be located, containing both the name of the
dependent asset and the parent asset that is loading it

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8596 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 04:51:58 +00:00
bre..ns
21809776dc allow empty keyframe sets (rotation, translation) to be supplied to SpatialTrack
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8595 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 04:29:22 +00:00
sha..rd
de75b794c2 * Remove duplicate code in MeshLoader that handles loading the material list
* Added javadoc in OgreMeshKey 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8594 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 03:09:22 +00:00
sha..rd
cfd13e8d33 * Added some new lines here and there
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8593 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 03:07:29 +00:00
sha..rd
177c88d645 * Rewrote handling of URL based locators to use a shared UrlAssetInfo.
* The AssetInfo.openStream() must create a new stream each time (required by javadoc/spec)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8592 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 03:04:10 +00:00
sha..rd
d8682c94c3 * Fixed crash that happens when an Ogre3D mesh.xml model has an empty boneassignments tag
* Fixed issue with AnimControl clones sharing references to the list of AnimEventListeners

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8590 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-08 01:11:29 +00:00
nor..67
74c636a464 - re-enable copying of javadoc with nightly build
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8589 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-07 00:43:22 +00:00
PSp..om
d2e2935d90 Default the application timer to NanoTimer. I did this
during construction so that the default JmeContext timer
could potentially still be used by calling app.setTimer(null)
from an apps main().  In that case, the previous behavior
of pulling the timer from JmeContext during init would happen.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8588 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-07 00:25:29 +00:00
bre..ns
6712fccbc3 cleaned up terrainQuad constructor.
Added flexibility to image heightmap

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8585 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-06 17:32:56 +00:00
sha..rd
f15dfe3011 * Fixed issue with an exception getting silenced when MTL was loaded for an OBJ file
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8582 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-06 03:19:15 +00:00
nor..67
15eeef7f65 updating windows 32bit bullet native
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8579 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 23:10:41 +00:00
nor..67
58c54b1aaa native bullet:
- update mac binary

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8578 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 22:28:23 +00:00
nor..67
439c5b36b8 native bullet:
- add ray test code, thanks to @EmpirePhoenix
- clean up import structure
- remove separate jmeUserPointer class


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8577 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 22:25:26 +00:00
sha..rd
83ab68264b * Put arrow texture on alien, generate axis for each vertex
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8576 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 04:17:24 +00:00
sha..rd
0e49c439b7 * Javadoc for Asset
* Javadoc fix for AudioData, BoundingVolume, CollisionResult 
 * Javadoc package.html for asset 
 * Add test for bad tangent generation models 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8575 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 03:35:11 +00:00
sky..ok
6286ac495f Added Javadoc to TerrainQuad constructors
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8574 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 02:56:39 +00:00
Sha..om
ec13fbce9a * Fix blender MTL export issue that causes overly shiny models
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8573 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-03 01:24:56 +00:00
rem..om
900dc66584 - BloomFilter now sets the background color to BlackNoAlpha instead of Black for glow.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8572 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-02 20:03:36 +00:00
rem..om
7e8b540587 - put BindPoseTangent VertexBuffer.Type enum value at the end to not screw with ordinal values
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8571 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-02 17:06:41 +00:00
rem..om
940edfe914 - BloomFilter, fixed background disapearance issue
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8570 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-01 20:24:39 +00:00
bre..ns
0dddd8613f * fix terrain grid camera offset problem
* updated TerrainFractalGridTest to use physics again

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8569 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-01 18:28:43 +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
rem..om
96acebfe4f - Faster BatchNode
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8564 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-31 21:27:57 +00:00
rem..om
a5ff915fc1 - Added tangent transforms support for skinning (normal mapped models with bone animation had incorrect tangents during animation)
- added a BindPoseTangent buffer type
- made generateBindPose generate a BindPoseTangent buffer if Tangent buffer is set in Mesh
- added a temp float array in TempVars to compute tangent skinning
- Generated bind pose for tangents after tangent generation in TangentBinormalGenerator

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8563 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-31 14:18:35 +00:00
voi..om
383e3c513a update nifty jars to latest 1.3.1-SNAPSHOT build
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8558 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-31 00:24:51 +00:00
sha..rd
31fe049a66 * Moved WAVLoader and GLSLLoader to Core-Plugins
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8557 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-31 00:04:33 +00:00
sha..rd
e9a78c5b61 * Added RenderState.isApply*** methods
* TangentBinormalGenerator now generates TBN lines properly for the new 4 dimensional tangents that it generates 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-30 22:17:10 +00:00
rem..om
02bcb358a3 - Fixed max components calculation for temp float array
- Uncommented Normals transforms (doh!)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8553 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-30 22:10:34 +00:00
rem..om
fafd79e5d3 - Added textureArray support (thanks to phate666)
- Added a testcase and test materials to use them

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8551 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-30 20:31:33 +00:00
rem..om
83f3b2b1a3 - BatchNode now use a temp float array and bulk put data into the floatbuffer instad of iterative puts. (it's faster)
- Spatials have now a BatchHint (Inherit, Never,Always) to know if they should be batched or not (use is the same as cullHint)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8550 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-30 19:25:33 +00:00
sha..rd
d1e81fc8c9 * Specify library path for JInput as well as LWJGL in case the user's home directory is used for natives
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8545 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-29 20:29:49 +00:00
Kae..pl
67930542ee Fixes to Y is up axis arrow.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8544 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-29 16:21:18 +00:00