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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..om
b0cff4343e
* Fix View -> Model space for ViewProjectionMatrix
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9137 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
b1d4c36fd7
* InputManager fix syntax error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9119 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
rem..om
4c7e271606
Fixed Garnaout issue with cinematic \o/
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9102 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
Sha..rd
e7eba5b155
* Fixed error in TerrainPatch loading
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9067 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
nor..67
1dab3c2172
- fix svn
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9054 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
Sha..om
fc5c7d06d2
* Prevent constant exception in FrameBuffer.setTargetIndex()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9034 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
981356539a
javadoc spelling fix thanks @bortreb
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9017 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
ba15cc68ca
* determinate -> determinant in Matrix3f
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9016 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
nor..67
1bf268bea7
- adapt name for destroyByteBuffer()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8977 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
rem..om
fd65f31bbd
Removed comitted system.out in MotionTrack
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8973 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
16759a9770
Fixed an initialization issue in MotionTrack
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8972 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
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
13 years ago
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
13 years ago
sky..ok
addfe4283b
BatchHint Javadoc fixes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8963 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
d6124d3489
Renamed AnimationHelper to AnimationFactory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8958 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
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
13 years ago
rem..om
1b1bad7da5
Fixed MotionTrack setEnabled method
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8954 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago