POV-Ray : Newsgroups : povray.binaries.images : Gancaloon - urbanism wip : Re: Gancaloon - urbanism wip2: workflow Server Time
30 Jul 2024 20:24:22 EDT (-0400)
  Re: Gancaloon - urbanism wip2: workflow  
From: Thomas de Groot
Date: 5 Aug 2011 08:24:56
Message: <4e3be118$1@news.povray.org>
For those interested, this is the workflow I have developed to achieve 
this view:

/*------------------------------------------------------------------------------------
The urbanism is not detailed and only meant as illusion of a crowded 
cityscape.
Follow this workflow (adapt details as needed):
1.  In e.g. GIMP draw a city block bitmap layer following a street 
pattern layer.
2.  Export the bitmap and scale it up 10x.
3.  Add additional features according to need.
4.  Import the bitmap in Inkscape
5.  Apply Filters/Blurs/Blur content
6.  Apply Trace Bitmap with (e.g.):
           Brightness Cutoff = 0.500
           Suppress Speckles: size 2
           Smooth Corners: threshold 0.40
           Optimize Paths: tolerance 0.20
7.  Apply Paths/Simplify if needed
8.  Save as POV file (if you want to keep the svg file, save it as well)
9.  Open in POV-Ray and change the object{} content as needed:
     scale x an z by 1/10; scale up y; add textures; etc
10. translate to correct position, first by centering the object (use 
dimensions given
     in the file) then by trial and error until correct (use an 
orthographic vertical view)
     and apply the intersection with the cutoff function you have 
created from a height_field
     and additional functions
---------------------------------------------------------------------------------------*/

Thomas


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.