rem..om
00354e426d
GeometryBatchFactory now properly handles batching geometries with different numbe rof lod levels.
...
Thanks to Rickard
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10784 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
3800db318c
LodGenerator now properly shift short indexes so that there is no negative value when assigned to an int and used as an index in an array
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10783 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
aa55fb6c61
Removed asserts from LodGenerator.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10706 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
2c9bef5ebf
GeometryBatchFactory, fixed wrong model bounds updating
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10642 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
5095396ce3
LodGenerator : fixed typo
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10641 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
a610cdc99a
LodGenerator : updated licence
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10640 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
f0b44c0704
LodGenerator used squared length of en edge as parameter for its collapse cost instead of the length. It gives better results
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10639 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
rem..om
b918c707b8
Implemented a Lod Generator based on Ogre progressive mesh
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10638 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
bf2a663022
* Remove deprecated fields from shader class
...
* Add package private deleteNativeBuffers() in NativeObject (usage TBD)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10617 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sha..RD
c994965510
* Fix GBF crash when merging with blender models (since they have index component count = 1)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10306 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
ea973c14c3
- change logging from logger.info() logger.fine and logger.warning()
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10272 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
nor..67
7ba657e430
- set logging from Level.INFO to Level.FINE for most logging
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10271 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
Sha..om
cc9379b42a
* Check to ensure all buffers have the same number of components when merging.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10214 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
iwg..ic
feff63fda2
Add support for JmeSystem.StorageFolderType in saveGame and loadGame
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10022 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sky..ok
01f1c8ff27
Replace NetBeans file templates with jME licenses
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
28ce76245f
Change all source licenses to say 2009-2012
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
6aefda2e38
* BatchNode / GeometryBatchFactory now batch animated models correctly. Note that any control(s) are removed during the batching process, and must be re-added after batching for animation to work.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9712 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
eae0a18246
* Fix crash in SaveGame class due to lack of regex escape -> used char token instead
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9557 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
0a3f7903a4
* Added methods to BufferUtils to create Vector4f buffers or set them
...
* Start implementing issue 504 (capacity -> limit)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9556 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
9b9fa57de4
* Formatting and names in ShaderDebug
...
* Remove shininess=0 in TestParallax, its bad
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9554 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
9469d08dcb
ShaderCheck : fixed compilation issue due to recent shaderKey change
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9549 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
fbf29530f3
* Deprecated FloatToFixed: You should use regular floats on Android instead of using fixed decimal format (most mobile GPUs support float anyway)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9490 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
37aa17302f
* Octree/Octnode: construct method now takes arguments for max depth, max volume, and tris per node
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9489 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
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
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
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
Sha..rd
ad01d36915
* Added shader validation system. Requires either NVIDIA Cg or GPU Shader Analyser to be in the path. Run the ShaderCheck class to see which jME3 shaders fail validation.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9316 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
544e1f6342
Shaders : The line numbers on error now correctly takes the version line added to the shader into account
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9295 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
3a0e1f50ac
Shaders : The line number is now printed for each line of shader code in the standard error output when a shader fail to compile.
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9294 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
91ea95328e
Fixed isEqual to equals in GeometryBatchFactory and in TestMaterialCompare
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9291 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
1945a0c1c0
BatchNode and GeometryBatchFactory now uses the material's isEqual method to gather the geometries to batch
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9257 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
533fb86c50
Down to 260 Javadoc warnings from 324
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9255 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
be7a22e3d5
* Remove most common usage of IntMap.iterator()
...
* Correct small typo in UniformBinding
* Make IntMap.iterator() make new iterator each time
* Prevent TangentBinormalGenerator from crashing when it encounters some mesh without texcoord/normal buffers
* AWTLoader now properly fails when AWT can't load the image instead of returning null
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9219 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
68da72cf66
* Actually fixed the issue with the tangents this time .. (TestTextureAtlas runs)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9206 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
Sha..rd
c9046fa21c
* Since number of tangent components in a tangent buffer can vary, GeometryBatchFactory now takes # of components into account preventing IndexOutOfBoundsException
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9205 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
965974c18d
- javadoc html tag fix
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9118 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
rem..om
26665e5df0
GeometryBatchFactory now correctly transforms tangents buffer (it was not taking the 4th component into account)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9108 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
38f56d3f2e
GeometryBatchFactory now bulk copies the untransformed
...
buffers instead of copying them one element at a time.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9101 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
PSp..om
e6dc1b7183
Modified GeometryBatchFactory to be thread safe
...
from other readers of the meshes upon which it is
operating. At least in theory.
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9099 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
b51c736e80
- rephrase and clarify some TextureAtlas javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3b91333636
- add ImageToAwt fallback (using reflection, no AWT dependency) to TextureAtlas conversion
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9062 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
8a08f8d505
- add grayscale (Luminance8/Luminance8Alpha8) texture support to TextureAtlas
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9061 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
d918cefc17
- add more javadoc to TextureAtlas
...
- draw images used on multiple maps properly to secondary maps, print warning
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9059 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
d18460ae33
- small javadoc fixes for TextureAtlas
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
64c5e75684
- add lots of javadoc with examples etc to TextureAtlas
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9057 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
5a451b3aa6
- use assetKey.toString() in TextureAtlas to account for flipped textures
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9053 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
bfa0bf6a1e
- some javadoc fixes in TextureAtlas
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9052 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
d83815847a
- add size warning to TextureAtlas
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9051 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago