Skip to content

Commit

Permalink
post-release fixup
Browse files Browse the repository at this point in the history
  • Loading branch information
stephengold committed Mar 28, 2024
1 parent 16ac763 commit 405ae51
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 11 deletions.
30 changes: 24 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ MonkeyWrench comes pre-built as a single library that depends on:
+ jme3-core,
+ jme3-desktop,
+ jme3-lwjgl3,
+ [imageio-tga][twelve],
+ [imageio-webp][twelve],
+ [Heart], and
+ [Wes].
Expand All @@ -72,7 +73,7 @@ Add to the project’s "build.gradle" file:
mavenCentral()
}
dependencies {
implementation 'com.github.stephengold:MonkeyWrench:0.5.3'
implementation 'com.github.stephengold:MonkeyWrench:0.6.0'
}

For some older versions of Gradle,
Expand All @@ -92,7 +93,7 @@ Add to the project’s "pom.xml" file:
<dependency>
<groupId>com.github.stephengold</groupId>
<artifactId>MonkeyWrench</artifactId>
<version>0.5.3</version>
<version>0.6.0</version>
</dependency>

### Configuring the asset manager
Expand Down Expand Up @@ -194,6 +195,8 @@ In this context, format strings have the following semantics:
the name of the folder from which the main asset was loaded
+ "%2$s" is replaced by the texture's base name
+ "%3$s" is replaced by the texture's extension
+ "%4$s" is replaced by the name of the main asset with its extension removed
+ "%5$s" is replaced by the texture's base name converted to lowercase

For example, if the main asset was loaded using

Expand All @@ -207,8 +210,10 @@ For example, if the main asset was loaded using
and the stored filename is "C:\My Documents\UV_Barn_Assets.psd", then

+ "%1$s" will be replaced by "source/",
+ "%2$s" will be replaced by "UV_Barn_Assets", and
+ "%3$s" will be replaced by ".psd".
+ "%2$s" will be replaced by "UV_Barn_Assets",
+ "%3$s" will be replaced by ".psd",
+ "%4$s" will be replaced by "source/diorama", and
+ "%5$s" will be replaced by "uv_barn_assets".

MonkeyWrench will try the following filenames, in sequence:

Expand Down Expand Up @@ -243,7 +248,7 @@ only if no texture is found at any of those filenames.
+ using [Git]:
+ `git clone https://github.com/stephengold/MonkeyWrench.git`
+ `cd MonkeyWrench`
+ `git checkout -b latest 0.5.3`
+ `git checkout -b latest 0.6.0`
+ using a web browser:
+ browse to [the latest release][latest]
+ follow the "Source code (zip)" link
Expand Down Expand Up @@ -311,6 +316,8 @@ You can run it from the command line:
+ using Bash or Fish or PowerShell or Zsh: `./gradlew CompareLoaders`
+ using Windows Command Prompt: `.\gradlew CompareLoaders`

#### Test data

The first time CompareLoaders is run,
the buildscript downloads about 230 MBytes of test data from maven.org .
On subsequent runs, startup should go more quickly.
Expand All @@ -323,6 +330,14 @@ These data (about 10 MBytes) can be installed using Bash and [Git]:
+ `git clone https://github.com/assimp/assimp-mdb.git`
+ `cd ../CompareLoaders`

The application also looks for (optional) test data in
"../ext/glTF-Sample-Assets" relative to the project root.
These data (about 1.9 GBytes) can be installed using Bash and [Git]:
+ `mkdir -p ../ext`
+ `cd ../ext`
+ `git clone https://github.com/KhronosGroup/glTF-Sample-Assets.git`
+ `cd ../CompareLoaders`

The application also looks for (optional) test data in
"../ext/glTF-Sample-Models" relative to the project root.
These data (about 3.7 GBytes) can be installed using Bash and [Git]:
Expand All @@ -336,7 +351,9 @@ from the Amazon Lumberyard:
+ using Bash or Fish or PowerShell or Zsh: `./gradlew bistro`
+ using Windows Command Prompt: `.\gradlew bistro`

The application opens a window and displays status using 7 lines of text
#### Test status

The application opens a window and displays status using 8 lines of text
in its upper left corner.

<img height="400" src="https://i.imgur.com/Xl1luE4.png"
Expand All @@ -358,6 +375,7 @@ The status lines indicate:
+ which animation (if any) in the loaded assets (if any) is running
+ which material(s) in the loaded assets (if any) are rendered
+ the brightness of the ambient light source
+ whether hardware (GPU) skinning is used

#### User controls

Expand Down
6 changes: 3 additions & 3 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ plugins {
}

ext {
//wrenchSnapshot = '-SNAPSHOT' // for development builds
wrenchSnapshot = '' // for release builds
wrenchSnapshot = '-SNAPSHOT' // for development builds
//wrenchSnapshot = '' // for release builds

jmeTarget = '' // distinguish non-JME libraries built for specific JME releases

Expand All @@ -27,7 +27,7 @@ ext {
//lwjglVersion = '3.3.3'
//lwjglVersion = '3.3.4-SNAPSHOT'

wrenchVersion = '0.6.0' + jmeTarget
wrenchVersion = '0.6.1' + jmeTarget
}

subprojects {
Expand Down
2 changes: 1 addition & 1 deletion lib/release-log.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# release log for the MonkeyWrench library

## Version 0.6.0 released on TBD
## Version 0.6.0 released on 28 March 2024

+ Bugfix: memory leak if `aiImportFileEx()` returns `null`
+ Bugfix: `NullPointerException` in `modifyTextureCoordinates()`
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -282,6 +282,6 @@ public static Spatial readCgm(
* @return a release name or a snapshot name (not null, not empty)
*/
public static String version() {
return "0.6.0";
return "0.6.1-SNAPSHOT";
}
}

0 comments on commit 405ae51

Please sign in to comment.