<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Infinity Code Forum — Scale of tile displayed]]></title>
	<link rel="self" href="https://forum.infinity-code.com/extern.php?action=feed&amp;tid=912&amp;type=atom" />
	<updated>2018-10-12T11:37:56Z</updated>
	<generator>PunBB</generator>
	<id>https://forum.infinity-code.com/viewtopic.php?id=912</id>
		<entry>
			<title type="html"><![CDATA[Re: Scale of tile displayed]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4032#p4032" />
			<content type="html"><![CDATA[<p>thanks for the quick answer !</p>]]></content>
			<author>
				<name><![CDATA[Merichbier]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=816</uri>
			</author>
			<updated>2018-10-12T11:37:56Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4032#p4032</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: Scale of tile displayed]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4031#p4031" />
			<content type="html"><![CDATA[<p>Hello.</p><p>Example of how to make a size of the map 1:1 with the real world:<br /><a href="http://infinity-code.com/atlas/online-maps/pages/RealTilesetSizeExample.html">http://infinity-code.com/atlas/online-m … ample.html</a></p><p>If you just need scale factor, divide the size of the map in the scene by the distance between the corners of the map (as in the example).</p>]]></content>
			<author>
				<name><![CDATA[Alex Vertax]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=2</uri>
			</author>
			<updated>2018-10-12T11:26:03Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4031#p4031</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Scale of tile displayed]]></title>
			<link rel="alternate" href="https://forum.infinity-code.com/viewtopic.php?pid=4030#p4030" />
			<content type="html"><![CDATA[<p>Hi,</p><p>I&#039;m looking into the API and the expample for some times now but didnt fount the function I&#039;m looking for. Sorry if the answer is some where in there..</p><p>I actually have a map displayed in a 3D world. Now i&#039;m would like to know the scale factor between the km show on the map and the real world.<br />For example, if I have two vectors representing points on this map (say [0,0,0] and [0,0,1]) I can compute there difference and have their distance in the real world (1 meter). And know I would like to what 1 meter represent in the display map.<br />Is there any properties that we can access to have this scale factor or do we need to compute it by ourselves ?</p><br /><p>Hope I&#039;m clear enough on what I want</p><br /><p>Best regards</p>]]></content>
			<author>
				<name><![CDATA[Merichbier]]></name>
				<uri>https://forum.infinity-code.com/profile.php?id=816</uri>
			</author>
			<updated>2018-10-12T11:18:18Z</updated>
			<id>https://forum.infinity-code.com/viewtopic.php?pid=4030#p4030</id>
		</entry>
</feed>
