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
nor..67
1d742f1d07
- do not store useless reference to image in TextureAtlas
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9050 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3031875264
- TextureAtlas: move some things from static methods to object methods
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9047 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
14daceaabd
- TextureAtlas javadoc fixes
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
550499a0d6
- add some more static helper methods to TextureAtlas
...
- add functions to apply atlas coords to geometry to TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9045 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
a265e72759
- move TextureAtlas methods out of GeometryBatchFactory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
f04654ee20
- fix inverted alpha for non-alpha textures
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9043 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
d5c766cc8b
- make GeometryBatchFactory check for diffuse texture before applying normal textures
...
- make GeometryBatchFactory throw exception when atlas is full
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9042 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
48ce86e607
- throw exception on unsupported format in TextureAtlas
...
- remove clamp workaround in texture atlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9041 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
29b9a64e12
- add size check for normal etc. maps, have to fit to main texture size
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9040 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
c4b1205fda
- remove tangent generation from batch factory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9039 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
a6154e2608
- fix texture atlas not cheking for existing textures anymore
...
- change atlas test to more approriate models
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9038 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
d3c92b586f
- make TextureAtlas more strict
...
- make TextureAtlas only return false if atlas is full
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9037 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
99c7797ea5
- fix moved update calls
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
bb1ff2e9e5
- improve atlas test, display quad with atlas texture
...
- clamp texture coordinates to 0-1 for atlas textures to better see actual texture mapping
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9035 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
1aabed9bc5
- add normal and specular (lighting) support to TextureAtlas generation
...
- add more TextureAtlas javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9032 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
58a08eb570
- add test for TextureAtlas
...
- add GeometryBatchFactory method to create atlased/batched model
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9030 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
81b2e7ca51
- add more formats to TextureAtlas
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
fddcbf6d6c
- add texture coordinate buffer updating to TextureAtlas
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9025 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
41d1b5996c
- add multi-texture support to TextureAtlas
...
- fix drawing TextureAtlas (only works for ABGR and BGR)
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9024 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
00454ed0f3
- add jme3 Texture compatible TextureAtlas class
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9023 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
fbf42ffbca
- improve failsafeness of GeometryBatchFactory
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8984 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
nor..67
5ce347eec8
- use JmeSystem.getStorageFolder() for SaveGame util
...
- move SaveGame util to core plugins
- fix BinaryImporter accessing assetManager if null
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8872 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3cdaf0e051
jme3:
...
- fix imports in all classes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago