Skip to content

Revert GeometricZoom formula to original, set default to 1 #82

@jimbojw

Description

@jimbojw

Currently, the GeometricZoom attribute, like all Sprite attributes, defaults to zero. To make this work, the formula used in the shader is this:

currentSizeWorld * exp(log(scale) * (1. - currentGeometricZoom))

Instead, the formula should match Benjamin Schmidt's original implementation:

currentSizeWorld * exp(log(scale) * currentGeometricZoom)

To do this, the GeometricZoom attribute needs to default to a value of 1, rather than 0. See #81

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions