rem..om
c2ac08f70b
MotionPath : fixed waypoint triggering on low framerate.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9540 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
roo..li
a6c4f99412
FastMath: fixed javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9539 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fd9f274049
* Committed fixes to mesh animation classes (not currently used). See http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/fix-to-ogre-mesh-animations-deserializing
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9534 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
d649505a6c
Modified to do the method lookups on first class
...
access and removed the (now) unnecessary threading
synchronization stuff.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9528 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
53dd4c2941
Some additional null checks while I'm in the area.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9517 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
11f686b1e0
Some cheap defensive checks that make a nicer
...
(and more local in some cases) error for the caller.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9516 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9349bd97c6
MotionPath.setSpeed can now be fed with a negative value to go backward. Waypoints will be properly triggered and the spatial will stop if it reaches the end of the path.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9505 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
c373f70d01
* Fixed issue where a model loaded from J3O would crash on render (thanks ghoust)
...
* Uniform.toString() now handles the case where name = null
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9497 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
5730bf67d8
* Removed useless code / formatted DefineList
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9494 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
b007fd672a
* Added IndexBuffer.wrapIndexBuffer() for wrapping any buffer (convenience method)
...
* All index buffers now rewind the buffer before allowing any read/write ops
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9493 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fd03d28d81
* Added AssetKey.clone()
...
* WeakRefCloneAssetCache will attempt to collect GCd assets more often by not relying WeakHashMap to do so
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9492 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
7b9b9905ef
* Removed workarounds for setting material parameter with m_ prefix. From now on it will only be supported when loading really old J3O files.
...
* Small optimization: if technique is already loaded, define list will not be reconstructed on define change
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9491 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
dan..om
5ac9953f62
Implemented the ability to change the mouse cursor.
...
The way to do this is by calling inputManager.setMouseCursor("path/to/cursor/in/assets/cursor.ani").
NOTE: Supported formats are "RIFF-wrapped" .ani, .cur and .ico. Those can be found everywhere on the web and are the majority of icons found. If the file format is unrecognized the loader will crash with an appropriate message (hopefully).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9484 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
b97f8c1271
BatchNode : fixed an issue when a geometry was not unbatched when removed with sometihing else than removeFromParent
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9462 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
855676173a
Re fixed material contentEquals crash when technique is null...but better
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9459 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
3e35e32b2d
Fixed material contentEquals crash when technique is null.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9458 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
ea0be5cf9f
- fix imports across engine
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
2f2c44d6b1
* TangentBinormalGenerator will replace the tangent buffer if it already exists on the mesh, instead of crashing
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9445 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
68551c8c17
* Fix issue 490
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9444 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..om
59336dee4d
* Fix issue 464
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9443 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
1c1a6a0421
Javadoc fixes from wezrule: http://jmonkeyengine.org/groups/documentation-jme3/forum/topic/diff-for-quaternion-few-spelling-mistakes-and-inconsistencies/
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9414 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
4adaf86db9
fixed simple batch node : The SimpleBatchNode must NOT sets the refresh flag on its children when it is transformed. That's the very purpose of the SimpleBatchNode
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9411 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
8b5f4cba36
* BufferUtils.destroyDirectBuffer() now works on Android
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9408 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
29b2596359
* Removed various misc handling code from AndroidHarness to OGLESContext/JmeAndroidSystem to ease using jME3 outside of AndroidHarness
...
* Misc formatting changes in AndroidConfigChooser
* AndroidLogHandler now takes parameters into account
* Added additional settings in AppSettings to configure mouse emulation
* JmeSystem will now automatically try to load JmeAndroidSystem if it fails to load JmeDesktopSystem
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9407 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
e71f33ef7a
* Removed Geometry.setTransformRefresh() which was identical to Spatial.setTransformRefresh()
...
* SimpleBatchNode now calls setTransformRefresh() directly instead of duplicating the code
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9405 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
45534ab0b8
* FlyByCamera now uses Quaternion.normalizeLocal()
...
* Quaternion.normalize() which was deprecated has now been removed
* Quaternion.normalizeLocal() now returns "this" object
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9404 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
0090d4eaad
* Fix spelling/grammer errors in BatchNode javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9401 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
a99d94c263
* Fix bug where animation loop mode "Cycle" would start at the end of the animation at each cycle causing discontinuities in the animation
...
* Fix bug where blending between the animations of a bone that did not have keyframes on the 2nd animation would fail and cause snapping / incorrect blending
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9400 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
24145d10bc
Removed more println's
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9392 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
bbf32420a2
Paul makes me feel like less of a man <3
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9391 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
6b91149956
Remove debug statement I left in r9389
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9390 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
96fce01608
Fix for bug when assigning an empty text string to a BitmapText already showing content
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9389 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
5090b397a4
removed sysout from DesktopAssetManager and replaced with logger
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9386 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sha..rd
2cec3f82eb
* Fix ClassCastException when loading old blender-based j3o files
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9381 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
4fc046a0e1
* Particle meshes now call updateCounts() when number of particles changes. This might fix native crashes in some cases.
...
* Removed completely useless merge sort on the entire particle array from ParticleTriMesh ...
* Added a small note in the javadoc of VertexBuffer.updateData() regarding bizarre issues
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9380 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
2b097ebdfc
SkeletonControl : check hasArray for both BoneWeight and BoneIndex buffers before prep them for anim (convert them to non direct).
...
This to avoid an UnsupportedOperationException on android 4.0 when fetching the backing array on the BoneWeight buffer.
Before, only the BoneIndex was checked, and, for some mysterious reason, this ByteBuffer can be direct AND have a backing array on android 4.0. thus the preping wasn't done on the BoneWeight buffer that was kept as Direct. Hence the exception when fetching the array.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9371 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
783ec50326
- final version of Material/RenderState comparison and hashValue methods, he who changes them again has to buy a crate of beer for all core members
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9365 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
311242b6d9
- Framebuffer can now render to a cube map face, thanks to dflemstr
...
http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/how-do-i-render-to-a-face-of-a-texturecubemap/?#post-171990
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9363 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
c9d5011555
used dynamicEqual instead of dynamicHashCode in BatchNode and GeometryBatchFactory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9362 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
d33cbce333
- Changed BatchNode and GeometryBatchFactory according to material recent changes.
...
- BatchNode now does incremental batch upon adding a new geom to the batch (was there before but didn't work properly).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9361 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
960837fe02
NORMEN IS ALWAYS RIGHT
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9360 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
2339b7d2e5
* Fix Material.hashCode/equals and RenderState.hashCode()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9359 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
a625e8ae2a
Javadoc fixes R PHUN
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9358 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
92e2e35aef
- change Material.equals to Material.contentEquals
...
- update BatchNode, GeometryBatchFactory and Test
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9349 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
f6ea856f9e
GLObject/GLObjectManager -> NativeObject/NativeObjectManager in docs
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9348 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
96e20aad8d
Javadoc fixes: Down from 260 to 221 warnings
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9347 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
3d60482b46
* Fix paul complaining
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9340 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
22edb7beb0
Shadows/SSAO and transparency : Removed the AlphaDiscardThreshold attribute from the lighting material. Transparency discarding is now handled by the AlphaFallOff render state (as it should be).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9330 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
ShA..Rd
ac59c1ffdf
* Fix link error in glow material techniques
...
* DesktopAssetManager now works as before (flipY and generate mips options are enabled)
* Fix crash in TestSimpleWater
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9322 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
7ec115a768
* AssetManager now returns AudioData instead of AudioNode (similar to new Material() type behavior)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9321 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago