701 Commits

Author SHA1 Message Date
rem..om
c4d3e7ea6f - Bone : Attached Node transforsm are now correctly updated when using setUserTransformWorld
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8830 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-28 20:36:35 +00:00
nor..67
4e66dddc95 - remove unneeded instanceof and casting in Material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8821 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 13:46:51 +00:00
nor..67
212b57ecc6 - add some equals() methods where compareTo is used
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8820 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 13:46:20 +00:00
nor..67
f55a277cd9 - remove unnecessary checks in RenderQueue.renderGeometryList()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8801 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-26 01:51:32 +00:00
sky..ok
1bcf9164e8 Removed whitespace at end of line in mergeGeometries (I'm not a perfectionist)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8791 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-23 21:53:43 +00:00
nor..67
8405fb060b - revert InputManager changes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8763 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-22 00:41:15 +00:00
sha..rd
c6c4cf53a0 * Some minor optimizations
* Disable dead zone check for mouse axes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8732 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-20 00:18:02 +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
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
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
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
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
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
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
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
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
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
rem..om
9bf315fbcf Fixed silly copy/paste mistake in LightNode
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8543 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-29 09:17:16 +00:00
PSp..om
b13809bba3 Fixed the line segment extents so that it doesn't act twice
as long as it's supposed to be.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8542 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-29 09:13:29 +00:00
sha..rd
bd5620bf16 * Camera.update() now uses TempVars instead of allocation
* IntMap now contains a resettable iterator instead of allocating a new one each time. As a downside, The same IntMap cannot be iterated recursively

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8541 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-29 05:16:50 +00:00
sha..rd
c590b8d054 * Small javadoc additions in Application
* Fix animation not working for Blender 2.5+ Ogre3D models 

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8538 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-29 03:00:10 +00:00
sha..rd
b3f9e87bf1 * package.html files now comply with HTML 4.01 standards
* SimpleApplication now computes FPS by counting frames instead of using Timer.getFrameRate()

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8534 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-28 00:49:07 +00:00
rem..om
64bc0298b2 Fixed a timing issue in MotionTrack when used as a control
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8533 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-26 18:59:12 +00:00
rem..om
2a0c4ed10f Null checked additionalRenderState when loading a material
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8532 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-26 15:10:53 +00:00
rem..om
cc7701aa0d - InpuManager : Updated cursor pos on click, so that non android touch events can properly update cursor position.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8531 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-26 15:09:12 +00:00
sha..rd
e93993364a * Fixed issue where additional render states in material would always have apply*** flags set to true, added workaround for old versions of material
* RenderState now exports/imports apply*** flags

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8529 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-26 03:30:17 +00:00
rem..om
7193c0b2d3 Batching :
- BatchNode can now batch a scene graph with several materials. It creates a batch by material
- Added a SimpleBatchNode that batch only geometries (no sub node graph) for better performances
- removed RF_REFRESHBATCH from Spatial as it's no longer needed
- changed test cases a bit

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8527 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-25 16:46:25 +00:00
PSp..om
cf18f48182 Internal surgery to AppStateManager to provide more
consistent app state lifecycle, fix some state transition
related bugs, and stop confusing users... well, at least
confusing them less hopefully.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8524 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-24 21:14:25 +00:00
PSp..om
2a65ca4cb7 Added a setTimer() method for switching the default
Timer implementation.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8523 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-24 19:31:50 +00:00
sha..rd
36b6ab3286 * Prevent crash in Animation if no tracks are set on animation
* Ogre3D .material files will still load even if a single texture is not found
 * Show any exceptions that occur in material loading (if any are thrown)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8519 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 21:03:39 +00:00
sky..ok
dae6ef534b Javadoc fixes for com.jme3.math.Triangle
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 18:20:14 +00:00
sky..ok
73fb54b4b6 Documentation fixes for BatchNode: Improved Javadoc and inclusion of license header
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8514 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 06:29:10 +00:00
rem..om
58a2bf8af9 - Deprecated PositionTrack, RotationTrack, ScaleTrack as they should be replaced by spatial animation.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8501 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 12:51:20 +00:00
rem..om
feeedfa682 - Removed old batching classes (GeometryBatch and BatchedGeometries) as they are no longer needed
- removed the test cases too

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8500 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 08:20:53 +00:00
sha..rd
ffce10b8da * Added AwtPanel.attachTo() argument that allows attaching panel to main framebuffer instead of replacing it on the viewports
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8481 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:01:34 +00:00
rem..om
62a02fb6f4 - Dynamic Batching
- Forgot the temp vars

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8479 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 22:26:03 +00:00
rem..om
63b62269e8 - Dynamic Batching
- Added a BatchNode that can batch geometries in its sub graph
- added support for matching to Geometry
- created propper test cases
- added a refresh flag to spatial RF_REFRESHBATCH to refresh the batch only when needed

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8478 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 21:47:12 +00:00
nor..67
3ff2771a69 - add backengineered JmeVersion to fix build
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8476 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 12:01:02 +00:00