diff --git a/SkyExamples/build.gradle b/SkyExamples/build.gradle index 759ff1e..31f60fe 100644 --- a/SkyExamples/build.gradle +++ b/SkyExamples/build.gradle @@ -7,13 +7,12 @@ description = 'demos, examples, and tests that do not generate reports' dependencies { implementation "com.beust:jcommander:$jcommanderVersion" runtimeOnly 'com.github.nifty-gui:nifty-style-black:1.4.3' - runtimeOnly "org.jmonkeyengine:jme3-blender:$jmonkeyengineVersion" implementation "org.jmonkeyengine:jme3-desktop:$jmonkeyengineVersion" runtimeOnly "org.jmonkeyengine:jme3-jogg:$jmonkeyengineVersion" runtimeOnly "org.jmonkeyengine:jme3-lwjgl3:$jmonkeyengineVersion" implementation "org.jmonkeyengine:jme3-plugins:$jmonkeyengineVersion" implementation "org.jmonkeyengine:jme3-terrain:$jmonkeyengineVersion" - runtimeOnly 'org.jmonkeyengine:jme3-testdata:3.1.0-stable' + runtimeOnly 'org.jmonkeyengine:jme3-testdata:' + jmonkeyengineVersion implementation 'com.github.stephengold:Heart:' + heartVersion diff --git a/SkyLibrary/src/main/java/jme3utilities/sky/GlobeRenderer.java b/SkyLibrary/src/main/java/jme3utilities/sky/GlobeRenderer.java index 8325ca7..3e57b91 100644 --- a/SkyLibrary/src/main/java/jme3utilities/sky/GlobeRenderer.java +++ b/SkyLibrary/src/main/java/jme3utilities/sky/GlobeRenderer.java @@ -1,5 +1,5 @@ /* - Copyright (c) 2014-2020, Stephen Gold + Copyright (c) 2014-2021, Stephen Gold All rights reserved. Redistribution and use in source and binary forms, with or without @@ -42,6 +42,7 @@ OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE import com.jme3.scene.shape.Sphere; import com.jme3.scene.shape.Sphere.TextureMode; import com.jme3.texture.FrameBuffer; +import com.jme3.texture.FrameBuffer.FrameBufferTarget; import com.jme3.texture.Image; import com.jme3.texture.Texture; import com.jme3.texture.Texture2D; @@ -184,7 +185,7 @@ public GlobeRenderer(Material globeMaterial, Image.Format outputFormat, int numSamples = 1; frameBuffer = new FrameBuffer(resolution, resolution, numSamples); - frameBuffer.setColorTexture(outputTexture); + frameBuffer.addColorTarget(FrameBufferTarget.newTarget(outputTexture)); assert isEnabled(); } diff --git a/common.gradle b/common.gradle index cc04c86..4d2d7ca 100644 --- a/common.gradle +++ b/common.gradle @@ -31,16 +31,15 @@ gradle.projectsEvaluated { ext { // current versions of various libraries jcommanderVersion = '1.81' - heartVersion = '6.4.2' - jme3utilitiesniftyVersion = '0.9.18' - jme3utilitiesuiVersion = '0.9.2' - jmonkeyengineVersion = '3.3.2-stable' - skycontrolVersion = '0.9.31-SNAPSHOT' + heartVersion = '6.4.3+for34' + jme3utilitiesniftyVersion = '0.9.19+for34' + jme3utilitiesuiVersion = '0.9.3+for34' + jmonkeyengineVersion = '3.4.0-beta1' + skycontrolVersion = '0.9.31+for33-SNAPSHOT' } repositories { //mavenLocal() - maven { url 'https://dl.bintray.com/stephengold/org.jmonkeyengine' } // for jme3-testdata mavenCentral() }