Interactive map project / flat projection
Hi Smurf, I'm playing around with your FlatProjection.js file, but I have problems getting it to work. Just taking the file as it is, and using new FlatProjection(MapWidth,MapHeight,MapPxPerLon,MapMaxZoom-2,MapMaxZoom) in the new GMapType call (the variables used for the parameters having the same value as in your demo), results in the map being displayed, but no tiles being shown. I can upload a demo tonight if necessary, but maybe you already know where the problem might be. DeepSearch 06:56, 27 December 2006 (CST)
- The only thing I know of thats wrong with my FlatProjection.js is I don't think it works with tiles that are not 256x256. So go ahead and upload it and I'll take a look at it. -Smurf 15:09, 27 December 2006 (CST)
- Sorry, that took longer than expected. See here, I tried to strip out as much of unnecessary code as possible: http://mapdev.fiftypounds.com/DeepSearch/FlatProjectionTest/demo/index.html DeepSearch 14:31, 2 January 2007 (CST)
- Change line 41 in ../js/GWMap.js to:
map.setCenter(new GLatLng(-12,15.97265625), 3, gwMap);
- Change line 41 in ../js/GWMap.js to:
- Sorry, that took longer than expected. See here, I tried to strip out as much of unnecessary code as possible: http://mapdev.fiftypounds.com/DeepSearch/FlatProjectionTest/demo/index.html DeepSearch 14:31, 2 January 2007 (CST)
- OR
map.setCenter(new GLatLng(-(MapHeight/MapPxPerLon)/2,(MapWidth/MapPxPerLon)/2), 3, gwMap);
which is center of the map. I'll try to fix my map projection so the Y axis increase going down. -Smurf 17:01, 2 January 2007 (CST)
Pictures
Nice pictures. How did u take them? Or are they stolen from anet? —The preceding unsigned comment was added by Renegade26 (contribs) 07:09, 27 December 2006.
- Not sure which ones your talking about so I'll summarize them all.
- Warrior and Monk characters - User_talk:Smurf/Archive_1#Character_images
- Necro, Ele, and Paragon characters and Dances - DirectX modifying to replace all 2048x2048 textures (the ground) with a white texture. Also used Fraps for the dances
- Items & skill icons, and map imagery - instead of replacing the textures I save them.
- -Smurf 15:09, 27 December 2006 (CST)
EDIT: Question: Could you possibly convert your images to PNG with transparency? —The preceding unsigned comment was added by 70.167.226.82 (contribs) 14:03, 30 December 2006.
- I could but guildwiki has problems scaling png format so I stick with jpg. (GW:IMAGE) -Smurf 04:19, 1 January 2007 (CST)
- Care to give any more details on this DirectX modifying process? or maybe a link to where i could learn how to do it? Thanks. Cronnie 11:10, 2 January 2007 (CST)
- http://www.codeguru.com/cpp/g-m/directx/directx8/article.php/c11453/ -Smurf 12:15, 2 January 2007 (CST)
- Thanks for the link, but i am totally lost lol.... I understood some bits here and there, and got my .dll files for both DirectX 8 & 9. So, what code as such do i have to add or remove in these files? Also what program will i need to do this? D3DSpy? I am sorry if i sound to be a pain but i really want to learn how to do this, once again thanks for all help. Cronnie 13:22, 2 January 2007 (CST)
- http://www.codeguru.com/cpp/g-m/directx/directx8/article.php/c11453/ -Smurf 12:15, 2 January 2007 (CST)
User page
Hey, you have a very nice user page. Are people allowed to use it? —The preceding unsigned comment was added by Thorton (contribs) 23:21, 27 December 2006.
- Anyone can use it and you don't have to credit me. -Smurf 01:32, 28 December 2006 (CST)
- Oh my gawd! Smurf, tell me you didn't say that! ;) -- (talk) 05:38, 28 December 2006 (CST)
- lol now I see where Poki's 2nd userbox submission comes from. -Smurf 13:48, 28 December 2006 (CST)
- Speaking of user boxes, why haven't you submitted any? Your user page has a few really great ones nad I believe you could also come up with new good ideas. -- (talk) 16:29, 28 December 2006 (CST)
- I'm in there: User:Gem/User_box_competition#User:Smurf. -Smurf 16:31, 28 December 2006 (CST)
- Speaking of user boxes, why haven't you submitted any? Your user page has a few really great ones nad I believe you could also come up with new good ideas. -- (talk) 16:29, 28 December 2006 (CST)
- lol now I see where Poki's 2nd userbox submission comes from. -Smurf 13:48, 28 December 2006 (CST)
- Oh my gawd! Smurf, tell me you didn't say that! ;) -- (talk) 05:38, 28 December 2006 (CST)