Skip to content

Errors #8

@FRex

Description

@FRex

I want to have a single cube and then from it subtract another one that is rotated along around three axes. However it results in errors, the outside cube has a slash through it (so to speak).
See (textures being messy is okay, the hole is what the mistake is): http://i.imgur.com/HxpoRCX.png

The second cube is defined in the txt file.
Format of the txt is:
int amount of meshes,
for each mesh: int operation () + 0 0 0 (quirk of the thing that spits these out) + int amount of polys,
for each poly format is: amount of vertices + that many triplets of x y z.

It's just two cubes with 256 unit long sides but each vertex was transformed by a 4x4 matrix.
If I use the same cube with no rotations (identity matrix or just a translation) it works.
Is this an error related to numeric precision, some csg quirk?

Here is the data that causes the error (there are two cubes but first is skipped because it has op 0) and the Python3 script I use:
https://gist.github.com/FRex/6ca78af50f21e1cf7bdd342965a2b6f4

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions