Normen Hansen
a16857c8f4
switch to gradle layout
11 years ago
bre..om
13758bd985
terrain will clear any caches it has now when detached from the scene graph
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@10424 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
bre..om
1843916822
added more javadocs to TerrainQuad
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9877 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
12 years ago
sky..ok
5da8dd1e3d
Terrain package license maintenance
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..om
77a1ec09f8
moved terrainGrid normal recalculations out of the tile loading loop to run after all tiles have loaded
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9788 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
05f5473505
cleaned up some terrain code and deprecated a few constructors
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9674 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
f5cd1e97c4
fixed the terrain normal calc for the edges
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9584 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
b59ec271ca
terrain now checks the ray's limit when colliding
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9583 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
33a69d4536
Softened terrain API to allow for different tiling implementations. Added MultiTerrainLodControl
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9434 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
f654109aa4
added in a NeighbourFinder interface to TerrainQuad so it can be used for tiling outside of TerrainGrid
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9385 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
5dbde4ad06
TerrainQuad documentation patch thanks @slyh
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9326 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
64b736f2e9
fix a bug in terrain getHeight for some edge cases
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9275 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
a1249b551d
* refactored terrain lod to move most of the lod code to the control
...
* lodDistanceCalculator no longer queries the world transforms of the terrain on the background thread
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9269 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
e769d453ec
added recalculateAllNormals() to TerrainQuad
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
3420ec2881
simplified terrain tangent generation, cleaned up code
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9200 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
a59339054a
moved some of the terrain utils into tool options in the scene explorer
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9080 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
d28b580640
fixed bug in terrainQuad, uses worldTranslation for coordinate offset now for height adjustment
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9079 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..om
b66984f8f5
Added javadoc for TerrainQuad heightMap parameters
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8978 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
5d6fa1fc0b
fixed a normal seaming artifact in terrain
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8952 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
bre..ns
36453a919c
TerrainGrid no longer needs initialize() called, handled automatically now.
...
TG normal seams fixed
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8807 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..om
197bba7fe8
- fix TerrainPatch method signature to not break old projects, deprecate getHeightmap, add new getHeightMap
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8737 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sha..rd
268a464191
* Make Geomap and LODGeomap use a float[] heightmap internally instead of FloatBuffer
...
* Remove normal map buffer from Geomap, not needed since its generated procedurally
* Optimized LODGeomap normal buffer generation to create less garbage
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8734 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
2253690024
normen made me do it!
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8712 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
4e34217111
* Terrain API changes to better support TG in SDK terrain editor
...
* Refactored TG slightly.
* Updated TG tests
* new TG alphamap test data
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8711 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
nor..67
3645d09ec2
- add TerrainGrid serialization test
...
- add TerrainQuad deserialization null checks
- serialize Material in TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8689 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
0342cceaaf
fixed bug with terrain grid and cached neighbours in terrainQuad not being reset
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8673 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
253334fd07
* fixed terrain grid issues
...
* added javadoc
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8672 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
6712fccbc3
cleaned up terrainQuad constructor.
...
Added flexibility to image heightmap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8585 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
sky..ok
6286ac495f
Added Javadoc to TerrainQuad constructors
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8574 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
13 years ago
bre..ns
ca628fe5d6
fixed terrain scale bug
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8314 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
f6ebb7a262
terrain lod control rafactoring
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8249 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
3383e2e086
* refactored TerrainLOD Control and removed some legacy classes for it, made it easier to use
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8233 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
69fe43f079
added terrain.getNormal(x,z)
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8200 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
86124b9a04
terrain.getHeight now scales the result
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8195 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
3f6834d7c7
fixed terrain picking bug
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8138 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
6940694e14
* fixed bug with terrain collision and flat terrain having a zero-volume bounding box
...
* corrected terrain.getHeight()
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8135 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
fa46b16e87
changed normal and tangent generation for terrain to handle scale, removing artifacts
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8070 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
7a954c0650
removed a premature commit to terrain tangents that isn't fully working yet
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8063 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
77718d1f15
flipped terrain texture coordinates. New tangent calculations. Warning if heightmap is different size than specified terrain
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8060 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
c54ce7be27
reduced terrain save j3o file size
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7883 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
7b93faa8e1
fixed but with normals not updating in terrain
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7844 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
1a08b7b0f6
* fixed lod bug in TerrainGrid
...
* flipped the grid orientation to match the Quad's orientation
* removed blocking call to loading thread
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7833 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
bb718f942c
* javadoc
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7826 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
9407f4c3d0
* delayed creation of TerrainQuad executorService unless absolutely needed
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7823 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
70f1a6f323
* Cleaned up and simplified the Terrain API.
...
* Removed dependence on TerrainQuad for TerrainLodControl
* Comments, general cleanup
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7783 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
ant..om
dfeff3c6af
Fix major bug: TerrainGrid.getHeight returned always 0 after first grid change happened
...
minor bug: updateModelBound missed from TerrainGrid update call, added collisionGroup check to physics, and failing with exception if material is not set before initialize() call
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7691 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
sha..rd
a6300ba55b
* Initial docs for com.jme3.scene.debug, com.jme3.scene.shape, com.jme3.scene.control
...
* Javadocs for com.jme3.scene.mesh
* Formatting for com.jme3.terrain classes
* Terrain updating thread now called "jME3 Terrain Thread"
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7667 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
4148e216b4
tweaks to getHeightmapHeight, removed old code
...
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7648 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago
bre..ns
993b220922
* performance improvements to terrain height modification
...
* api change to let you pass in many points to be adjusted in the terrain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@7643 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
14 years ago