1082 Commits

Author SHA1 Message Date
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
Kae..pl
ae739ef441 Fix in normals calculations when Y is up axis.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8528 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-25 19:26:58 +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
nor..67
2c0775e3f3 - remove size check from natives extraction (write test needed for windows anyway)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8521 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 21:34:46 +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
nor..67
45af20de0c - add write test to natives extraction
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8518 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 19:27:15 +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
Kae..pl
18ce27faae Changes to Y-is-Up-Axis issue.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 14:30:22 +00:00
nor..67
65cbed47c6 - change natives extraction to check for space *and* writability
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8515 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-23 14:26:38 +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
nor..67
33fb670771 - change natives extraction to use getUsableSpace(), which checks for user permissions etc. too.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8509 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 17:32:26 +00:00
nor..67
5f582977cb - update build file and native bullet properties for release
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8502 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 13:11:28 +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
nor..67
acc7c7ad25 update windwos bullet natives (32bit)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8499 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 03:32:15 +00:00
nor..67
ccddf1ea8e - fix bullet build properties
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8498 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 03:27:51 +00:00
nor..67
dd5365891f - update osx bullet natives
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 03:22:49 +00:00
nor..67
4ba3abcda9 - remove wheel finalization completely, need no deletion..
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8496 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 03:18:20 +00:00
nor..67
5080e3fe43 - revert previous commit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8495 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 03:02:49 +00:00
nor..67
cac022d9bf - re-enable clearing of wheels as its not done in btRaycastVehicle destructor (though one can not remove wheels oO)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 03:01:09 +00:00
nor..67
502fd41ca8 - change finalize method of VehicleWheel
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 02:58:39 +00:00
nor..67
09502cfa76 - update osx bullet natives
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 02:11:35 +00:00
nor..67
a86cdf8f0e - update osx bullet natives
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 02:07:30 +00:00
nor..67
175386956f update windows bullet native (32bit)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 02:04:08 +00:00
nor..67
b768d45016 - bullet native: change casting of java long to c++ objects
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8489 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 01:57:40 +00:00
nor..67
6ce4cc012e - change pointers to jlong across platforms
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8488 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 01:00:42 +00:00
nor..67
aa96a1caf8 - commit possible fix for windows 64 pointer casting issues, see http://msdn.microsoft.com/en-us/library/aa384242(v=vs.85).aspx
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8487 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 00:42:17 +00:00
sha..rd
164dec188a * Native extraction will place natives in working directory unless its non-writable, in that case it will place them in <home dir>/.jme3/natives_<apphash>
* Hopefully fixed NPE in computing extraction hash

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8486 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-22 00:01:07 +00:00
nor..67
6aa66aecce - add macosx bullet native
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8483 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:05:32 +00:00
nor..67
275fd68121 update bullet native for windows 32bit
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8482 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 23:02:03 +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
nor..67
768a2b9783 - native bullet: fix PhysicsVehicle wheel handling, using wheelIndex to select wheels now
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8480 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 22:58:23 +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
0868244b9a - fix PhysicsVehicle initialization
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8477 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 18:26:20 +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
PSp..om
d2579343b2 Make BitmapFont's calculation of line width match
BitmapText's version.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8475 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 09:07:27 +00:00
PSp..om
1e59de25ee Took out the unbaking of kerning because it _does_
affect all subsequent cursor positions unlike xOffset.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8474 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 08:53:02 +00:00
PSp..om
68c2fea479 The last change neglected the first character which
has special treatment for its x0 setting but still
requires that the xAdvance be adjusted to account
for accumulated xOffset.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8473 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 08:44:25 +00:00
PSp..om
ee2f44f340 Fixed some really odd text advance behavior that
caused letters and characters to overlap each other.
Basically, the offset was being included in the next
chars position... and it shouldn't be.


git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8472 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 08:27:09 +00:00
sha..rd
97145d7d4d * Natives are now extracted to user.home based on hash of classpath and last modified of jMonkeyEngine3.jar
* Fixed crash in BloomFilter when screen size is 1x1

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8471 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 03:45:28 +00:00
sha..rd
afbf8ad69d * Allow loading non-square power-of-2 textures without resize
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8470 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-21 01:21:46 +00:00