Post Pacific  

Go Back   Post Pacific > Восстановленный архив > Темы без сохранившегося раздела
FAQ Community Calendar Today's Posts Search

Notices

 
 
Thread Tools Search this Thread Display Modes
Old 13.01.2006, 20:47   #1
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default GeoMaker Question

Hey guys,

I started messing with vaskes geomaker prog yesterday and I read somewhere in another thread that enishi posted that he was having some probs with it too ...

My question basically is, when I open the heightmap bmp extracted from the client with UTPT in vaskes prog, I set the first byte and second byte to the map name, since thats obviously the beginning of the header, and in enishis post vaskes said waterlevel was not functioning in the prog, so I leave that at its default ... The last thing I set is the height which has to be anywhere between 10 and 30 according to vaskes .. After that I save the conv file to c:\ ...

When I finally open the conv file in a geoviewer, it shows up VERY light and the file size is generally only around 345kb compared to several megs that the normal geodata file is ... Anyone know more about this prog and why I would be getting such small file sizes? Thanks :P
HongK is offline  
Old 13.01.2006, 20:54   #2
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default

According to the readme in L2 tools, the height for geomaker HAS to be 75.
And since its only ground layers the program does...the 384kb file size is expected.

*EDIT* Nevermind the 75...I was thinking of the BR dev team generator.
Enishi is offline  
Old 13.01.2006, 21:22   #3
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

Quote:
Originally Posted by Enishi
According to the readme in L2 tools, the height for geomaker HAS to be 75.
And since its only ground layers the program does...the 384kb file size is expected.

*EDIT* Nevermind the 75...I was thinking of the BR dev team generator.
I have seen some pretty good looking geodatas that you posted of blazing swamps ... Did you get those by using this program?
HongK is offline  
Old 13.01.2006, 22:41   #4
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default

Did it with the BR dev team maker.
Multiplier set to 75 and the geodata is useable...not perfect though :P
Enishi is offline  
Old 14.01.2006, 01:17   #5
knife_sj
Архивный участник
 
Join Date: Feb 2005
Posts: 165
Default

i've generated field of silence with that and a /loc the coord in Z are -15xxx

With multiplier in 75

With 3D viewer the color of the plane is DeepGreen
And the previous Map is Deepblue what means that??
knife_sj is offline  
Old 14.01.2006, 01:32   #6
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

I actually just did the same map .. The only thing I'm having problems with is getting the right height multiplier ... They were talking about it relating to the Z coords in game ... Can someone perhaps explain that a bit :O
HongK is offline  
Old 14.01.2006, 03:03   #7
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

yes flakka said in a txt inside the l2tools, 75 for multp, but is incorrect, if you see with a viewer the geodata terrain is like perfect but ingame the height is like more than 10k, i think the only way to get a normal geodata (terrain) with those tools is testing in every multp, starting between 20 and 26 or something like that.
SoaPy is offline  
Old 14.01.2006, 03:24   #8
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

There is no formula for calculating the correct height multiplier?
HongK is offline  
Old 14.01.2006, 03:50   #9
SoaPy
Архивный участник
 
Join Date: Feb 2005
Posts: 705
Default

i dont think so, the default of the br team is 23 and the default of stazis program is 18, try moving this value and test if the terrain if correct or not, is the only way.
SoaPy is offline  
Old 14.01.2006, 03:53   #10
Stazis
Архивный участник
 
Join Date: Feb 2005
Posts: 200
Default

Thought i already posted somewhere

ingame.z := (grayscale_color) * 76 - 95xx.xx;

because
TerrainScale=Vector=[ X:1xx.xx0000 Y:1xx.xx0000 Z:xx.xx0000]
KRestitution=-95xx.xx0000

that's from TerrainInfo class
Stazis is offline  
Old 14.01.2006, 04:34   #11
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

So how does that give you the height multiplier to use for the geomaker?
HongK is offline  
Old 14.01.2006, 05:08   #12
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

EDIT: NEVERMIND

Figured it out hehe ... fun stuff .. finally I can fix some probs
HongK is offline  
Old 14.01.2006, 17:11   #13
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default

Mind explaining that to the rest of us HongK? :P
Enishi is offline  
Old 14.01.2006, 20:52   #14
HongK
Архивный участник
 
Join Date: Jun 2005
Posts: 258
Default

Well I was browsing some stuff by torune last night and I ran across his old post where he shared all those geodatas he made and they are all the same thing I was doing so there doesn't really seem to be any point to generating anymore geodata except for c4, although they are included in his pack ... The only thing I saw that needed to be changed in his files were the addition of planes for the catacombs/necros and then some wall generation
HongK is offline  
Old 14.01.2006, 21:02   #15
Enishi
Архивный участник
 
Join Date: Apr 2005
Posts: 354
Default

I meant...how did you figure out the correct height multiplier? o.O
Enishi is offline  
Old 14.01.2006, 22:05   #16
Sauron
Архивный участник
 
Join Date: Feb 2005
Posts: 357
Default

Quote:
Originally Posted by HongK
There is no formula for calculating the correct height multiplier?
if the formula is not correct then there is no multiplier that will work in all the cases. The best way to deal with geodatas (terrain at least) is doing it urself, that way you could try new formulas instead of using a program with the wrong formula.
Sauron is offline  
Old 16.01.2006, 03:20   #17
knife_sj
Архивный участник
 
Join Date: Feb 2005
Posts: 165
Default

Ok, after the problem of heights with geos created by Geogenerator i've maded this tool to correct it...

i've have to do 2 things:
1st: U Must rotate 90º to left the bmp, then generate with geogenerator

2nd:
Up the terrain (its just to correct the high of the plane, doesnt work with multi layered geos)...

id use this formula:
Newheight:=OldHeight+Z;

Edit: New Version must specify the Z to add.
U can take this value with the next formula
Ill take for example Blazing Swamp (24_17)
Take "Lineage ][ Geo data viewer" and take a value (From Status Bar) from the top left corner of the map next to the map to modify (in example 24_18 Aden Town)


and then open 24_17 and take the bottom left corner value



then make Value from ( 24_17 ) - ( 24_18 ) this should give a number, thats the Z value
knife_sj is offline  
Old 16.01.2006, 05:39   #18
Flamestrike
Архивный участник
 
Join Date: Aug 2005
Posts: 434
Default

Sweet thing.
Flamestrike is offline  
Old 16.01.2006, 08:14   #19
TheOrder
Архивный участник
 
Join Date: Sep 2005
Posts: 731
Default

Cool tool . Tnx for the Share !!!
TheOrder is offline  
Old 16.01.2006, 08:27   #20
knife_sj
Архивный участник
 
Join Date: Feb 2005
Posts: 165
Default

updated, wrong calculation, isnt the same number 4 all maps :P
knife_sj is offline  
Old 16.01.2006, 12:30   #21
Metalmurphy
Архивный участник
 
Join Date: Feb 2005
Posts: 766
Default

Thanks for the tool knife_sj :thumbs up:
Metalmurphy is offline  
Old 16.01.2006, 18:44   #22
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

knife_sj : thanks for tool but doesn't correct things. explanation : difference in heights from correct ones is not constant. some points differ more, others less. just adding the layer up or down doesn't correct things.
this is not flame. just constructive notes
Mirror is offline  
Old 17.01.2006, 05:58   #23
Liahhim
Архивный участник
 
Join Date: Jan 2006
Posts: 22
Default

Isn't this a little too complicated? Why don't you play with extracted picture brightness/contrast (height shift/multiplyer) instead?
Liahhim is offline  
Old 17.01.2006, 09:04   #24
Mirror
Архивный участник
 
Join Date: Oct 2005
Posts: 330
Default

i think the problem is this :

the extracted picture is greyscale. greyscale has only 256 flavors of grey. but the heights in l2 world are much more. so a lot of inromatin is lost. so the differences are not constant..it depends on average map height or on min and max map height. so the multiplier which is i believe the factor for stretching up the map..has to be changed on each map differently according to that particular map min max or average height. i wonder if the heightmaps in .utx are saved only in 256 colors or is just UTPT which discards color information.
Mirror is offline  
Old 21.01.2006, 00:45   #25
knife_sj
Архивный участник
 
Join Date: Feb 2005
Posts: 165
Default

some1 knows how each height is linked to ingame Z?

i cant find the relation :P

i was wondering that the int value is short (pos and neg) numbers, but seems to dont be it :?
knife_sj is offline  
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 15:59.