[DiscordArchive] Why you need to use a offset https://github.com/Varen/occ_to_wdl-735/blob/master/Program.cs#L49 Is i
[DiscordArchive] Why you need to use a offset https://github.com/Varen/occ_to_wdl-735/blob/master/Program.cs#L49 Is i
Archived author: Luzifix • Posted: 2020-07-06T11:38:33.994000+00:00
Original source
Why you need to use a offset https://github.com/Varen/occ_to_wdl-735/...ram.cs#L49 Is it for objects on mountains like trees and stones ?
Archived author: Varen • Posted: 2020-07-06T11:50:18.238000+00:00
Original source
There has to be some offset otherwise it clips away too aggressively and you can end up in weird scenarios where something disappears a little too early
Archived author: Varen • Posted: 2020-07-06T11:51:10.130000+00:00
Original source
The proper smart way probably would be to make a heightmap that is X distance away from the actual faces in the direction of the normal
Archived author: Varen • Posted: 2020-07-06T11:51:20.144000+00:00
Original source
of each square
Archived author: Varen • Posted: 2020-07-06T11:51:25.500000+00:00
Original source
..but offsetting the height is good enuff
Archived author: Varen • Posted: 2020-07-06T11:53:18.683000+00:00
Original source
There's also the fact that the wdl is low rez compared to the actual map, imagine having an area that has a deep pit, but it's too small for the WDL to represent it
Archived author: Varen • Posted: 2020-07-06T11:53:23.395000+00:00
Original source
then you'd end up clipping it
Archived author: Varen • Posted: 2020-07-06T11:54:27.525000+00:00
Original source
Smart way would be to go through like you're generating a WDL but sampling the "lowest height" in each area you're working on, so you are sure that you don't clip any higher frequency data than the wdl has
I'll just touch up the bytes if a specific area is clipped too early
Archived author: Varen • Posted: 2020-07-06T11:55:05.205000+00:00
Original source
But well, again, for my purposes it's good enough
I'll just touch up the bytes if a specific area is clipped too early
Archived author: Luzifix • Posted: 2020-07-06T12:03:51.255000+00:00
Original source
ok, cool tool thx after i implement wdl generation i try to generate _occ