57 Commits

Author SHA1 Message Date
nor..67
b51c736e80 - rephrase and clarify some TextureAtlas javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 19:54:14 +00:00
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
2012-01-15 19:33:27 +00:00
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
2012-01-15 19:02:17 +00:00
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
2012-01-15 17:20:41 +00:00
nor..67
d18460ae33 - small javadoc fixes for TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9058 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 15:33:03 +00:00
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
2012-01-15 15:11:18 +00:00
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
2012-01-15 05:03:33 +00:00
nor..67
bfa0bf6a1e - some javadoc fixes in TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9052 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 04:54:30 +00:00
nor..67
d83815847a - add size warning to TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9051 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 04:38:52 +00:00
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
2012-01-15 04:30:20 +00:00
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
2012-01-15 03:59:24 +00:00
nor..67
14daceaabd - TextureAtlas javadoc fixes
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9046 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 03:50:15 +00:00
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
2012-01-15 03:47:34 +00:00
nor..67
a265e72759 - move TextureAtlas methods out of GeometryBatchFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9044 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 02:43:09 +00:00
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
2012-01-15 02:27:35 +00:00
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
2012-01-15 02:12:42 +00:00
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
2012-01-15 02:10:30 +00:00
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
2012-01-15 01:50:15 +00:00
nor..67
c4b1205fda - remove tangent generation from batch factory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9039 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 01:44:36 +00:00
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
2012-01-15 01:38:19 +00:00
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
2012-01-15 00:39:07 +00:00
nor..67
99c7797ea5 - fix moved update calls
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9036 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-15 00:18:25 +00:00
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
2012-01-15 00:17:03 +00:00
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
2012-01-14 23:00:06 +00:00
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
2012-01-14 21:45:50 +00:00
nor..67
81b2e7ca51 - add more formats to TextureAtlas
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9026 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 19:06:49 +00:00
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
2012-01-14 18:59:36 +00:00
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
2012-01-14 17:52:14 +00:00
nor..67
00454ed0f3 - add jme3 Texture compatible TextureAtlas class
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9023 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-14 13:13:54 +00:00
nor..67
fbf42ffbca - improve failsafeness of GeometryBatchFactory
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8984 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-06 17:00:34 +00:00
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
2012-01-03 06:54:07 +00:00
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
2011-12-06 19:19:04 +00:00
nor..67
3cdaf0e051 jme3:
- fix imports in all classes

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 14:06:48 +00:00
nor..67
c906508e62 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8839 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:22:42 +00:00
nor..67
1cc957e7e9 - big refactoring of engine build and cleaning of sources, totally breaking SDK build for now
- separate jar files for engine components
- resolve dependencies between code parts
- remove Nifty dependency from Cinematics
- remove Physics dependency from TerrainGrid
- add public accessors to Natives Extraction
- remove RenderHint serialization from networking

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8838 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-03 01:19:18 +00:00
nor..67
8eaf205cc2 - remove System.out.println from SaveGame.. again
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8461 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-19 13:59:57 +00:00
nor..67
d1a515f878 - use GZIP in SaveGame
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8452 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 21:15:16 +00:00
nor..67
7152878286 - remove System.out.println from SaveGame class
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8448 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 20:35:28 +00:00
nor..67
89ad3925a6 - remove System.out.println from SaveGame class
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8447 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 20:33:40 +00:00
nor..67
9850440a65 - use ZIP in SaveGame
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8446 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 20:31:36 +00:00
nor..67
3198415cce - make SaveGame use Binary and UUEncode (sun.misc package, available on android?)
- add test

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8445 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 20:13:24 +00:00
nor..67
8739632262 - print stack trace for SaveGame tool errors
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8438 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 00:31:50 +00:00
nor..67
fc9cb03462 - add SaveGame tool
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8437 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-10-18 00:24:49 +00:00
sha..rd
2636343ac7 * Fix hard edge bug for spot lights on NVIDIA cards
* Fix bump mapping issue that was there since the beginning of time ... flipping normal.y only worked for pond_normal.png texture and IS NOT CORRECT in most cases. Now the texture itself has been adjusted to be correct while the flipping of normal.y removed
 * Fix crash when playing sound in simpleInitApp()
 * Fix issue where Spatial.setModelBound() would do absolutely nothing
 * Skies created via SkyFactory now don't suffer from "premature culling" bug

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8010 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-08-14 18:36:59 +00:00
sha..rd
951d9fe23a J3O incompatibility issues fixed
* When loading models with SimpleTextured/WireColor/SolidColor materials 
 * When loading Unshaded material with spelling error "SeperateTexCoord" instead of "SeparateTexCoord"
 * Also fixed issue with loading animated models

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7729 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-25 18:47:20 +00:00
sha..rd
31027a0b2c * Some javadoc for Mesh
* Added Mesh.getIndicesAsList() for easy access to triangle data
 * Added UserData.JME_PHYSICSIGNORE to indicate to physics engine that geometry should be excluded from collision shape generation
 * Physics engine now supports all possible mesh formats (non-indexed, triangle strip, etc)

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7670 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-19 19:12:45 +00:00
sha..rd
37894d1698 * HttpZipLocator UTF8 decoder replaced with proper code
* Removed some redundant javadoc from SceneProcessor
 * Fixed bug where GeometryBatchFactory.optimize() wouldn't reset the transform on the argument node as would be expected since optimize() applies the world transform of the geometries automatically
 * Terrain grid tests now stream terrain data from googlecode servers instead of having the data bundled in the nightly builds

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7619 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-14 02:49:18 +00:00
rem..om
3f707fb44a GeometryBatchFactory now retain original Lod informations thanks to Rickard
see post : http://jmonkeyengine.org/groups/contribution-depot-jme3/forum/topic/lods-for-geometrybatchfactory/

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7579 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-06-11 08:49:37 +00:00
Sha..om
a4e97bd2d5 * Better error message in ImageToAwt.convert()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7437 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-05-04 15:47:16 +00:00
sha..rd
6196de22f7 * Removed all deprecated classes, methods, and fields
* AudioNode now takes AudioRenderer in its constructor to allow audio.play() functionality

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7333 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-04-27 16:45:01 +00:00