PSp..om
d62c1311fb
Fixed a long-standing but well hidden bug in message
...
protocol. In the wild, I've only seen this crop up in
really really odd circumstances. As it turns out, the
throughput tests eventually trigger this when testing
TCP. I've lost sleep over wondering when this was going
to bite for real so I'm glad to have what is essentially
the last known bug in message transfer fixed.
This change handles the case where so far only one
byte of the two byte message size has been read from
the network. Rare, but it can happen.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7976 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
1f90dcb8ff
Textures importing refactoring in blender loader.
...
Each generated texture has now its own generator class.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7975 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
d722c65280
CameraNode : created a simple testCase to demonstrate how easy it is to make a camera follow a spatial using a Camera Node.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7970 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
2767600fe3
* Proper aging for particles emitted in a frame
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7958 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
6c24af2831
Particle Emitter : faceNormal is now correctly saved
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7955 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
1e7b7860fe
Large blender importer refactoring:
...
- bleder features separated between different packages
- refactoring of modifier system (each modifier now in a separate class)
- refactoring of constraints system (each constraint now in a separate class)
- no converter interface
- every helper supports versions 2.49 and 2.5+.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7953 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Sha..om
a1e1057622
* Added javadoc for ParticleEmitter.setMeshType()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7951 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
a6700cc754
Minro javadoc update.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7950 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
f5dceb6c4d
Particle Emitter :
...
- Added possibility to change the mesh type after initialization
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7947 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
865c380b4e
Particle Emitter :
...
- Changed cloning method to clone(boolean cloneMaterial), and added a clone() method that calls clone(true). The missing clone(boolean) method was preventing the particle emitter to be correctly cloned when loading it from a j3o file yielding weird results.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7946 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
8de7a5755e
Fix to mirror modifier loading (buffer bounds were exceeded in some cases).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7945 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
fbd1cb837b
Ignoring textures that are defined but disabled in material.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7944 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
733195c33c
Fix with reading the proper buffer.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7943 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
2b802d5272
Particle Emitter :
...
- fixed NPE when loading a ParticleEmitter from a j3o
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7942 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
821dc08553
Automatic generation of UV-coordinates (not the best solution yet, but working on it ;) )
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7941 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
c6aafbd0ef
Bugfix: temp var was not released.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7940 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
8f59984d00
Particle Emitter :
...
- fixed setNumParticle method to correctly update the mesh buffers
- added a getMaxNumParticle that returns the max number of particles of the emitter
- changed testMovingParticles and testPointSprite to change the numParticle when hitting the space bar
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7939 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
cc403160be
Texture key for generated textures added.
...
Normalmap is only calculated when generated texture is an input.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7927 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
nor..67
5ec83b0f62
- fix small typo in BlenderLoader
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7924 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
93530bc2d0
Fix to loading models with high number of vertices (greater than Shor.MAX_VALUE).
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7923 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
04d3509c58
Improving image loading speed by using the BufferedInputStream.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7922 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
f4d900bc43
Fix to narmal map loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7921 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
Kae..pl
0de5fe39a3
Fix to loading normal maps.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7918 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
f15107da95
* All asset cache operations can now work on smart cache
...
* Added better test for asset cache
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7917 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
rem..om
ae2fda8626
Spot light : fixed issue that was preventing point lights to work correctly when a spot light is in the scene
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7916 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
73aa30785b
* AssetPathURL now accepts non-relative asset paths
...
* ZipLocator will now crash if the specified zip file does not exist
* Fixed crash when restarting context with pixel format changes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7914 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
sha..rd
f182b5d91b
* Javadoc for some classes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7912 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Sha..om
66d78be974
* asin -> atan
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7905 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
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
14 years ago
kim..ng
0b7f96726f
Android: fixed logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7902 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
nor..67
58d485467a
- fix lighting compile error
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7894 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
rem..om
41f417570d
Uniforms : fixed Copyright formatting
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7892 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
3bd4146f4b
* Prevent shader leaks
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7891 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
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
14 years ago
Kae..pl
1e2e6f6a2d
Fix to armature modifier loading.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7884 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago