PSp..om
4c18bfaecb
Moved the stats view stuff out into an app state
...
that is added automatically as part of simple app
construction.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9159 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:12:10 +00:00
PSp..om
a2043b3ded
Modified to tracks its enabled state so that it
...
can really be disabled. I will move the
statistics.clearFrame() on my next commit.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9158 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 01:05:50 +00:00
PSp..om
05a88493a8
Added an accessor for Timer.
...
Moved the creation of the state manager into
the constructor. Logically it should exist
as early as possible.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9157 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-17 00:19:13 +00:00
Sha..rd
4721c944a2
* Minor warning fix in BoundingBox, BIHTree
...
* Fix BoundingSphere, calculation was bugged due to TempVars sharing
* Add BoundingSphere vs. Triangle collision
* Delete Natives class from core as it was moved to desktop previously
* Parser classes now use whitespace instead of " " for splitting
* Bone.getAttachmentsNode() no longer public due to misuse in user code
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9151 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-15 04:21:51 +00:00
Sha..rd
8c0e5ad541
* Removed useless null check in Plane
...
* Moved Natives class to desktop source package
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9150 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-15 02:00:56 +00:00
PSp..om
65f8dbf6ae
For the cases where a define has not actually
...
changed, don't reload the shader. This prevents
a lot of extra work from being done.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9139 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-07 11:04:46 +00:00
PSp..om
1f0a77de26
Modified the define list to only recompile if
...
values have changed. Also, it returns a boolean
for set and remove on whether a change actually
occurred. This will be used by my next commit
to give a performance boost.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9138 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-07 11:03:53 +00:00
Sha..om
b0cff4343e
* Fix View -> Model space for ViewProjectionMatrix
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9137 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-07 02:40:04 +00:00
Sha..om
b53a825d35
* Prevent crash when material technique has no world bindings defined. Fixes issue 454
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9129 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-02 18:08:06 +00:00
PSp..om
4edf262021
Fixed FloatBuffer support as well as other
...
buffers that are views of other buffers and
follow the same conventions.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9127 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-01 22:59:36 +00:00
Sha..om
c576a12f83
i fixed the problem, are you happy now mark?
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9124 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-31 21:38:33 +00:00
rem..om
bfa243a619
PssmShadowRenderer now have a contructor that takes a material as a parameter to override the post shadow material
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9123 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-30 23:04:09 +00:00
rem..om
0c5e5341bd
Time in cinematic is now computed by stacking tpf
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9122 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-30 21:15:28 +00:00
PSp..om
ebb2fca18f
Renamed the destroyByteBuffer method to destroyDirectBuffer
...
because it more appropriately says what it does and this is
a relatively new method. After changing it to work with
any direct buffer it seemed inappropriately named.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9121 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-30 10:49:40 +00:00
PSp..om
9ecaf0b96e
Expand the destroyByteBuffer() call to take any
...
Buffer and do a safety check for isDirect().
This should let it free FloatBuffers, etc.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9120 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-30 10:37:30 +00:00
Sha..rd
b1d4c36fd7
* InputManager fix syntax error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9119 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-29 18:19:32 +00:00
Sha..rd
db4188c797
* InputManager will throw exception if joysticks are disabled instead of returning null
...
* Allow use of negative program IDs in LwjglRenderer (will continue instead of crashing for "Invalid ID received from driver" errors)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9116 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-28 06:19:51 +00:00
rem..om
e1d4d66877
BatchNode now correctly accounts for tangents buffer. (the initial copy of the buffer was only accounting for 3 components instead of 4).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9107 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-22 10:50:03 +00:00
rem..om
33b6bcb20c
BatchNode now use bulk copy for untransformed buffers like GeometryBatchFactory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9103 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 20:02:00 +00:00
rem..om
4c7e271606
Fixed Garnaout issue with cinematic \o/
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9102 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 19:42:27 +00:00
PSp..om
1545a83abb
Implemented a more efficient way of bulk copying
...
a vertex buffer's elements to another.
Also modified copyElement to call the new copyElements
call with a size of 1... since they were nearly identical
minus the * len mods.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9100 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 06:21:25 +00:00
PSp..om
606b676d69
Modified so that read-only operations will not
...
clobber each other if done from other threads
and provided a way to safely access the whole
buffer if only read-only access is required.
Round 1 of a fix for GeometryBatchFactory...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9098 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-19 05:57:43 +00:00
nor..67
1cede40383
- make AssetConfig more robust when loading assetmanager config from file
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9074 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-16 00:24:30 +00:00
Sha..rd
22c28bf39a
* Remove error message when loading old j3o with TerrainPatch
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9072 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 23:54:05 +00:00
Sha..rd
9dfe1b12f3
* New J3O format version: fixed incorrect serialization of savable versions for certain class hierarchies
...
* XML import/export now supports global format version
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9070 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 23:17:10 +00:00
Sha..rd
e7eba5b155
* Fixed error in TerrainPatch loading
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9067 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 22:08:49 +00:00
Sha..rd
96bde02de6
* Fix compile error in FrameBuffer, setRefreshNeeded() -> setUpdateNeeded()
...
* LwjglRenderer - Will only upload buffers that are used by a shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9066 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 21:01:41 +00:00
nor..67
1dab3c2172
- fix svn
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 05:09:39 +00:00
Sha..om
b0b3f1b55e
* FrameBuffer.setTargetIndex() will set refresh needed on FrameBuffer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9049 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 04:23:48 +00:00
Sha..om
fc5c7d06d2
* Prevent constant exception in FrameBuffer.setTargetIndex()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9034 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 23:45:10 +00:00
bre..ns
981356539a
javadoc spelling fix thanks @bortreb
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9017 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-10 19:25:27 +00:00
Sha..om
ba15cc68ca
* determinate -> determinant in Matrix3f
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9016 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-10 14:51:52 +00:00
Sha..rd
95efa5b2ff
* Mesh.extractVertexData() will copy max weights per vert as well, this is needed for animation to work
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9011 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 04:38:16 +00:00
Sha..rd
64d9c60142
* BIHTree will exit early if ray limit is lower than the farthest collision point with the model's bound
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-09 04:37:11 +00:00
Sha..rd
77252b4304
* Geometry will now automatically de-share VertexBuffers if it detects it
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9004 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 23:43:30 +00:00
Sha..rd
ed07d685bf
* Added Mesh.extractVertexData() to extract vertex data from another mesh based on this mesh's index buffer. Used to "de-share" VertexBuffers.
...
* Geometry will now automatically de-share VertexBuffers if it detects it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9003 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-08 23:42:57 +00:00
rem..om
e4186c2497
- Changed catmull rom interpolation to use floats instead of doubles because somehow it was failing on android...
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8981 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-05 23:37:47 +00:00
sky..om
8e721f5c93
Brought the number of Javadoc workings down to 322 from 391; Updated year to 2012 in license header of affected files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8980 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 06:54:07 +00:00
sky..om
1801f1f336
Brought the number of Javadoc workings down to 391 from 410
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8979 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 04:59:16 +00:00
nor..67
1bf268bea7
- adapt name for destroyByteBuffer()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8977 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 23:17:28 +00:00
nor..67
de65246ddb
- add way to release direct memory, including test
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8976 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 23:10:59 +00:00
rem..om
fd65f31bbd
Removed comitted system.out in MotionTrack
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8973 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 15:50:56 +00:00
rem..om
16759a9770
Fixed an initialization issue in MotionTrack
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8972 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-02 15:49:13 +00:00
rem..om
1f2193a2b9
Audio : implemented API for seeking capability in streamed ogg files. It doesn't work fine yet
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8967 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-29 21:41:18 +00:00
rem..om
f3675227e0
Cinematic : AnimationTrack takes now the animation's duration as default duration
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8966 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-29 20:07:02 +00:00
rem..om
93a181b4c7
Fixed IndexArrayOutOfBound that may occur in BatchNode.Also optimized temp array allocation in case there is no tangents buffer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8965 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-29 19:39:48 +00:00
sky..ok
addfe4283b
BatchHint Javadoc fixes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8963 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-29 17:29:34 +00:00
rem..om
d6124d3489
Renamed AnimationHelper to AnimationFactory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8958 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-27 21:30:28 +00:00
rem..om
7de07d056c
Created an AnimationHelper to ease the creation process of a spatial animation, based on key frames interpolation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8955 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-24 16:11:49 +00:00
rem..om
1b1bad7da5
Fixed MotionTrack setEnabled method
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8954 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-24 14:18:41 +00:00