<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Adding Water Depth]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=1646&amp;type=atom" />
	<updated>2020-11-23T19:45:18Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=1646</id>
		<entry>
			<title type="html"><![CDATA[Re: Adding Water Depth]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6926#p6926" />
			<content type="html"><![CDATA[<p>Hello.</p><p>RWT can generate underwater areas when the elevation provider has no data.<br />This uses a rather primitive algorithm based on perlin noise.<br />If you have any suggestions for improvement, I am always open to discussion.</p><p>Detecting water by color will not work on satellite imagery.<br />I tried this a few years ago.<br />To detect water, you need to have a specially prepared image.<br />The next version of RWT will have such feature.<br />Here a post about it with video:<br /><a href="https://forum.infinity-code.com/viewtopic.php?pid=6916#p6916">https://forum.infinity-code.com/viewtop … 6916#p6916</a></p><p>If the user has programming experience, he can use RWT API to modify the generated underwater values and achieve the result he wants.</p><p>The tools you described go beyond the concept of an asset to generate real-world objects.<br />I think that it would be more logical to create such tools in the asset like River Auto Material.</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2020-11-23T19:45:18Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6926#p6926</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Adding Water Depth]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=6924#p6924" />
			<content type="html"><![CDATA[<p>I had posted this in the wrong forum... moving it to here</p><p>As someone focused on <a href="http://withthefleet.com">naval simulation</a>, it would be invaluable to me if there were water depths in this, even if the data were of low-resolution or was synthetically computed according to some heuristic (or a combination of those). </p><p>You could add the option to have your add-on detect water areas (alt=0, color=bluish to greenish with slow gradients) and replace them with some algorithmically-created depths.</p><p>The user could assist in this.&nbsp; Once the tool had located a contiguous body of water, the user could click on a few points within it and specify the depth s/he wanted those points to be.&nbsp; The tool would then create a noisy but fairly smooth fake bed for the lake or ocean that satisfied the constraints.&nbsp; Paint tools could also be used, perhaps while enforcing bounds for max/min depths.</p><p>Other tools could be to let the user trace a closed area of water and specify the average depth of that area.&nbsp; Any overlap of such areas would have an additive effect whereby the most recently drawn area has pre-eminence.&nbsp; A color coding mode in the editor would help the user see where s/he has been in terms of authoring, as well as to see the depth map in 2D.</p><p>tone</p>]]></content>
			<author>
				<name><![CDATA[DulcetTone]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=1454</uri>
			</author>
			<updated>2020-11-23T15:11:43Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=6924#p6924</id>
		</entry>
</feed>
