|
|
> Here ya go.
>
> Pay attention to the data format (see comments)
>
> Needs scaling to fit (a) on the screen better and (b) on top of your image to
> match locations
>
> Better code would have methods built in to catch and reject erroneous data, etc.
>
> But here are the basics.
>
> =========================================================================
>
> // Persistence of Vision Ray Tracer version 3.7
> // Scene Description Language (SDL)
> // File: Latitude / Longitude Mapping
> // Version: 1.0
> // Last updated: 29-Mar-2017
> // Description: Read Latitude and Longitude from file and connect points on
> map
> //
> // Author: Bill Walker "Bald Eagle", 2017
> // email: see posts in news.povray.org
> //
> //------------------------------------------------------------------------
>
> #version 3.7;
>
> global_settings {
> assumed_gamma 1.0
> #default {texture {pigment {rgb <1, 1, 1>} finish {ambient 1}}}
> ambient_light rgb <1, 1, 1> // <======== flat, even illumination
> }
>
This is the default value for ambient_lights. So, it's prety useless for
what you want to do.
Beter to use :
#default{finish{ambient 1 diffuse 0}}
This statement is not a in it's place inside the global_settings block.
Even beter. Don't play with ambient, but, instead, use the +q0 switch.
With that switch, all lights are ignored, as well as reflections and
refraction, only full ambient pigments are used.
You also get the advantage that it render faster.
Post a reply to this message
|
|