-
Notifications
You must be signed in to change notification settings - Fork 452
Description
The issue I see is that the wireframe grid seems to be missing some horizontal lines when the y subdivisions are odd.
I am using an orthographic camera and a Flat3D shader. This is on an ubuntu 20.04 configuration with compiled 2020.06 Corrade, Magnum, and Magnum Plugins. Images exported using AnyImageConverter.
Some subdivision counts (such as 11 y subdivisions) are missing more than one horizontal line. I've tried exporting the image as tga
and png
but I get the same render.
Here are the grids I see for each of the subdivisions:
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({2, 2}));
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({2, 3}));
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({3, 2}));
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({3, 3}));
And here are a few square grids to show the difference between the odd and even values. Horizontal lines are the only ones missing and they are only missing for an odd number of y subdivisions.
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({4, 4}));
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({5, 5}));
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({9, 9}));
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({10, 10}));
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({11, 11}));
_mesh = Magnum::MeshTools::compile(Magnum::Primitives::grid3DWireframe({13, 13}));
Metadata
Metadata
Assignees
Labels
Projects
Status