diff --git a/README.md b/README.md index b25d671a..ea7f6541 100644 --- a/README.md +++ b/README.md @@ -152,7 +152,7 @@ Advanced example that uses sub passes and input attachments to write and read ba Basic offscreen rendering in two passes. First pass renders the mirrored scene to a separate framebuffer with color and depth attachments, second pass samples from that color attachment for rendering a mirror surface. -#### [CPU particle system](examples/particlefire/) +#### [CPU particle system](examples/particlesystem/) Implements a simple CPU based particle system. Particle data is stored in host memory, updated on the CPU per-frame and synchronized with the device before it's rendered using pre-multiplied alpha. diff --git a/android/examples/particlefire/CMakeLists.txt b/android/examples/particlesystem/CMakeLists.txt similarity index 97% rename from android/examples/particlefire/CMakeLists.txt rename to android/examples/particlesystem/CMakeLists.txt index f107918e..6f02a2f8 100644 --- a/android/examples/particlefire/CMakeLists.txt +++ b/android/examples/particlesystem/CMakeLists.txt @@ -1,6 +1,6 @@ cmake_minimum_required(VERSION 3.4.1 FATAL_ERROR) -set(NAME particlefire) +set(NAME particlesystem) set(SRC_DIR ../../../examples/${NAME}) set(BASE_DIR ../../../base) diff --git a/android/examples/particlefire/build.gradle b/android/examples/particlesystem/build.gradle similarity index 91% rename from android/examples/particlefire/build.gradle rename to android/examples/particlesystem/build.gradle index 4b264e5c..054da9c9 100644 --- a/android/examples/particlefire/build.gradle +++ b/android/examples/particlesystem/build.gradle @@ -4,7 +4,7 @@ apply from: '../gradle/outputfilename.gradle' android { compileSdkVersion rootProject.ext.compileSdkVersion defaultConfig { - applicationId "de.saschawillems.vulkanParticlefire" + applicationId "de.saschawillems.vulkanParticlesystem" minSdkVersion rootProject.ext.minSdkVersion targetSdkVersion rootProject.ext.targetSdkVersion versionCode 1 @@ -49,8 +49,8 @@ task copyTask { } copy { - from rootProject.ext.shaderPath + 'glsl/particlefire' - into 'assets/shaders/glsl/particlefire' + from rootProject.ext.shaderPath + 'glsl/particlesystem' + into 'assets/shaders/glsl/particlesystem' include '*.*' } diff --git a/android/examples/particlefire/src/main/AndroidManifest.xml b/android/examples/particlesystem/src/main/AndroidManifest.xml similarity index 94% rename from android/examples/particlefire/src/main/AndroidManifest.xml rename to android/examples/particlesystem/src/main/AndroidManifest.xml index c8f97268..4c7d04e4 100644 --- a/android/examples/particlefire/src/main/AndroidManifest.xml +++ b/android/examples/particlesystem/src/main/AndroidManifest.xml @@ -1,6 +1,6 @@ + package="de.saschawillems.vulkanParticlesystem">