Skip to content

Latest commit

 

History

History

create-hillshade-effects

ArcGIS Runtime: Create hillshade effects with geospatial code

Image of 3D hillshade renderer over Goatfell, Arran

The accompanying blog for this code demo can be found on the Esri blog webpage. This demo application can be run via an IDE such as IntelliJ, please see instructions below.

When the demo application launches, simply explore the data by interacting with the scene view via the mouse or keyboard.

Please note, the data in this sample will automatically download on the first run. This may take a while depending on your internet connection speed.

Instructions

IntelliJ IDEA

  1. Open IntelliJ IDEA and select File > Open....
  2. Choose the arcgis-runtime-java-demos directory and click OK.
  3. Select File > Project Structure... and ensure that the Project SDK and language level are set to use Java 17.
  4. Open the Gradle view with View > Tool Windows > Gradle.
  5. In the Gradle view, double-click copyNatives under Tasks > build. This will unpack the native library dependencies to $USER_HOME/.arcgis.
  6. In the Gradle view, double-click run under Tasks > application to run the app.

Command Line

  1. cd into the project's root directory.
  2. Run ./gradlew clean build on Linux/Mac or gradlew.bat clean build on Windows.
  3. Run ./gradlew copyNatives on Linux/Mac or gradlew.bat copyNatives on Windows. This will unpack the native library dependencies to $USER_HOME.arcgis.
  4. Run ./gradlew run on Linux/Mac or gradlew.bat run on Windows to run the app.

Requirements

See the Runtime SDK's system requirements.