Global Mapper v25.0

Create Custom Shader via Script

alpinekarst
alpinekarst Global Mapper User
edited September 2010 in GM Script Language
Is there a way to create a custom shader via the scripting commands? I am processing multiple grids with a corresponding CLR file defining the desired shader values & colors.

Ideally I'd like to be able to:
1. create a custom (temporary) shader by loading a clr
2. load/render/export a grid
3. remove the shader.
4. repeat for next grid.

From, what I can tell, this is not currently supported through scripting.

Thanks.

Comments

  • global_mapper
    global_mapper Administrator
    edited September 2010
    That is correct, there is not currently a way to add a new custom shader via the scripting language. You would have to move to the SDK to be able to programmatically create a custom elevation shader. See the Developers page at http://www.globalmapper.com for details on the SDK.

    Let me know if I can be of further assistance.

    Thanks,

    Mike
    Global Mapper Support
    support@globalmapper.com