| Blockland Forums > Modification Help |
| Blender BLB Exporter [v2.0.0] |
| << < (12/14) > >> |
| Conan:
minor bug: you use the pre-rounded values when checking if grid[type] meshes are outside the bounds mesh. probably the same bug for collisions, but i didn't check. |
| Teneksi:
I'm getting this every time I export anything with brick grid definitions |
| Demian:
--- Quote from: Teneksi on March 26, 2017, 01:34:25 PM ---It's good to see that this is still updated. -- --- End quote --- A bit slowly though... --- Quote from: Conan on March 26, 2017, 07:31:13 PM ---minor bug: you use the pre-rounded values when checking if grid[type] meshes are outside the bounds mesh. probably the same bug for collisions, but i didn't check. --- End quote --- This is done on purpose. Otherwise the floating point errors would seriously screw you over. In fact my goal is to round vertex coordinates as soon as they are read in order to negate FPE's as much as possible but I'm sure I've missed some places. --- Quote from: Teneksi on March 26, 2017, 07:38:03 PM ---I'm getting this every time I export anything with brick grid definitions --- End quote --- Looking into it. |
| Conan:
--- Quote from: Demian on March 27, 2017, 03:24:35 AM ---A bit slowly though... This is done on purpose. Otherwise the floating point errors would seriously screw you over. In fact my goal is to round vertex coordinates as soon as they are read in order to negate FPE's as much as possible but I'm sure I've missed some places. Looking into it. --- End quote --- how would fpe screw over grid definitions? wouldnt it be easy enough to check if they conform to the brick grid? i get what you mean about collisions though - i still think it would be an extremely minor or unnoticeable change. the current way makes it so that sometimes you have to literally select a box with a dimension and reenter the number in the box so that blender fixes the accuracy on the dimension despite having no visible changes in terms of displayed number. rounding it to 4 decimal places automatically would be accurate enough for blb's i presume. correct me if i am wrong. |
| Demian:
--- Quote from: Conan on March 27, 2017, 03:58:44 AM ---how would fpe screw over grid definitions? wouldnt it be easy enough to check if they conform to the brick grid? --- End quote --- Because even though a mesh appears to be Blender grid aligned, a vertex could still have a coordinates such as 1.00000000012 which could cause it to be out of bounds if on the edge of the brick. The rounding helps get rid of such errors. I don't see the issue here? Actually reading your original post again, did you mean that I use the raw unrounded vertex coordinates when checking for out of bounds? This is not correct, the vertex coordinates and bounds coordinates are rounded when doing this check for brick grid objects. Can you paste the log lines of this error you're getting? I've fixed the issue with brick grid + another one. Waiting on more info on this rounding problem before releasing a new version because I can't replicate it. Install the develop branch if you want the fixes ASAP. Edit: Saw your edit Conan, looking into it. |
| Navigation |
| Message Index |
| Next page |
| Previous page |