Archive 17/01/2023.

Geometry vizualization

sabotage3d

Hello ,

Is it currently possible to visualize vectors as lines, edges as lines and positions as points ?
I know that the Physics Debug Drawer is already doing a similar thing but I would like to do it directly.

codingmonkey

add your points to vb create ib(1,2,3…)

add vb and ib to geom

set geom - Geometry::SetDrawRange() method to LINE_STRIP or POINT_LIST

enum PrimitiveType
{
TRIANGLE_LIST = 0,
LINE_LIST,
POINT_LIST,
TRIANGLE_STRIP,
LINE_STRIP,
TRIANGLE_FAN
};

i suppose it’s must work