Coder Social home page Coder Social logo

simsilica / simarboreal-editor Goto Github PK

View Code? Open in Web Editor NEW
10.0 5.0 6.0 25.37 MB

Editor using the SimArboreal library to generate exportable tree models.

Home Page: http://simsilica.github.io/SimArboreal-Editor/

GLSL 9.75% Java 86.43% Groovy 3.82%
jmonkeyengine3 jmonkeyengine jme3 java

simarboreal-editor's People

Contributors

ali-rs avatar pspeed42 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

simarboreal-editor's Issues

Cant resolve dependencies for Gradle run

when I do : gradle run
I have the following output

:compileJava

FAILURE: Build failed with an exception.

* What went wrong:
Could not resolve all dependencies for configuration ':compile'.
> Could not find com.simsilica:sim-arboreal:1.0.1-SNAPSHOT.
  Searched in the following locations:
      file:/home/dokthar/.m2/repository/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/maven-metadata.xml
      file:/home/dokthar/.m2/repository/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/sim-arboreal-1.0.1-SNAPSHOT.pom
      file:/home/dokthar/.m2/repository/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/sim-arboreal-1.0.1-SNAPSHOT.jar
      https://jcenter.bintray.com/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/maven-metadata.xml
      https://jcenter.bintray.com/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/sim-arboreal-1.0.1-SNAPSHOT.pom
      https://jcenter.bintray.com/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/sim-arboreal-1.0.1-SNAPSHOT.jar
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/maven-metadata.xml
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/sim-arboreal-1.0.1-SNAPSHOT.pom
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/sim-arboreal-1.0.1-SNAPSHOT.jar
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/maven-metadata.xml
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/sim-arboreal-1.0.1-SNAPSHOT.pom
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/sim-arboreal/1.0.1-SNAPSHOT/sim-arboreal-1.0.1-SNAPSHOT.jar
  Required by:
      com.simsilica:sim-arboreal-editor:1.0.1-SNAPSHOT
> Could not find any version that matches com.simsilica:lemur:1.6.+.
  Searched in the following locations:
      file:/home/dokthar/.m2/repository/com/simsilica/lemur/maven-metadata.xml
      file:/home/dokthar/.m2/repository/com/simsilica/lemur/
      https://jcenter.bintray.com/com/simsilica/lemur/maven-metadata.xml
      https://jcenter.bintray.com/com/simsilica/lemur/
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/lemur/maven-metadata.xml
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/lemur/
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/lemur/maven-metadata.xml
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/lemur/
  Required by:
      com.simsilica:sim-arboreal-editor:1.0.1-SNAPSHOT
> Could not find any version that matches com.simsilica:lemur-proto:1.5.+.
  Searched in the following locations:
      file:/home/dokthar/.m2/repository/com/simsilica/lemur-proto/maven-metadata.xml
      file:/home/dokthar/.m2/repository/com/simsilica/lemur-proto/
      https://jcenter.bintray.com/com/simsilica/lemur-proto/maven-metadata.xml
      https://jcenter.bintray.com/com/simsilica/lemur-proto/
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/lemur-proto/maven-metadata.xml
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/lemur-proto/
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/lemur-proto/maven-metadata.xml
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/lemur-proto/
  Required by:
      com.simsilica:sim-arboreal-editor:1.0.1-SNAPSHOT
> Could not find any version that matches com.simsilica:lemur-props:1.0.+.
  Searched in the following locations:
      file:/home/dokthar/.m2/repository/com/simsilica/lemur-props/maven-metadata.xml
      file:/home/dokthar/.m2/repository/com/simsilica/lemur-props/
      https://jcenter.bintray.com/com/simsilica/lemur-props/maven-metadata.xml
      https://jcenter.bintray.com/com/simsilica/lemur-props/
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/lemur-props/maven-metadata.xml
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/lemur-props/
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/lemur-props/maven-metadata.xml
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/lemur-props/
  Required by:
      com.simsilica:sim-arboreal-editor:1.0.1-SNAPSHOT
> Could not find any version that matches com.simsilica:pager:1.0.+.
  Searched in the following locations:
      file:/home/dokthar/.m2/repository/com/simsilica/pager/maven-metadata.xml
      file:/home/dokthar/.m2/repository/com/simsilica/pager/
      https://jcenter.bintray.com/com/simsilica/pager/maven-metadata.xml
      https://jcenter.bintray.com/com/simsilica/pager/
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/pager/maven-metadata.xml
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/pager/
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/pager/maven-metadata.xml
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/pager/
  Required by:
      com.simsilica:sim-arboreal-editor:1.0.1-SNAPSHOT
> Could not find any version that matches com.simsilica:sim-fx:1.0.+.
  Searched in the following locations:
      file:/home/dokthar/.m2/repository/com/simsilica/sim-fx/maven-metadata.xml
      file:/home/dokthar/.m2/repository/com/simsilica/sim-fx/
      https://jcenter.bintray.com/com/simsilica/sim-fx/maven-metadata.xml
      https://jcenter.bintray.com/com/simsilica/sim-fx/
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/sim-fx/maven-metadata.xml
      http://dl.bintray.com/jmonkeyengine/org.jmonkeyengine/com/simsilica/sim-fx/
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/sim-fx/maven-metadata.xml
      http://svn.code.sf.net/p/meta-jb/svn/trunk/dev/m2-repo/com/simsilica/sim-fx/
  Required by:
      com.simsilica:sim-arboreal-editor:1.0.1-SNAPSHOT

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output.

BUILD FAILED

Total time: 8.482 secs

Error loading materials using FixedPipeline LightMode in jme 3.2

Hi
FixedPipeline light mode is removed in jme 3.2 so running SimArboreal-Editor with jme 3.2 jars I am getting

java.lang.UnsupportedOperationException
	at com.jme3.material.plugins.J3MLoader.readTechnique(J3MLoader.java:655)
	at com.jme3.material.plugins.J3MLoader.loadFromRoot(J3MLoader.java:777)
	at com.jme3.material.plugins.J3MLoader.load(J3MLoader.java:798)
	at com.jme3.asset.DesktopAssetManager.loadLocatedAsset(DesktopAssetManager.java:259)
	at com.jme3.asset.DesktopAssetManager.loadAsset(DesktopAssetManager.java:373)
	at com.jme3.material.Material.<init>(Material.java:108)
	at com.simsilica.arboreal.GroundState.initialize(GroundState.java:130)
	at com.simsilica.lemur.event.BaseAppState.initialize(BaseAppState.java:75)
	at com.jme3.app.state.AppStateManager.initializePending(AppStateManager.java:251)
	at com.jme3.app.state.AppStateManager.update(AppStateManager.java:281)
	at com.jme3.app.SimpleApplication.update(SimpleApplication.java:236)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
	at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:193)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:232)
	at java.lang.Thread.run(Thread.java:745)

should I make a PR and change all

Technique {
        LightMode FixedPipeline
    }


to SinglePass, in following materials ?

  • MultiResolution.j3md (in SimArboreal-Editor)
  • AxisBillboardLighting.j3md (in SimArboreal)
  • LeafLighting.j3md (in SimArboreal)
  • TreeLighting.j3md (in SimArboreal)
  • IndexedBillboardLighting.j3md (in SimArboreal)

What version of LWJGL is required to build?

Hi, sorry to bother you.

I understand how it feels when someone else is trying to resurrect one of your ancient projects, and pesters you with questions. But I need a Java procedural tree model generator, and SimArboreal seemed like a good place to start.

I've checked out all of

  • Pager
  • SimFX
  • SimArboreal
  • SimArboreal-Editor

I've got all of them building with Gradle 4.4.1 on OpenJDK 17.0.10 (tried with Gradle 8.7 but too much broke). However, the editor, although it builds, breaks at runtime as follows:

simon@oculist:~/workspace/SimArboreal-Editor$ java -jar build/libs/sim-arboreal-editor-1.0.1-SNAPSHOT.jar 
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Gtk-Message: 16:46:15.378: Failed to load module "canberra-gtk-module"
Apr 19, 2024 4:46:20 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.1-stable
 * Branch: HEAD
 * Git Hash: af04bf9
 * Build Date: 2017-02-13
Exception in thread "main" java.lang.NoClassDefFoundError: org/lwjgl/opengl/ARBDebugOutputCallback$Handler
	at java.base/java.lang.Class.forName0(Native Method)
	at java.base/java.lang.Class.forName(Class.java:375)
	at com.jme3.system.JmeDesktopSystem.newContextLwjgl(JmeDesktopSystem.java:199)

I couldn't deduce from the project what version of the lwjgl-opengl library you were using, but seeing you last touched this in 2017 I'm guessing it was 3.1.0, so I amended build.gradle as follows:

simon@oculist:~/workspace/SimArboreal-Editor$ git diff
diff --git a/build.gradle b/build.gradle
index ea72faf..937c774 100644
--- a/build.gradle
+++ b/build.gradle
@@ -11,6 +11,7 @@ applicationDefaultJvmArgs = ["-Xmx512m", "-XX:MaxDirectMemorySize=512m"]
 
 repositories {
     mavenLocal()
+    mavenCentral()^M
     jcenter()
     
     // Temporary until JME jars are in jcenter()   
@@ -38,6 +39,9 @@ dependencies {
     compile "org.jmonkeyengine:jme3-desktop:3.1.+" 
     compile "org.jmonkeyengine:jme3-effects:3.1.+" 
     compile "org.jmonkeyengine:jme3-lwjgl:3.1.+" 
+    ^M
+    compile "org.lwjgl:lwjgl:3.1.0"^M
+    compile "org.lwjgl:lwjgl-opengl:3.1.0"^M
      
     compile "com.simsilica:sim-arboreal:1.0.1-SNAPSHOT"
     runtime 'com.simsilica:sim-arboreal:1.0.1-SNAPSHOT:assets'
@@ -49,7 +53,7 @@ dependencies {
  
     compile "com.simsilica:pager:1.0.+"
     compile "com.simsilica:sim-fx:1.0.+"
-    runtime "com.simsilica:sim-fx:1.0.+:assets"
+    // runtime "com.simsilica:sim-fx:1.0.+:assets"^M
 
     compile 'org.meta-jb:meta-jb-json:1.0.1'
 
@@ -85,3 +89,19 @@ artifacts {
 }
 
+jar {^M
+    from(configurations.compile.collect { it.isDirectory() ? it : zipTree(it) }) {^M
+        exclude "META-INF/*.SF"^M
+        exclude "META-INF/*.DSA"^M
+        exclude "META-INF/*.RSA"^M
+    }^M
+^M
+    manifest {^M
+        attributes 'Implementation-Title': 'SimArboreal Editor',^M
+                'Implementation-Version': version,^M
+                'Built-By': System.getProperty('user.name'),^M
+                'Built-Date': new Date(),^M
+                'Built-JDK': System.getProperty('java.version'),^M
+                'Main-Class': mainClassName^M
+    }^M
+}
\ No newline at end of file

However, I'm still seeing the same break.

Any suggestions?

Crash immediately after launch: 'error running groovy compiled script'

As discussed in this thread on jMonkeyEngine Hub today.

Stacktrace as follows:

JAVA_HOME="/home/simon/bin/jmonkeyplatform/jdk"
cd /home/simon/workspace/SimArboreal-Editor; /home/simon/.gradle/wrapper/dists/gradle-8.3-rc-1-bin/3lbs5z64xhcdp1uarsx2vp16o/gradle-8.3-rc-1/bin/gradle --configure-on-demand -x check run
Configuration on demand is an incubating feature.

> Task :compileJava
Note: Some input files use or override a deprecated API.
Note: Recompile with -Xlint:deprecation for details.
Note: /home/simon/workspace/SimArboreal-Editor/src/main/java/com/simsilica/arboreal/FileActionsState.java uses unchecked or unsafe operations.
Note: Recompile with -Xlint:unchecked for details.

> Task :processResources
> Task :classes

> Task :run
SLF4J: Failed to load class "org.slf4j.impl.StaticLoggerBinder".
SLF4J: Defaulting to no-operation (NOP) logger implementation
SLF4J: See http://www.slf4j.org/codes.html#StaticLoggerBinder for further details.
Apr 20, 2024 9:03:17 PM com.jme3.system.JmeDesktopSystem initialize
INFO: Running on jMonkeyEngine 3.3.0-stable
 * Branch: HEAD
 * Git Hash: 391e0dc
 * Build Date: 2020-03-30
Apr 20, 2024 9:03:17 PM com.jme3.system.lwjgl.LwjglContext printContextInitInfo
INFO: LWJGL 2.9.3 context running on thread jME3 Main
 * Graphics Adapter: null
 * Driver Version: null
 * Scaling Factor: 1
Apr 20, 2024 9:03:17 PM com.jme3.renderer.opengl.GLRenderer loadCapabilitiesCommon
INFO: OpenGL Renderer Information
 * Vendor: Intel
 * Renderer: Mesa Intel(R) HD Graphics 5500 (BDW GT2)
 * OpenGL Version: 4.6 (Compatibility Profile) Mesa 22.3.6
 * GLSL Version: 4.60
 * Profile: Compatibility
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MeshLoader
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SkeletonLoader
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.MaterialLoader
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.ogre.SceneLoader
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.blender.BlenderModelLoader
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.fbx.FbxLoader
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.gltf.GltfLoader
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.gltf.BinLoader
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.scene.plugins.gltf.GlbLoader
Apr 20, 2024 9:03:18 PM com.jme3.asset.AssetConfig loadText
WARNING: Cannot find loader com.jme3.audio.plugins.OGGLoader
Apr 20, 2024 9:03:18 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
INFO: Audio Renderer Information
 * Device: OpenAL Soft
 * Vendor: OpenAL Community
 * Renderer: OpenAL Soft
 * Version: 1.1 ALSOFT 1.15.1
 * Supported channels: 64
 * ALC extensions: ALC_ENUMERATE_ALL_EXT ALC_ENUMERATION_EXT ALC_EXT_CAPTURE ALC_EXT_DEDICATED ALC_EXT_disconnect ALC_EXT_EFX ALC_EXT_thread_local_context ALC_SOFT_loopback
 * AL extensions: AL_EXT_ALAW AL_EXT_DOUBLE AL_EXT_EXPONENT_DISTANCE AL_EXT_FLOAT32 AL_EXT_IMA4 AL_EXT_LINEAR_DISTANCE AL_EXT_MCFORMATS AL_EXT_MULAW AL_EXT_MULAW_MCFORMATS AL_EXT_OFFSET AL_EXT_source_distance_model AL_LOKI_quadriphonic AL_SOFT_buffer_samples AL_SOFT_buffer_sub_data AL_SOFTX_deferred_updates AL_SOFT_direct_channels AL_SOFT_loop_points AL_SOFT_source_latency
Apr 20, 2024 9:03:18 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
WARNING: Pausing audio device not supported.
Apr 20, 2024 9:03:18 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
INFO: Audio effect extension version: 1.0
Apr 20, 2024 9:03:18 PM com.jme3.audio.openal.ALAudioRenderer initOpenAL
INFO: Audio max auxiliary sends: 4
Apr 20, 2024 9:03:19 PM com.jme3.app.LegacyApplication handleError
SEVERE: Uncaught exception thrown in Thread[jME3 Main,5,main]
java.lang.RuntimeException: Error running:org.codehaus.groovy.jsr223.GroovyCompiledScript@3b1101e4 from:resource:/com/simsilica/lemur/style/StyleApi.groovy
	at com.simsilica.lemur.style.StyleLoader.initializeApi(StyleLoader.java:134)
	at com.simsilica.lemur.style.StyleLoader.loadStyle(StyleLoader.java:170)
	at com.simsilica.lemur.style.StyleLoader.loadStyle(StyleLoader.java:162)
	at com.simsilica.lemur.style.BaseStyles.loadStyleResources(BaseStyles.java:78)
	at com.simsilica.lemur.style.BaseStyles.loadGlassStyle(BaseStyles.java:62)
	at com.simsilica.arboreal.TreeEditor.simpleInitApp(TreeEditor.java:149)
	at com.jme3.app.SimpleApplication.initialize(SimpleApplication.java:239)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.initInThread(LwjglAbstractDisplay.java:130)
	at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:211)
	at java.base/java.lang.Thread.run(Thread.java:833)
Caused by: javax.script.ScriptException: java.lang.reflect.InaccessibleObjectException: Unable to make private java.lang.Class(java.lang.ClassLoader,java.lang.Class) accessible: module java.base does not "opens java.lang" to unnamed module @6f29c911
	at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:355)
	at org.codehaus.groovy.jsr223.GroovyCompiledScript.eval(GroovyCompiledScript.java:72)
	at java.scripting/javax.script.CompiledScript.eval(CompiledScript.java:93)
	at com.simsilica.lemur.style.StyleLoader.initializeApi(StyleLoader.java:132)
	... 9 more
Caused by: java.lang.reflect.InaccessibleObjectException: Unable to make private java.lang.Class(java.lang.ClassLoader,java.lang.Class) accessible: module java.base does not "opens java.lang" to unnamed module @6f29c911
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:354)
	at java.base/java.lang.reflect.AccessibleObject.checkCanSetAccessible(AccessibleObject.java:297)
	at java.base/java.lang.reflect.Constructor.checkCanSetAccessible(Constructor.java:188)
	at java.base/java.lang.reflect.Constructor.setAccessible(Constructor.java:181)
	at org.codehaus.groovy.reflection.CachedConstructor$1.run(CachedConstructor.java:44)
	at java.base/java.security.AccessController.doPrivileged(AccessController.java:318)
	at org.codehaus.groovy.reflection.CachedConstructor.<init>(CachedConstructor.java:42)
	at org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:79)
	at org.codehaus.groovy.reflection.CachedClass$2.initValue(CachedClass.java:69)
	at org.codehaus.groovy.util.LazyReference.getLocked(LazyReference.java:49)
	at org.codehaus.groovy.util.LazyReference.get(LazyReference.java:36)
	at org.codehaus.groovy.reflection.CachedClass.getConstructors(CachedClass.java:268)
	at groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:218)
	at groovy.lang.MetaClassImpl.<init>(MetaClassImpl.java:228)
	at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createNormalMetaClass(MetaClassRegistry.java:171)
	at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.createWithCustomLookup(MetaClassRegistry.java:161)
	at groovy.lang.MetaClassRegistry$MetaClassCreationHandle.create(MetaClassRegistry.java:144)
	at org.codehaus.groovy.reflection.ClassInfo.getMetaClassUnderLock(ClassInfo.java:253)
	at org.codehaus.groovy.reflection.ClassInfo.getMetaClass(ClassInfo.java:285)
	at org.codehaus.groovy.runtime.metaclass.MetaClassRegistryImpl.getMetaClass(MetaClassRegistryImpl.java:257)
	at groovy.lang.MetaClassImpl.pickStaticMethod(MetaClassImpl.java:1514)
	at groovy.lang.MetaClassImpl.retrieveStaticMethod(MetaClassImpl.java:1404)
	at groovy.lang.MetaClassImpl.createStaticSite(MetaClassImpl.java:3383)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallStaticSite(CallSiteArray.java:77)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.createCallSite(CallSiteArray.java:162)
	at org.codehaus.groovy.runtime.callsite.CallSiteArray.defaultCall(CallSiteArray.java:48)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:113)
	at org.codehaus.groovy.runtime.callsite.AbstractCallSite.call(AbstractCallSite.java:125)
	at Script1.run(Script1.groovy:44)
	at org.codehaus.groovy.jsr223.GroovyScriptEngineImpl.eval(GroovyScriptEngineImpl.java:352)
	... 12 more


Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.

You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.

For more on this, please refer to https://docs.gradle.org/8.3-rc-1/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.

BUILD SUCCESSFUL in 21s
3 actionable tasks: 3 executed

I hope you can make some sense of this!

model parameter changes always result in NPE

using the latest release, whenever I change a model parameter, like enabling leaves, an NPE is thrown. Win 10 amd64, oracle jdk 10.0.1.

SCHWERWIEGEND: Uncaught exception thrown in Thread[LWJGL Renderer Thread,5,main]
java.lang.NullPointerException
at com.jme3.util.BufferUtils.destroyDirectBuffer(BufferUtils.java:1298)
at com.jme3.util.BufferUtils.destroyDirectBuffer(BufferUtils.java:1303)
at com.simsilica.arboreal.TreeBuilderReference.releaseMesh(TreeBuilderReference.java:289)
at com.simsilica.arboreal.TreeBuilderReference.releaseGeometry(TreeBuilderReference.java:280)
at com.simsilica.arboreal.TreeBuilderReference$LevelGeometry.release(TreeBuilderReference.java:502)
at com.simsilica.arboreal.TreeBuilderReference.apply(TreeBuilderReference.java:243)
at com.simsilica.builder.Builder.applyUpdates(Builder.java:274)
at com.simsilica.builder.BuilderState.update(BuilderState.java:100)
at com.jme3.app.state.AppStateManager.update(AppStateManager.java:287)
at com.jme3.app.SimpleApplication.update(SimpleApplication.java:239)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.runLoop(LwjglAbstractDisplay.java:151)
at com.jme3.system.lwjgl.LwjglDisplay.runLoop(LwjglDisplay.java:185)
at com.jme3.system.lwjgl.LwjglAbstractDisplay.run(LwjglAbstractDisplay.java:228)
at java.base/java.lang.Thread.run(Thread.java:844)

03:39:45,666 INFO [MeshBuilder] Creating a mesh with:6020 vertexes and:10488 triangles.

Exception: java.lang.NullPointerException thrown from the UncaughtExceptionHandler in thread "LWJGL Renderer Thread"
AL lib: (EE) alc_cleanup: 1 device not closed

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.