Bump OPENRNDR to 0.3.37
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
package org.openrndr.poissonfill
|
||||
|
||||
import org.openrndr.draw.*
|
||||
import org.openrndr.filter.blend.subtract
|
||||
import org.openrndr.extra.fx.blend.Passthrough
|
||||
import org.openrndr.extra.fx.blend.Subtract
|
||||
import org.openrndr.resourceUrl
|
||||
|
||||
internal class BlendBoundary : Filter(filterShaderFromUrl(resourceUrl("/shaders/gl3/poisson/blend-boundary.frag")))
|
||||
@@ -19,6 +20,9 @@ internal class Clamp : Filter(filterShaderFromUrl(resourceUrl("/shaders/gl3/pois
|
||||
var maxValue: Double by parameters
|
||||
}
|
||||
|
||||
private val passthrough by lazy { Passthrough() }
|
||||
private val subtract by lazy { Subtract() }
|
||||
|
||||
class PoissonBlender(width: Int, height: Int, type: ColorType = ColorType.FLOAT32) {
|
||||
private val pyramid = ConvolutionPyramid(width, height, 0, type = type)
|
||||
private val preprocess = colorBuffer(width, height, type = type)
|
||||
|
||||
Reference in New Issue
Block a user