Maxwell Render

Maxwell Render Information Repository
It is currently Mon May 20, 2013 9:24 am

All times are UTC + 1 hour [ DST ]




Post new topic Reply to topic  [ 3 posts ] 
Author Message
 Post subject: KML file sample please!
PostPosted: Thu May 24, 2007 6:43 am 
User avatar

Joined: Tue Apr 17, 2007 6:45 pm
Posts: 126
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!

_________________
=LES=


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 24, 2007 12:53 pm 

Joined: Thu Nov 30, 2006 11:08 pm
Posts: 715
You should have a <LookAt> tag
Your sample should look like this:

Code:
<?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>


Top
 Profile  
 
 Post subject:
PostPosted: Thu May 24, 2007 7:06 pm 
User avatar

Joined: Tue Apr 17, 2007 6:45 pm
Posts: 126
Hey thanks for that sample! I will try it immediately!

_________________
=LES=


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 3 posts ] 

All times are UTC + 1 hour [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group