osgEarthTriton problem : undefined function "float oe_terrain_getElevation();" #2316
-
Hi, Glenn! And the ocean doesn't show as excepted. The oe_terrain_getElevation is declared in TritonHeightMap.cpp with no implementation, as follows: How to solve this problem? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
Is this causing things to not work, or is it just an annoying message? |
Beta Was this translation helpful? Give feedback.
-
Perhaps you missed the step of replacing Triton's "user shaders" with the ones provided with osgEarth? See https://github.com/gwaldron/osgearth/tree/master/src/osgEarthTriton/Shaders and https://www.sundog-soft.com/docs/triton/gettingstarted.html#osgearth Also be aware you need to build osgEarth from source for Triton integration to work properly; the current osgEarth 3.4 release does not have some important fixes you need. |
Beta Was this translation helpful? Give feedback.
Perhaps you missed the step of replacing Triton's "user shaders" with the ones provided with osgEarth? See https://github.com/gwaldron/osgearth/tree/master/src/osgEarthTriton/Shaders and https://www.sundog-soft.com/docs/triton/gettingstarted.html#osgearth
Also be aware you need to build osgEarth from source for Triton integration to work properly; the current osgEarth 3.4 release does not have some important fixes you need.