Kae..pl
99746c72ec
Several changes to constraints (but may not working well yet).
...
Fix to Y-up axis issue when parent was present bu not loaded (in different layer for example).
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7913 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-25 12:56:21 +00:00
sha..rd
f182b5d91b
* Javadoc for some classes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7912 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-24 23:47:18 +00:00
ant..om
06e04c429c
Fix: fixed exception when trying to jump with physics turned off
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7910 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-24 11:07:12 +00:00
sha..rd
7308cdfca6
* Fixed issue with spot light shader not taking into account alpha
...
* Reduced number of varyings by 2 in lighting shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7909 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-24 03:56:30 +00:00
sha..rd
d8afde19cf
* Fix crashes due to introduction of MaterialKey
...
* Deleted unused textures
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7908 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-23 23:42:23 +00:00
sha..rd
026a72d57e
* Fix crash in TestEverything
...
* Fix crash in TestWalkingChar
* Fix crash in TestDopper
* Fix crash in TestApplication
* Fix deprecation warnings in audio tests
* Fixed issues with particle emitter cloning and import/export
* Fixed TempVars crashes in BoundingSphere
* Fixed incorrect deprecation warning in AudioNode
* Added smart caching to materials
* Added test to verify that particle export and cloning is working correctly
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7907 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-23 22:44:30 +00:00
sha..rd
7cd213b940
* Fix for ParticleEmitter.clone()
...
* Enable smart cache for models
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7906 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-23 20:07:48 +00:00
Sha..om
66d78be974
* asin -> atan
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7905 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-23 02:36:51 +00:00
ant..om
dfef1a6dfe
Fix: fixed a bug when using alphamaps with TerrainGrid
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7904 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 21:45:48 +00:00
rem..om
310193018d
- added a ColorRGBA to tempVars
...
- Used tempvars in Materila.renderMultipassLighting
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7903 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 21:41:45 +00:00
kim..ng
0b7f96726f
Android: fixed logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7902 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 18:27:17 +00:00
rem..om
c172b2e455
- Reverted previous uniform change, it was causing changes in constants, when user was assigning a constant to a uniform (like mat.setColor("Color",ColorRGBA.White)).
...
- Changed Material's renderMultipassLighting method to not reuse Shader's values instance, and to use temporary allocated variables in the material instance instead
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7901 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 09:50:58 +00:00
PSp..om
1bbbc3b0bb
Fixed a typo in the comment. OCD strikes again.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7900 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 09:13:40 +00:00
PSp..om
7ea2f54286
Turning the memory tracking off since it's pretty expensive
...
and broken anyway. See comment in source.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7899 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 09:12:11 +00:00
rem..om
e6c2653fe6
Fixed varrying binding in the lighting shader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7898 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 09:00:59 +00:00
nor..67
58d485467a
- fix lighting compile error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7894 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-22 00:15:55 +00:00
rem..om
99a4b00c15
- Added SpotLight light type.
...
- Implemented spot light shading for lighting (pixel and vertex lighting) and terrain shader
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7893 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-21 21:58:46 +00:00
rem..om
41f417570d
Uniforms : fixed Copyright formatting
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7892 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-21 15:32:59 +00:00
sha..rd
3bd4146f4b
* Prevent shader leaks
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7891 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-21 15:23:16 +00:00
rem..om
6c4a13ddde
Uniforms : fixed clearValues to not assign references.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7890 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-21 15:22:45 +00:00
kim..ng
bb2d1073de
Android: added some more logging to the surface creation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7888 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-21 09:19:50 +00:00
Kae..pl
e911e3299e
Changes to animations storing (not yet used in the selected blender file) and small refactoring.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7886 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-20 13:54:42 +00:00
nor..67
06264e69bf
- fix to HingeJoint (native bullet), thanks to @makeshift
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7885 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-20 11:40:42 +00:00
Kae..pl
1e2e6f6a2d
Fix to armature modifier loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7884 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-19 12:11:43 +00:00
bre..ns
c54ce7be27
reduced terrain save j3o file size
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7883 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-19 00:00:50 +00:00
Kae..pl
a2b83be8bd
Improvements to blender manual tester.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7882 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-18 19:56:39 +00:00
sha..rd
381764a0ec
* System.load() will still be called on natives even if the file already exists
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7880 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-18 16:27:32 +00:00
rem..om
1cd980db9b
PssmRenderer :
...
- added a flag flushQueues to prevent the PssmRenderer to flush the shadow queues. This allow to have several PssmRenderer on one scene to have shadows cast by several light sources.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7879 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-18 16:12:41 +00:00
sha..rd
92a751893f
* Disable point sprite if not rendering a point mesh. May prevent ATI driver crashes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7878 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-18 14:26:26 +00:00
sha..rd
6c12808493
* Another ATI driver hack, now for framebuffers. Based on http://www.opengl.org/wiki/Common_Mistakes#Automatic_mipmap_generation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7877 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 23:57:17 +00:00
sha..rd
88257bbb3e
* Removed glTexEnv(GL_COORD_REPLACE, ...) call because it is not needed when using shader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7876 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 23:52:20 +00:00
sha..rd
d48b06c951
* Enable point sprite mode only for first texture unit. May prevent ATI driver crashes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7875 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 23:38:54 +00:00
PSp..om
1e8dea8eba
Made the methods called from the audio thread final because
...
no good can come from overriding them. Also made those
variables volatile so that other threads are guaranteed to
see the right values.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7874 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 21:55:29 +00:00
PSp..om
287bc0167c
Added an AudioContext to hold the thread local audio
...
renderer as set by the application update(). a) this
ensures that the audio node must be updated on the render
thread like everything else, b) it means that audio node
doesn't need to juggle its own reference to AudioRenderer
since from the right thread it can always get at it.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7873 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 21:24:11 +00:00
sha..rd
15fbe27d13
* Now added "asset name requirements" to FileLocator to prevent Windows -> Linux porting issues
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7869 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 05:27:55 +00:00
sha..rd
9f160234f8
* Added case-sensitivity and other "asset name requirements" to ClasspathLocator to prevent Windows -> Linux porting issues
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7868 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 05:20:38 +00:00
sha..rd
045a8f6f0d
* Nifty 1.3 release
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7867 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 04:55:21 +00:00
sha..rd
7f96a82b77
* Natives will now get extracted only if they were actually updated (last modified date changed)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7866 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-17 04:35:26 +00:00
Sha..om
a5d00fd003
* Fixed NullPointerException when loading old materials that used wireframe.j3md
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7865 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-16 17:14:47 +00:00
kim..ng
7d08828fa7
Android: fixed excessive logging in audio renderer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7864 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-16 15:18:32 +00:00
rem..om
6c80e0a558
WaterFilter : tracked down missing ".0" in the shaders
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7862 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-15 16:01:37 +00:00
PSp..om
bb18399b6d
Made the math classes (most of them) java.io.Serializable
...
since it's harmless and makes these math classes more useful
as general data structures.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7860 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-15 00:23:21 +00:00
PSp..om
dd5d56ab42
Return the base color for BitmapText.getColor() because
...
other things make less sense... though no answer is
exactly "right".
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7859 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-14 11:23:04 +00:00
kim..ng
0a58b3c92b
Android: added ConfigType.LEGACY
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7858 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 10:32:00 +00:00
PSp..om
349c9d9e4a
Modified to use the new SafeArrayList for children and controls.
...
This means it is possible for a control to modify its own
node hierarchy in a way that might have caused random skipping
at best and index out of bounds exceptions at worse.
Also, users can iterate over children and detach them at the
same time using standard for each constructs.
Performance is the same for me though I'd expected it to be
at least slightly faster given that most inner loops now use
direct array access. My scenes must not exploit this much.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7857 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 08:01:39 +00:00
PSp..om
11ab79a766
Added a custom array-based List class that buffers modifications
...
in such a way that the list can be modified while being iterated.
Furthermore, it exposes the raw array "snapshot" for iteration
simplifying some code elsewhere.
I've left comments in the code as to some beneficial mods that
could be made for the target use-cases.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7856 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 07:55:34 +00:00
sha..rd
b8826716b1
* Fixed syntax error in ModifierHelper
...
* Other minor fixes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7855 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-13 00:30:57 +00:00
PSp..om
a0dea25ec5
Fixed an event ordering issue. The server now only
...
first the connection added event after sending the
connect confirmation to the client. This prevents
a resource deadlock if the connection listener
tries to send a message to the client and the
client tries to send a response back... since the
client won't have been fully initialized yet.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7854 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 20:07:11 +00:00
Kae..pl
a67dbf9977
Moving loading object animation modifier to ModifierHelper class.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7852 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 14:47:32 +00:00
kim..ng
d90f6e7e18
Android: Allow custom app instantiation
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7851 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-07-12 09:52:35 +00:00