View Single Post
  #4  
Old November 4th, 2003, 05:17 PM

Sammual Sammual is offline
BANNED USER
 
Join Date: Oct 2003
Posts: 194
Thanks: 0
Thanked 0 Times in 0 Posts
Sammual is on a distinguished road
Default Re: Map Creation Questions.

Quote:
Originally posted by Gandalf Parker:
quote:
Originally posted by Sammual:
I can make map makers ad this info at the bottom of a map file, make the user click on each one when a new map is added, or find someone to write me a Java Applet that scans a TGA file and reports back the (X,Y) for each lone White pixel.
Id say user-clicks, or java script would be easier.

Since the capitals are always a particular color, and one pixel big, the script shouldnt be too hard. It just needs to read the tga scanning single lines and reporting x,y for each "white pixel". If it numbers each find sequentially then it would match province numbers? (sorry, I cant write the script. I can just talk about it)

The problem is JavaScript and Cold Fusion can not read a TGA to find the color value or (X,Y) of a given pixel. That is why I would need the user to click on them for the program or a Java program to scan the TGA.

Sammual - Time to learn Java
Reply With Quote