![]() |
[SHARE] Geodata Convertion Tool
Ok. This must be my biggest share since C1 L2Admin HOWTO documents on RZ. Long time ago ...
Hope this program will make your lives easier. This is not final release and it still have some bugs. Please do not ask me questions on how it works or what settings you should use. I suppose that Hints explanations are enought to understand. Known buglist 1. Possible troubles with some bridges (western bridge from Giran to fields and around Angel waterfalls also Rune Region bridges) Updates List: v0.93 - Lineage Map 3D viewer integrated. (there are no changes in converting algorithm - so do not regenerate your geodata if you already did it with v0.922) ViewPortal Window controls: Left Mouse down and drag - forward and back Right Mouse downa and move left-right - turn scene around Both Mouse btn down and move forward and back - get POV up and down v0.922 - fixed access violation error v0.92 - fixed problem with 16_10 map - fixed error with caves entries - fixed error with wrong Restore Defaults func for stairs vert - revised memory managment (should exclude possibility of Memory Leak) v0.91 - terrain heights problem fixed - it is perfect now I included some tuning fields in it but personally prefer using default settings. Ok - looks like some settings really needs more explanations Height Calculation Settings: 1. Max plane angle to XY - this is angle between horisontal XY plane and the surface on which character should be able to stand or go. It is normal i think that character can not stand on surface that have 40 and more degrees - it will just fall down or will not be able to go up due to physics. So there is no need to generate heights for e.g. vertical or near to vertical surfaces like wall (i'm not saing abt top side of wall - i mean front and back sides of wall here). 2. Ray-tracing accuracy - program builds a map from terrain, models etc just like Unreal engine does it. It means that anything on map consists of triangles. Then every triangle (filtered by 1st setting) is scannes with certain step to find heights. It is done by fast ray-tracing algorithm determining dot of intersection of vertical ray with each triangle. Since geodata detalization (i mean the smallest block of geodata file) determines height for 16*16 points of world setting this value above 16 is not recommended - couse some of needed heights will be skipped. You can just make this value lower to increase accuracy of scanning the surfaces. Walkability settings: after generation of heights are done we need to determine walkability flags for each of them 1. Min Plane angle to XY - this setting is an angle of surface wich will not allow character to move in it's direction. E.g. wall usually have it 90 degrees. But again due to physics character should not be able to walk though barrier having mush lower angle. Mean char cant get up on mountain if hill's angle is 40 degrees and more. 2. Stairs height - easy to understand that stairs is accepted also as wall but with little height and it should be walkable. I found that walkable stairs in Lineage always have height of 8 points. If you increase it too much - barriers of bridges and castlewaals will be walkable too and if you make it too low - stairs will be not walkable. 3. Stairs Vert-PArt Angle - this is just for the case if you found stairs with not 90 degree of front side - in that case decrease this value. Output settings: when program finishes with walkability flags calculation all it have to do - optimize and save the data. But. Coordinates of all models given in Unreal packages is not absolute. It is relative to model's pivot point but not to world's 0,0,0 coordinates. So each coordinate should be transformed to take it place in the world on exact map. 1. Use 00 00 blocks - this afects on using 00 00 blocks in output to determine big blocks 128*128 points which have no multilayers and have no much difference of heights and no unset walkability flags on it in 6 bytes instead of outputing 64 16*16 blocks which would take 129 bytes. It affects on memory usage by server and it's perfomance during runtime. Do not uncheck it if you have no at least 4Gb of RAM on server. 2. Optimization Different - while generating heights with high accuracy same surface can give several heights for near x,y coordinates - so before saving data program should exclude not needed heights - height of character is about 72 points so it can not stand or move between two heights with differens lower that this value under and top of it. So program just exclused lower of tho heights. e.g you have -3467 and -3487 heights at the same point - then -3487 will be excluded. 3. Height increment - character pawn is an volume with it's own cordinate system. This coordinate system's start is not under the feets. It is on 32 points higher than surface on which character stands. It is char's position. So char's position is always 32 points higher than height of surface. Server works with char's position - not with surfaces. We should increase every height we output on 32 points. Many thanks goes to: Digital - supporting me with ideas while digging .dat files format in far 2005 spring Vaskes - supporting me with many other stuff and testing it while i was busy with this program Torune - supporting with ideas of per-triangle tracing instead of per-step-point tracing - this decreased runtime perfomance of program in many times Livid - giving a lot of help with fixing meshes-rotation problem and cutting ground cells problem (i hope my CSG-BSP-tree solution was also usefull for him) STREZZ, Aspire and some other developers who inspired me all this time MY FAMILY of couse - being so patient while looking only at my back for 90% of time =) P.S. Any donation would be very appreciated. Thanks. My WMZ are Z860843335214 E235096803512 R343909594191 U260965927502 or E-Gold - AccNo 3607151 or PayPal - stazis@ua.fm if you can't use a WebMoney but still want to donate - contact me stazis at ua dot fm Вложения из исходного сообщения (сами файлы в копии отсутствуют): GeoConv_v0.93.zip — 331706 байт |
o_O!
Thx Stazis:) I knew u will share this:) <rus> 1ый нах </rus> |
Thanks!!Stazis
|
Thanks for the share.
|
damn real nice tool. thanks for your time you spent making this and most of all for sharing it thanks :)
|
Thanks!
Thanks!
Stazis 20WMZ from me. |
Awsome stazis ;)
Any paypal? Or just the donation methods above? |
Quote:
Thanks anyway |
Wow, didn't even think that you could do that! Thanks a lot.
<rus> Стазис от души! </rus> |
thx man...
|
Quote:
|
perfect job man ty
|
Looks very nice, thanks
|
big thnx! great job
|
Awsome share bud i knew u would share it in the end :) !
|
When I lunch that converter and open package I get error " '95xx.xx' is not valid floating point value".
|
Control Panel > Language and regional settings > >
... ... Replace "," to ".". |
Stazis, WMU plz =)
|
Very, very nice. This is an awesome share. I trust that the entire L2 private world will be extremely grateful for this. Thank you very much.
|
sharing spree ^_^
|
Who can make a guide for settings?
|
*updated list of WM with WMU and WMR
heh - 5WMZ total for now ... think it is worth to write some settings explanations ...=) |
Quote:
|
I will test it now, thank you Stazis :)
|
Height Increment setting is really needed? For what?
|
| All times are GMT. The time now is 22:50. |