Page 1 of 2

Export Contours

PostPosted: Fri Jun 06, 2008 5:07 pm
by Rummy
Aaron, is there anyway to export those nice contour lines L3dt produces?

PostPosted: Tue Jun 10, 2008 12:07 pm
by Aaron
Hi Rummy,

Sorry, at the moment the answer is "no". I'll put it on the plugin to-do list if you like.

Cheers,
Aaron.

PostPosted: Tue Jun 10, 2008 2:06 pm
by Rummy
That'd be great. I actually find your program useful in my day job (archaeologist). Building 3d worlds from DEM is much easier with your program than with the higher priced stuff (arcview). The new georeference plugin makes it even more so.

Would they be exportable as vector or raster? I see uses for both :) .

PostPosted: Thu Nov 18, 2010 9:49 am
by 3rd Heiko
Is this feature still in the pipeline? For the maps I'm working on, contour lines are very important and I still haven't found an easy way to generate them (it's even more frustrating to see them in l3dt but not being able to export them;)).
I'd be very grateful if you could implement an exporter.

Keep up the great work!

Cheers,
Heiko

PostPosted: Thu Nov 18, 2010 8:03 pm
by lmaceleighton
For contour lines I just take a screenshot, and then open in an image editor to trim off the stuff not needed.

PostPosted: Thu Nov 18, 2010 11:12 pm
by 3rd Heiko
lmaceleighton wrote:For contour lines I just take a screenshot, and then open in an image editor to trim off the stuff not needed.

thanks for the tip, but the pictures I need them for are 8k x 8k, so unfortunately screenshots can't really solve the problem.

PostPosted: Fri Nov 19, 2010 4:41 am
by lmaceleighton
Hmmm, works fine for what I use it for. What is the use of the contour-maps, them selves, is this just to show degrees of height, as you would see on a topographical map? Just curios, I still might be able to help until something better comes along, sometimes you have to hand edit maps, and I paint my height-maps by hand. I might be able to help, and I work for credit for Independent devs getting off the ground:O)

PostPosted: Sat Nov 20, 2010 5:27 am
by Telarus
I'm pretty sure we could do this with a custom Climate setup. Let me think about it.

PostPosted: Sat Nov 20, 2010 1:39 pm
by 3rd Heiko
@lmaceleighton Thanks a lot for the offer, but with my workflow here I have to do it myself (+ I'm pretty sure you don't want to do this every second week for credit :wink: )

@Telarus Sounds nice. If there even was a way to customize the interval l3dt would be perfect for me.

PostPosted: Tue Nov 30, 2010 11:46 am
by Aaron
Hi All,

I apologise for the delay in implementing this feature. I'll try to include it in the next major release.

I'm pretty sure we could do this with a custom Climate setup


Sorry, I doubt that would would work as intended. You'll get gaps in the contour lines on steep terrain, and on flat terrain the contour lines may be more than one pixel wide. The contour line algorithm uses some nearest-neighbour tests that aren't supported by the climate algorithm.

Best regards,
Aaron.

PostPosted: Tue Nov 30, 2010 1:30 pm
by 3rd Heiko
aaron wrote:I apologise for the delay in implementing this feature. I'll try to include it in the next major release.


Great! Thanks Aaron.
In the meantime, PS and Illustrator do the trick for me, but, well, it's time consuming and far from perfect. Looking forward to the export feature.

PostPosted: Sun Dec 05, 2010 2:29 am
by Telarus
Good catch. I was sketching out a few ideas on that, and ran into the same problems. Looking forward to the next release as well!

PostPosted: Thu Dec 16, 2010 9:41 pm
by Aaron
Hi Guys,

Just a quick note: I've added a calculation to L3DT to generate the contour map at full resolution. However, I still have to implemented an interface to allow users to change the contour line intervals or colours. I'll let you know when it's all ready for testing.

Cheers,
Aaron.

PostPosted: Thu Dec 30, 2010 1:44 pm
by Rummy
That's great Aaron. For such an odd request I never thought I'd see it but you pleasantly surprise.

PostPosted: Mon Jan 03, 2011 9:33 pm
by Aaron
Hi All,

You can now generate full-res contour map images using the latest developmental build of L3DT Pro (v2.9 build 4, released 4th of Jan).

To generate the contour map image, select the 'Graphs->More graphs' menu option, and select the 'HF_CalcContours' option. When the calculation is complete, you will be asked to save the output image as a bitmap [note: don't hit cancel on the progress window before saving!]

Please note that by default the graph produces an output image containing only the contour lines on a black background, such as that shown below:

Image

If you want the heightfield elevation shading to be shown, first edit the graph using the 'graph' button on the toolbar, then double-click on the palette name filter, and set the value to "Monochrome" (case sensitive, no carriage return / newline, etc). If you want to change the colour of the background, you'll need to create a new palette PNG image in the 'Palettes' resource folder containing the desired colour, and set the name of the palette in the graph to match the PNG file name (sans extension).

Please also note that there is currently no way to change the colours or intervals of the contour lines. This will be added in a future update.

Please let me know if you find any problems.

Best regards,
Aaron.