User avatar
By LesliePere
#226753
Could someone please send me or just post a sample of a short KML file that works with Max?

I don't want to scroll through the enormous list of cities in 1.5 so I decided to create a quick KML file for the location I wanna use. I also don't want to install google earth for this. So I looked up the KML documentation on google's site and typed up this little KML:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Placemark>
<name>Budapest, HUNGARY</name>
<description>Budapest, HUNGARY</description>
<Point>
<coordinates>47.500000,19.083334,0</coordinates>
</Point>
</Placemark>
</kml>

However, this doesn't work. When I open the file in max, it gives me a dialog saying "No observation coordinates or eye points found."

I have no clue what is this refers to since the KML docs does list "observation coordinates" or "eye point" as a markup.

Thanks!
By Bogdan Coroi
#226978
You should have a <LookAt> tag
Your sample should look like this:
Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://earth.google.com/kml/2.1">
<Placemark>
<name>Budapest, HUNGARY</name>
<description>Budapest, HUNGARY</description>
<LookAt>
	<longitude>19.079999</longitude>
	<latitude>47.509998</latitude>
	<altitude>0</altitude>
	<range>9490.109375</range>
	<tilt>0</tilt>
	<heading>0</heading>
</LookAt>
</Placemark>
</kml>
User avatar
By LesliePere
#227349
Hey thanks for that sample! I will try it immediately!
Help with swimming pool water

Hi Andreas " I would say the above "fake[…]

render engines and Maxwell

Other rendering engines are evolving day by day, m[…]