New map

General discussion and socializing.
User avatar
loftar
Posts: 9096
Joined: Fri Apr 03, 2009 7:05 am
Location: Your character database

Re: New map

Post by loftar »

Jackard wrote:Jorb, do you realize that if you altered your image to remove gradients/transparency/whatnot, the map's file size could shrink from 8.80MB to 692KB?
Jorb aside, I am more than well aware of that. In fact, my initial version of the program that generated that file did just that, but Jorb insisted that it be textured.
"Object-oriented design is the roman numerals of computing." -- Rob Pike
User avatar
Jackard
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Re: New map

Post by Jackard »

Hmm, what's the reasoning there?
User avatar
Laremere
Posts: 736
Joined: Fri May 29, 2009 9:02 pm

Re: New map

Post by Laremere »

loftar wrote:
Jackard wrote:Jorb, do you realize that if you altered your image to remove gradients/transparency/whatnot, the map's file size could shrink from 8.80MB to 692KB?
Jorb aside, I am more than well aware of that. In fact, my initial version of the program that generated that file did just that, but Jorb insisted that it be textured.
Wouldn't it be possible to have a webpage with some css magic so that the texture is tiled behind a semi-transparent map. Gives the small file size, along with the bonus of looking nice. This might be necessary considering the new map will no doubt be bigger.

Edit: It works:

Code: Select all

<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/css" 
                    href="http://www.w3.org/MarkUp/style/xhtml2.css"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 2.0//EN"
    "http://www.w3.org/MarkUp/DTD/xhtml2.dtd">
<html xmlns="http://www.w3.org/2002/06/xhtml2/" xml:lang="en"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://www.w3.org/2002/06/xhtml2/
                          http://www.w3.org/MarkUp/SCHEMA/xhtml2.xsd"
>
  <head>
    <title>World Map</title>
    <style type="text/css">
     body {background-image:url('texture.png')} <! Put the file name of the purdy texture here>
    </style>
  </head>
  <body>
    <img src="080309-better.png" style="opacity:0.9;filter:alpha(opacity=90)"/> <! Replace the source with the name of the small size no texture map>
  </body>
</html>
Image
poltifar
Posts: 68
Joined: Sat Jun 13, 2009 8:04 am

Re: New map

Post by poltifar »

What is most obvious from this map is that the world is getting too crowded. Soon, there wont be ANY Mordor left, and thus far less good hunting grounds.

So when's the map reset? :)
User avatar
jorb
Posts: 18715
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: New map

Post by jorb »

loftar wrote:
Jackard wrote:Jorb, do you realize that if you altered your image to remove gradients/transparency/whatnot, the map's file size could shrink from 8.80MB to 692KB?
Jorb aside, I am more than well aware of that. In fact, my initial version of the program that generated that file did just that, but Jorb insisted that it be textured.
Um... no? :)
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."

-- Hieromonk Seraphim Rose
User avatar
Jackard
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Re: New map

Post by Jackard »

You mean texture or file size...??
User avatar
jorb
Posts: 18715
Joined: Fri Apr 03, 2009 7:07 am
Location: Here, there and everywhere.

Re: New map

Post by jorb »

Jackard wrote:You mean texture or file size...??
I meant that I did not insist on the map being rendered with textures. :)
"The psychological trials of dwellers in the last times will be equal to the physical trials of the martyrs. In order to face these trials we must be living in a different world."

-- Hieromonk Seraphim Rose
User avatar
Potjeh
Posts: 11825
Joined: Fri May 29, 2009 4:03 pm

Re: New map

Post by Potjeh »

We demand a scapegoat :evil:
Image Bottleneck
User avatar
Jackard
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Re: New map

Post by Jackard »

you might be in luck, we have quite a few scapegoats around here
User avatar
Jackard
Posts: 8849
Joined: Sun Jul 12, 2009 6:07 am
Location: fucking curios how do they work

Re: New map

Post by Jackard »

Return to “The Inn of Brodgar”