Create an account


Thread Rating:
  • 1 Vote(s) - 2 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Img2Map Tool

#1
I think SavageX made this but i cant visit alietrap my sriron browser cant open...

This tool calculates quite fast a landscape in a map format for netradiant all you need to do is to make a small picture in greyscales. ill explain later

First you need to Download JAVA
dont worry no virus etc...
BUT you have to choose your platform(linux/windows...32/64 bit)

YOU DONT HAVE TO REGISTER for those, who only see the two fields with username and password
cds.sun.com Wrote:Optional: Please Log In or Register for additional functionality and benefits.
Or, click "Continue" now to proceed without Log In or Registration.

then continue and click on the link and download it then install it fin


So now the interesting part the tool:
Download the ImgToMap Tool
extract where you want



and then i only know howto run in windows...
create a batch (.bat) file in the folder of the imgtomap.jar
i named my bat "RUN.bat"

RUN.bat Wrote:java -jar ImgToMap.jar
Howto make a bat file:

first create a new textducument (.txt) write the text ("java -jar ImgToMap.jar")
save and rename it replace .txt with .bat

thats all about the setup
now ill show you howto use it:
[Image: 56691170.th.jpg]


the tool:
[Image: 41501385.th.jpg]

for my map "final showdown" i used this greyscale picture:
[Image: e7c02e6582e8193eb7b927009e288f2b2g.jpg]
ORIGINAL SIZE!!


My opinion: the tool is very useful if you want to create good landscapes fast
but you have to play a bit with the settings to get the landscape you want

-Sven ;D
[Image: 29296372.th.jpg]

you can see the mini picture with the standard settings(i only disabled the skybox and gave it a texture) made a good level
it doesnt took a second for me you can see the green box it has the size of a player ingame

try it : right click on the mini picture save as(i mean the picture from final showdown)
and open it in imgtomap....
and then i compiled it in netradiant played the map (added 2-3 realtime lights to see the texture ingame)

[Image: xonotic000003.th.jpg]
[Image: xonotic000004.th.jpg]
[Image: xonotic000005.th.jpg]
[Image: xonotic000006.th.jpg]
Reply

#2
I like this tutorial ... i've tried this software
Real cool and usefull for creating terrains but i prefer FATE for creating terrains
[Image: bartucnexuiz.png]
Reply

#3
Try this script when using bash:
Code:
#!/bin/bash
echo "Running IMG2MAP..."
echo -e "\e[1;31mDo not close this window!\e[0m\n"
java -jar ImgToMap.jar
echo -e "\e[1;32mProgram closed.\e[0m"

Or this one with sh:
Code:
#!/bin/sh
echo "Running IMG2MAP..."
echo "Do not close this window!"
java -jar ImgToMap.jar
echo "Program closed."

Put it into the dir, and name it "run.sh" or something, then make it executable, ie. by chmod -x run.sh. There's no real difference between those two scripts, and the text is only a reminder not to close the terminal window. And the bash one got pretty colors.
(08-10-2012, 02:37 AM)Mr. Bougo Wrote: Cloud is the new Web 2.0. It makes no damn sense to me.
Reply

#4
Heh, it's nice to know people still find that little tool somewhat useful. The sources are available at http://svn.icculus.org/nexuiz/trunk/misc.../ImgToMap/ - and perhaps they should be moved to a better place or whatever.
Reply

#5
It's also in the Xonotic repo (http://git.xonotic.org/?p=xonotic/xonoti...94;hb=HEAD). @Minkovsky, just run "java -jar ImgToMap.jar &" and it will run in the background, so it will not matter if you close your terminal emulator.
[Image: vN3NkMA]
(Idea stolen from Mr. Bougo. Hehehehe)
Reply

#6
But then it won't give easily copiable debug info for debugging java exceptions.
(08-10-2012, 02:37 AM)Mr. Bougo Wrote: Cloud is the new Web 2.0. It makes no damn sense to me.
Reply

#7
You could also write stderr to a file like "java -jar ImgToMap.jar 2> i2m-errors.txt &". Then you can just cp i2m-errors.txt, but I guess it's just a matter of personal preference Smile
[Image: vN3NkMA]
(Idea stolen from Mr. Bougo. Hehehehe)
Reply



Possibly Related Threads…
Thread Author Replies Views Last Post
  sRGB tool Nahuel 1 3,310 03-23-2014, 01:32 PM
Last Post: Mr. Bougo
  Interesting tool that may be useful Lee_Stricklin 26 22,128 03-31-2010, 10:49 AM
Last Post: Debugger

Forum Jump:


Users browsing this thread:
2 Guest(s)

Forum software by © MyBB original theme © iAndrew 2016, remixed by -z-