Releases: glimpse-graphics/glimpse
Releases · glimpse-graphics/glimpse
v2.0.0-alpha.3
Includes all changes from v2.0.0-alpha.1 and v2.0.0-alpha.2.
Added
- Add curves and surfaces to geometry library
v2.0.0-alpha.2
v2.0.0-alpha.1
Added
Doublebuffer data wrapper:DoubleBufferData- Extension functions
VecN<Int>.toIntArray() - Extension functions
VecN<Long>.toLongArray() - Extension functions
VecN<Double>.toDoubleArray() - Method
Mat.toList(), returning elements of the matrix - Extension function
BaseMat<Double, M, V>.toDoubleArray() - Add support for
Intvectors to@Uniformannotation - Buffers for uniform data:
IntUniformBuffer,FloatUniformBuffer - Add support for
IntUniformBufferandFloatUniformBufferto@Uniformannotation - Add
Vec2.cross(Vec2): Vec3method - Methods:
Vec2.magnitude(),Vec3.magnitude(),Vec2.normalize(),Vec3.normalize() - Extension functions:
Color.toVec3(),Color.toVec4(),Int.toVec3(),Int.toVec4() - Extension functions:
Vec3.toColor(),Vec4.toColor(),Vec3.toColorInt(),vec4.toColorInt(),Vec3.toComposeColor(),Vec4.toComposeColor() - Generating 1x1 texture from
Vec3orVec4 - Texture pixel type:
HALF_FLOAT - Texture pixel formats:
DEPTH_STENCIL,REDandRG - Texture internal formats:
RGB32FandRGBA32F - Glimpse geometry library with basic geometric shapes
- Glimpse testing library with delta assertions
Changed
- BREAKING CHANGE: Add parameter type
T : NumbertoAngleandAngleRange - BREAKING CHANGE: Add parameter type
T : NumbertoVecand all inheriting types - BREAKING CHANGE: Method
Vec.toFloatArray()replaced with a set of extension functionsVecN<Float>.toFloatArray() - BREAKING CHANGE: Add parameter type
T : NumbertoMatand all inheriting types - BREAKING CHANGE: Method
Mat.toFloatArray()replaced with a set of extension functionsBaseMat<Float, M, V>.toFloatArray() - BREAKING CHANGE: Property
BaseMat.elementsis now protected (useMat.toList()instead) - BREAKING CHANGE: Add parameter type
T : NumbertoCameraand its implementations - BREAKING CHANGE: Add parameter type
T : NumbertoLensand its implementations - BREAKING CHANGE: Rename
EmptyTexturePresetstoTexturePresets - BREAKING CHANGE: Support for multiple color framebuffer attachments
- Use ear clipping method to triangulate faces added to
MeshDataBuilder - Minimum Android API level 21
- Upgrade to OpenGL ES 3.1
- Upgrade Gradle Wrapper to
8.1 - Dependencies:
- Upgrade Kotlin to
1.8.20 - Upgrade KSP to
1.8.20-1.0.11 - Upgrade JetBrains Compose for Desktop to
1.4.0 - Upgrade Android Gradle Plugin to
7.4.2 - Upgrade JogAmp to
2.4.0 - Upgrade
kotlinx-coroutines-androidto1.6.4 - Upgrade
androidx.appcompat:appcompatto1.6.1 - Upgrade
com.google.android.material:materialto1.8.0 - Upgrade
androidx.annotation:annotationto1.6.0 - Upgrade
activity-composeto1.7.1 - Upgrade
kotlinpoetto1.13.0 - Upgrade
slf4j-apito2.0.7 - Upgrade
logback-coreto1.4.7 - Upgrade
logback-classicto1.4.7 - Upgrade
mockkto1.13.5 - Upgrade
detekt-gradle-pluginto1.22.0 - Upgrade
org.jetbrains.changelogto2.0.0 - Upgrade
org.jetbrains.dokkato1.8.10
- Upgrade Kotlin to
Deprecated
- Functions:
magnitude(Vec2),magnitude(Vec3),normalize(Vec2),normalize(Vec3) - Functions:
Vec3(Color),Vec4(Color),Vec3(@ColorInt Int),Vec4(@ColorInt Int)
Removed
- Method
ProgramExecutor.dispose()without parameters
v1.2.1
v1.2.0
Added
- Utilities for rendering HUD-style 2D elements on top of 3D scene
- Build
TextureImageSourcefromBufferedImage - Build
TextureImageSourcecontaining text - Properties
widthandheightinTextureImageSourceandTexture @Sampler2Dannotation that can be used to annotate shader parameters
properties of types:TextureArray<Texture>Iterable<Texture>
- Method
GlimpseAdapter.glVSync(VSync), setting V-sync mode (if supported) - Automatic module names for Java 9 (desktop and processor)
Changed
@Uniformcan no longer be used to annotate properties of typeTexture
(@Sampler2Dshould be used instead)- Upgrade Gradle Wrapper to
7.5 - Dependencies:
- Upgrade Kotlin to
1.7.20 - Upgrade KSP to
1.7.20-1.0.8 - Upgrade JetBrains Compose for Desktop to
1.2.1 - Upgrade Android Gradle Plugin to
7.2.1 - Upgrade
kotlinx-coroutines-androidto1.6.3-native-mt - Upgrade
androidx.appcompat:appcompatto1.5.1 - Upgrade
com.google.android.material:materialto1.7.0 - Upgrade
androidx.annotation:annotationto1.5.0 - Upgrade
activity-composeto1.5.0 - Upgrade
kotlinpoetto1.12.0 - Upgrade
slf4j-apito2.0.3 - Upgrade
logback-coreto1.4.4 - Upgrade
logback-classicto1.4.4 - Upgrade
mockkto1.13.2 - Upgrade
detekt-gradle-pluginto1.21.0 - Upgrade
org.jetbrains.dokkato1.7.10
- Upgrade Kotlin to
Deprecated
- Usage of method
ProgramExecutor.dispose()without parameters will be reported as an error
Removed
- Remove Kapt processors (
glimpse-processor-javaandglimpse-processor-kotlin).
Use KSP processor instead (glimpse-processor-ksp)
Fixed
- Apply correct unpack pixel alignment for texture data before calling
glTexImage2D() - Remove misleading error after deleting program or shader
v1.1.0
Added
- Support for
Booleanuniform shader parameters
(uniform value in shader is still anInt, with a value ofGL_TRUEorGL_FALSE):- Method
GlimpseAdapter.glUniform(Int, Boolean) - Method
BaseProgramExecutor.glUniform(GlimpseAdapter, String, Boolean)
- Method
- Method
ProgramExecutor.dispose(GlimpseAdapter), disposing also referencedProgram - Support for framebuffers
- Support bitangents shader attribute
- Additional parameters in composable
GlimpseView:modifier– the modifier to be applied to the layoutonClick– called when the view has been clickedupdate– the callback to be invoked after the layout is inflated
- Composable
GlimpseViewfunction with separate functional parameters instead ofcallback - Utility functions for creating
Vec3andVec4from Jetpack ComposeColor - Method
Vec2.dot(Vec2) - Method
Vec2.atan() - Method
Mat3.toMat2() - Method
Mat4.toMat2() - Factory function
Vec2.fromPolarCoordinates(Float, Angle) - Constants:
Vec2.nullVectorVec2.unitXVec2.unitY
- KSP processor for shader parameters
Changed
- Set texture parameters in texture builder
- Make Kapt processors incremental (isolating)
- Change target JVM to Java 11
- Upgrade Gradle Wrapper to
7.4.2 - Dependencies:
- Upgrade Kotlin to
1.6.10 - Upgrade KSP to
1.6.10-1.0.4 - Upgrade JetBrains Compose for Desktop to
1.1.1 - Upgrade Android Gradle Plugin to
7.0.4 - Upgrade
kotlinx-coroutines-androidto1.6.1-native-mt - Upgrade
androidx.appcompat:appcompatto1.4.1 - Upgrade
com.google.android.material:materialto1.5.0 - Upgrade
androidx.annotation:annotationto1.3.0 - Upgrade
activity-composeto1.4.0 - Upgrade
kotlinpoetto1.11.0 - Upgrade
slf4j-apito1.7.36 - Upgrade
logback-coreto1.2.11 - Upgrade
logback-classicto1.2.11 - Upgrade
mockkto1.12.3 - Upgrade
detekt-gradle-pluginto1.19.0 - Upgrade
org.jetbrains.changelogto1.3.1 - Upgrade
org.jetbrains.dokkato1.6.20
- Upgrade Kotlin to
Deprecated
- Method
ProgramExecutor.dispose()without parameters
Removed
- BREAKING CHANGE: Remove
zOrderOnTopfromGlimpseViewcomposable function.
CallzOrderOnTop = …insideupdateblock instead.
Fixed
- Fix bitangent calculations
- Correct implementation of
toString()for buffer data objects
v1.1.0-BETA1
Added
- Support for
Booleanuniform shader parameters
(uniform value in shader is still anInt, with a value ofGL_TRUEorGL_FALSE):- Method
GlimpseAdapter.glUniform(Int, Boolean) - Method
BaseProgramExecutor.glUniform(GlimpseAdapter, String, Boolean)
- Method
- Method
ProgramExecutor.dispose(GlimpseAdapter), disposing also referencedProgram - Support for framebuffers
- Support bitangents shader attribute
- Additional parameters in composable
GlimpseView:modifier– the modifier to be applied to the layoutonClick– called when the view has been clickedupdate– the callback to be invoked after the layout is inflated
- Composable
GlimpseViewfunction with separate functional parameters instead ofcallback - Utility functions for creating
Vec3andVec4from Jetpack ComposeColor - Method
Vec2.dot(Vec2) - Method
Vec2.atan() - Method
Mat3.toMat2() - Method
Mat4.toMat2() - Factory function
Vec2.fromPolarCoordinates(Float, Angle) - Constants:
Vec2.nullVectorVec2.unitXVec2.unitY
- KSP processor for shader parameters
Changed
- Set texture parameters in texture builder
- Make Kapt processors incremental (isolating)
- Change target JVM to Java 11
- Upgrade Gradle Wrapper to
7.4.2 - Dependencies:
- Upgrade Kotlin to
1.6.10 - Upgrade KSP to
1.6.10-1.0.4 - Upgrade JetBrains Compose for Desktop to
1.1.1 - Upgrade Android Gradle Plugin to
7.0.4 - Upgrade
kotlinx-coroutines-androidto1.6.1-native-mt - Upgrade
androidx.appcompat:appcompatto1.4.1 - Upgrade
com.google.android.material:materialto1.5.0 - Upgrade
androidx.annotation:annotationto1.3.0 - Upgrade
activity-composeto1.4.0 - Upgrade
kotlinpoetto1.11.0 - Upgrade
slf4j-apito1.7.36 - Upgrade
logback-coreto1.2.11 - Upgrade
logback-classicto1.2.11 - Upgrade
mockkto1.12.3 - Upgrade
detekt-gradle-pluginto1.19.0 - Upgrade
org.jetbrains.changelogto1.3.1 - Upgrade
org.jetbrains.dokkato1.6.20
- Upgrade Kotlin to
Deprecated
- Method
ProgramExecutor.dispose()without parameters
Removed
- BREAKING CHANGE: Remove
zOrderOnTopfromGlimpseViewcomposable function.
CallzOrderOnTop = …insideupdateblock instead.
Fixed
- Fix bitangent calculations
- Correct implementation of
toString()for buffer data objects
v1.1.0-ALPHA3
Fixed
- Fix bitangent calculations
- Correct implementation of
toString()for buffer data objects
v1.1.0-ALPHA2
Added
- Support bitangents shader attribute
Changed
- Set texture parameters in texture builder
- Dependencies:
- Upgrade
slf4j-apito1.7.33 - Upgrade
org.jetbrains.dokkato1.6.10 - Upgrade
androidx.appcompat:appcompatto1.4.1 - Upgrade
com.google.android.material:materialto1.5.0
- Upgrade
v1.1.0-ALPHA1
Added
- Support for
Booleanuniform shader parameters
(uniform value in shader is still anInt, with a value ofGL_TRUEorGL_FALSE):- Method
GlimpseAdapter.glUniform(Int, Boolean) - Method
BaseProgramExecutor.glUniform(GlimpseAdapter, String, Boolean)
- Method
- Method
ProgramExecutor.dispose(GlimpseAdapter), disposing also referencedProgram - Support for framebuffers
- Additional parameters in composable
GlimpseView:modifier– the modifier to be applied to the layoutonClick– called when the view has been clickedupdate– the callback to be invoked after the layout is inflated
- Composable
GlimpseViewfunction with separate functional parameters instead ofcallback - Utility functions for creating
Vec3andVec4from Jetpack ComposeColor - KSP processor for shader parameters
Changed
- Make Kapt processors incremental (isolating)
- Change target JVM to Java 11
- Upgrade Gradle Wrapper to
7.3.2 - Dependencies:
- Upgrade Kotlin to
1.6.10 - Upgrade JetBrains Compose for Desktop to
1.0.1 - Upgrade Android Gradle Plugin to
7.0.4 - Upgrade
org.jetbrains.dokkato1.6.0 - Upgrade
kotlinpoetto1.10.2 - Upgrade
androidx.annotation:annotationto1.3.0 - Upgrade
mockkto1.12.2 - Upgrade
activity-composeto1.4.0 - Upgrade
kotlinx-coroutines-androidto1.6.0-native-mt - Upgrade
slf4j-apito1.7.32 - Upgrade
logback-coreto1.2.10 - Upgrade
logback-classicto1.2.10 - Upgrade
androidx.appcompat:appcompatto1.4.0 - Upgrade
com.google.android.material:materialto1.4.0 - Upgrade
detekt-gradle-pluginto1.19.0 - Upgrade
org.jetbrains.changelogto1.3.1
- Upgrade Kotlin to
Deprecated
- Method
ProgramExecutor.dispose()without parameters
Removed
- BREAKING CHANGE: Remove
zOrderOnTopfromGlimpseViewcomposable function.
CallzOrderOnTop = …insideupdateblock instead.