markmal / freeship-plus-in-lazarus

FreeShip Plus in Lazarus
GNU General Public License v3.0
181 stars 35 forks source link

Bad whorse WRML import #64

Closed pafurijaz closed 4 years ago

pafurijaz commented 4 years ago

With every version is getting worse VRML importing, Here a mess file importing with FreeShip that i use some time to convert geometry to Nurbs. here what happened in this latest version.. Istantanea_2020-04-21_11-12-53 and below the old FreeShip. Istantanea_2020-04-21_11-13-31 Below the file of the geometry. TestOBJ-wrl.zip

markmal commented 4 years ago

I'll take a look.

markmal commented 4 years ago

is car VRML both sided or one side?

pafurijaz commented 4 years ago

The model is full without mirrored part. because if you make half you have a creased edges in the middle and that avoid the pinch in the middle because is hard to get a tangent with other side.

markmal commented 4 years ago

point tolerance was hardcoded to 1e-5. Some points that close enough were merged and this caused mess in faces. I've made tolerance autodetected from precision of coords in VRML file. Will be in next release.

pafurijaz commented 4 years ago

wow the same problem due to same bug?

pafurijaz commented 4 years ago

Now With latest version works very well,thanks :)