-
Notifications
You must be signed in to change notification settings - Fork 215
Error when center-scaling multiples octants #26
Comments
Ok i think the problem is just linked to the fact that the script retrieve all of the file in the ram (2.4gb) I suppose I can fix it following this tomorrow, will try and PR if I do |
added in #27 but don't merge it already, still have to test it with a 3d engine |
I've been cancelling entirely this issue since it doesn't solve a more important problem: model with more than 200 mb have huge troubles loading in engines like Unity or Blender, i've made a few pipeline scripts that combine efforts from everyone to streamline the process to dump an area into small roughly 60 mb tiles that are self contained and precisely geolocated, would it be interesting to open up a new MR with the script ? @retroplasma |
here you can see the repo where it is working (i've reworked both the python script from lexsong and your dump_obj script) @LexSong linking you here aswell lexsong as you may be interested, was able to do it mostly with your script that I changed a little bit |
I personally don't use the normalization script and use my own script to rotate and normalize the mesh by latitude and longitude. It's still have several KMs error but I can fix it later in 3D software. |
We're also using a script to rotate it but we're doing it directly in the 3D software (basically we just us rotation = (-latitude, 0, -90 + longitude)), however we have a problem using the normalization script proposed by retroplasma, the way it center the object make is fine to align them by X/Z axis but impossible to align the tiles with the Y axis in an automatic way, did you found any better way to do it ? |
See #30 |
Hello,
when trying to center/rescale an obj composed of numerous octants (retrieved by LexSong script) we get this:
Look like the computer either ran out of ram or there is some kind of limitation in the node javascript engine, is there any possible fixes for this you can think of ? like storing on hard disk ?
will try tomorrow with a 32 gb ram server, here i only have 16gb
The text was updated successfully, but these errors were encountered: