Issues.00134 - lordmundi/wikidoctest GitHub Wiki

00134: procedural noise capability in shaders for terrain

« 00133 | Issues | 00135 »

Summary: procedural noise capability in shaders for terrain

Created: 2009–02–18 14:17

Status: Released

Category: Request

From: frankie

Version: 2.0

Released_In: 2.4

Description:

we would like to be able to enhance the planet2 shaders with a procedural texturing capability to fake high resolution terrain.


Comments


« 00133 | Issues | 00135 »

Associated Commits

| commit | 3ea1cfd234dca5d0d66342d8756758f6a9d2fdbc link5 | || | Author: | Frank Graffagnino | | Date: | Fri Apr 17 16:41:29 2015 -0500 | | Message: | [@Issue 00134: Updated to planet2 to support fractal soil Modified shaders are required. This just implements the resolution capability for the shaders. @] |

Affected Files:

plugin_Darwin/dsp_planet2.so    | Bin 535180 -> 552224 bytes
 plugin_Linux_FC3/dsp_planet2.so | Bin 554607 -> 517820 bytes
 plugin_Win32/dsp_planet2.dll    | Bin 1383049 -> 1399737 bytes
 3 files changed, 0 insertions(+), 0 deletions(-)

| commit | 650bfa20b78efafd1c59cdbcafa5c17b4800dd8c link6 | || | Author: | Frank Graffagnino | | Date: | Thu Dec 18 16:14:07 2014 -0600 | | Message: | [@Issue 00134: Updated procedural texturing in planet2 to only require GLSL 120 on Mac Mac machines do not support any GLSL version > 1.2, so this commit uses GLSL version 1.3 for linux and windows, but downgrades for Mac. This means the tesselation stuff for planet2 won't work for mac since it requires a newer GLSL version. But, with this fix, it should still work on windows and linux. @] |

Affected Files:

src/plugins/dsp_planet2.c                    | 10 ++++++++++
 src/plugins/planet_shaders/planet2_core.vs   | 13 ++++++±-----
 src/plugins/planet_shaders/planet2_funcs.fs  | 13 ++++++±-----
 src/plugins/planet_shaders/planet2_funcs2.fs | 13 ++++++±-----
 4 files changed, 31 insertions(+), 18 deletions(-)

| commit | 09d6b7cc3a6f1669762d9f02eb9c488693fde323 link7 | || | Author: | Brad Bell | | Date: | Fri Oct 18 14:15:54 2013 -0500 | | Message: | [@EDGE Issue 00134: added support for high resolution texture/elevation generation by implementing high resolution geospacial query functions which can be used to generate georeferenced procedural textures using 3D perlin/simplex noise implementations @] |

Affected Files:

src/includes/dsp_speedtest3.h                   |    1 +
 src/plugins/atmosphere_table_mac_vs.c           |    5 ±
 src/plugins/atmosphere_table_vs.c               |    5 ±
 src/plugins/atmosphere_vertex_mac_vs.c          |    2 -
 src/plugins/atmosphere_vertex_vs.c              |    2 -
 src/plugins/calibrate_table_mac_vs.c            |    1 -
 src/plugins/calibrate_table_vs.c                |    1 -
 src/plugins/compute_tables_mac_vs.c             |    2 -
 src/plugins/compute_tables_vs.c                 |    2 -
 src/plugins/dsp_planet2.c                       | 1731 +++++++++++++++++++±--
 src/plugins/dsp_speedtest3.c                    |   67 ±
 src/plugins/dsp_speedtest3.h                    |    1 +
 src/plugins/linux                               |   38 ±
 src/plugins/mac                                 |   56 ±
 src/plugins/patch_gen_mac_vs.c                  |   14 +
 src/plugins/patch_gen_vs.c                      |   13 +
 src/plugins/planet2_blend_mac_fs.c              |    2 ±
 src/plugins/planet2_bmp_blend_mac_fs.c          |    2 ±
 src/plugins/planet2_bmp_mac_fs.c                |    2 ±
 src/plugins/planet2_core_mac_vs.c               |  188 +++
 src/plugins/planet2_core_vs.c                   |  187 +++
 src/plugins/planet2_funcs2_fs.c                 |    1 -
 src/plugins/planet2_funcs2_mac_fs.c             |  235 +±
 src/plugins/planet2_funcs_fs.c                  |    1 -
 src/plugins/planet2_funcs_mac_fs.c              |  271 ++±
 src/plugins/planet2_mac_fs.c                    |    2 ±
 src/plugins/planet2_mac_vs.c                    |   33 ±
 src/plugins/planet2_nrm_mac_fs.c                |    2 ±
 src/plugins/planet2_shadow_fs.c                 |    7 +
 src/plugins/planet2_shadow_mac_fs.c             |    8 +
 src/plugins/planet2_vs.c                        |   13 ±
 src/plugins/planet_mac_fs.c                     |    2 ±
 src/plugins/planet_mac_vs.c                     |    3 ±
 src/plugins/planet_nrm_mac_fs.c                 |    2 ±
 src/plugins/planet_shaders/atmosphere_table.vs  |    5 ±
 src/plugins/planet_shaders/atmosphere_vertex.vs |    2 -
 src/plugins/planet_shaders/calibrate_table.vs   |    1 -
 src/plugins/planet_shaders/compute_tables.vs    |    2 -
 src/plugins/planet_shaders/patch_gen.vs         |   11 +
 src/plugins/planet_shaders/planet.vs            |    2 -
 src/plugins/planet_shaders/planet2.vs           |   13 ±
 src/plugins/planet_shaders/planet2_core.vs      |  185 +++
 src/plugins/planet_shaders/planet2_funcs.fs     |    1 -
 src/plugins/planet_shaders/planet2_funcs2.fs    |    1 -
 src/plugins/planet_shaders/planet2_shadow.fs    |    5 +
 src/plugins/planet_shaders/tesselation.tc       |   67 +
 src/plugins/planet_shaders/tesselation.te       |   39 +
 src/plugins/planet_shaders/tesselation.vs       |   10 +
 src/plugins/planet_vs.c                         |    2 -
 src/plugins/tesselation_mac_tc.c                |   59 +
 src/plugins/tesselation_mac_te.c                |   42 +
 src/plugins/tesselation_mac_vs.c                |   13 +
 src/plugins/tesselation_tc.c                    |   69 +
 src/plugins/tesselation_te.c                    |   41 +
 src/plugins/tesselation_vs.c                    |   12 +
 src/plugins/win32                               |    8 +
 56 files changed, 3058 insertions(+), 434 deletions(-)