163 Commits

Author SHA1 Message Date
bre..om
c405f09391 added toCellSpace() and toWorldSpace() utility methods to TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9954 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-05 15:31:13 +00:00
bre..om
fa29b95c39 added TerrainGrid.getTerrainAtCell(Vector3f cellCoordinate) to get the terrain tile from cell coordinates
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9953 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-05 15:25:14 +00:00
bre..om
9c2a897bfb removed deprecated methods from TerrainGrid, added in getTerrainAt(Vector3f worldLocation), more docs on TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9952 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-11-05 15:18:47 +00:00
bre..om
1843916822 added more javadocs to TerrainQuad
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9877 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-23 21:21:03 +00:00
sky..ok
5da8dd1e3d Terrain package license maintenance
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9843 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 21:59:05 +00:00
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
2012-10-05 17:22:45 +00:00
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
2012-10-05 17:01:57 +00:00
sky..ok
751cb9e20a Javadoc cleanup
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9837 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-05 16:44:26 +00:00
nor..67
c328f5ab9a - more effective null check for TerrainLodControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9822 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-03 03:26:22 +00:00
nor..67
2f7f270d6f - add null check to TerrainLodControl
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9821 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-10-03 03:17:13 +00:00
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
2012-09-30 23:41:57 +00:00
bre..om
7f740a0cd4 TerrainGrid executor now prints out any exceptions from the threads
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9776 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 18:51:54 +00:00
bre..om
c4574bff13 fixed an issue with TerrainGrid not having a large enough cache of tiles. Properly hooked in the tileDetached event
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9772 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-25 04:32:25 +00:00
bre..om
bd7c10ba80 Added more comments to the TerrainLighting test. Made the TerrainLighting material more forgiving if normal maps aren't set
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9751 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-09-18 22:24:04 +00:00
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
2012-08-21 15:40:26 +00:00
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
2012-07-25 13:34:31 +00:00
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
2012-07-25 00:03:01 +00:00
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
2012-07-11 00:39:25 +00:00
Sha..rd
7825249952 * Made some classes pretty, hope you like it
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9547 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 04:00:03 +00:00
Sha..rd
27e97c34da * 'FixedFunc' technique were wiped out entirely. Not useful since now we choose default technique based on caps anyway.
^ Make sure to fix your materials by removing the 'FixedFunc' name from your fixed pipeline techniques! Or remove then entirely if the material doesn't support OpenGL1 ...

git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9546 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-07-10 03:56:51 +00:00
nor..67
ea0be5cf9f - fix imports across engine
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9451 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-06-03 13:10:26 +00:00
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
2012-05-28 15:32:30 +00:00
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
2012-05-14 17:33:20 +00:00
bre..ns
f669290a3a updated terrainLighting.frag's shininess to match more of Lighting.frag
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9328 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-25 21:02:56 +00:00
bre..ns
a0af5de41e whoopsie, sorry TerrainGrid
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9327 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-24 20:27:41 +00:00
bre..ns
5dbde4ad06 TerrainQuad documentation patch thanks @slyh
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9326 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-24 20:17:25 +00:00
bre..ns
eac143830f TerrainGrid documentation patch thanks @slyh
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9325 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-24 20:14:19 +00:00
Sha..rd
60e0e46344 * Remove usage of "SimpleTextured" shaders from other materials
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9320 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-04-15 21:20:37 +00:00
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
2012-04-03 15:13:31 +00:00
bre..ns
3dc9a591b7 whoops, I blame jesus for not adding this class
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9270 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-31 06:18:10 +00:00
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
2012-03-30 04:16:55 +00:00
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
2012-03-22 00:22:09 +00:00
bre..ns
ee69225ad0 fixed some normal calc issues in LODGeomap
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9252 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-20 00:46:34 +00:00
bre..ns
e769d453ec added recalculateAllNormals() to TerrainQuad
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9237 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-03-07 15:48:44 +00:00
bre..ns
8d9895036b more terrain normal code clean up
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9201 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-25 18:37:54 +00:00
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
2012-02-25 15:59:22 +00:00
bre..ns
230398c45b removed some debug code
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@9128 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-02-02 02:21:25 +00:00
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
2012-01-17 01:36:13 +00:00
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
2012-01-16 17:17:05 +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
sky..om
b66984f8f5 Added javadoc for TerrainQuad heightMap parameters
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8978 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2012-01-03 04:42:54 +00:00
sky..om
baba9d6b47 Fix to TerrainGrid: only clone the grid's material to child quad if it doesn't have a material of its own
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8970 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-31 00:26:42 +00:00
bre..ns
8a9ec04e35 moved noise library into jme3/terrain
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8959 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-27 23:51:32 +00:00
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
2011-12-22 23:02:23 +00:00
bre..ns
817591076e removed the remaining awt dependencies from terrain grid and its utils
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8939 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-16 17:29:15 +00:00
bre..ns
356c3b55cc deprecating and removing most AWT dependencies from heightmaps and TerrainGrid, still some more to do
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8930 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-14 20:56:28 +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
bre..ns
7f1fff1538 fixed some terrain edge tangents
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8835 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-12-01 03:56:32 +00:00
nor..67
212b57ecc6 - add some equals() methods where compareTo is used
git-svn-id: https://jmonkeyengine.googlecode.com/svn/trunk@8820 75d07b2b-3a1a-0410-a2c5-0572b91ccdca
2011-11-27 13:46:20 +00:00