Try dividing the z-axis by 10 on the maps when you do the conversion...
Try dividing the z-axis by 10 on the maps when you do the conversion...
thanks for the suggestion throx... i'll give this a try tonight
-Cattj
Just thought ya might like to know..
Your maps have been downloaded 10,000 times from Eqtoolbox. 5000 times since yesterday.
hahah wow thats a lot!!
thanks for the info... i'm really glad that wasn't on my site hahah it would have killed my bandwidth
-Cattj
Here's the code to convert cattj's maps for the z-order to work. It's just a straight divide by 10. I haven't touched the labels because they don't have a z-order anyway.
Enjoy...
Excuse the formatting - vBoard removes leading spaces. Not sure if the attachment worked or not. Sorry for the noobishness...// fixmaps.cpp : Defines the entry point for the console application.
//
#include "stdio.h"
int _tmain(int argc, _TCHAR* argv[])
{
while (!feof(stdin))
{
// Get the line code
char line[4096];
gets(line);
if (*line == 'L')
{
int r,g,b;
double x1,x2, y1,y2, z1,z2;
char code;
sscanf(line, "%c %lf, %lf, %lf, %lf, %lf, %lf, %d, %d, %d", &code, &x1, &y1, &z1, &x2, &y2, &z2, &r, &g, &b);
printf("%c %.4lf, %.4lf, %.4lf, %.4lf, %.4lf, %.4lf, %d, %d, %d\n", code, x1, y1, z1/10, x2, y2, z2/10, r, g, b);
}
else
puts(line);
}
}
Last edited by throx; 02-25-2003 at 06:06 PM.
ok i've added the divide by 10 to the z (thanks throx) and also per someone's suggestion converted the whites and grays to black so that the maps look better on the parchment background.
you can get the new exe/src here as well as the maps:
http://www.eq-toolbox.com
enjoy
Last edited by cattj; 02-27-2003 at 08:44 AM.
-Cattj
Heh, just finished converting your maps when I found your reply here. Managed to get my friend to make a converter that supported wildcards for the filenames.
Cant wait to get home to try it.
Well done though
the converter has a batch file in the zip that will do wildcarding too... it takes all the .map files in the current directory and converts them.
i'm going to add an option today that allows you to keep all the original colors (for those of you that have switched to a black background) and one that replaces white and grays with black for those of you that use the parchment background.
-Cattj
Looks great Cattj. Just one more thing. EQ is parsing the description after the first space in some situations. ("The Nexus" turns into "The"). In the EQ version, they all have _ in place of a space in all the locations. (The_Nexus)
great thanks for pointing this out... i'll put the new executables up in a bit at the same links as above
-Cattj
ok that change should be in... as well as the change for switching between the two color schemes... -c for the original -w for the no white...
enjoy
-Cattj
There are currently 1 users browsing this thread. (0 members and 1 guests)