glampert / debug-draw

Immediate-mode, renderer agnostic, lightweight debug drawing API.
http://glampert.com/
502 stars 36 forks source link

Suggestions #2

Open r-lyeh-archived opened 8 years ago

r-lyeh-archived commented 8 years ago

Hey dude, good work.

I've wondering if you plan to add eventually:

keep up the good work

glampert commented 8 years ago

Thanks @r-lyeh!

I can see how that can be useful for debugging, but wasn't planning on adding anything new at the moment. I might give it some priority though, if people are interested on those features...

I think those features wouldn't be hard to implement and can be added on the library side without changing the existing interfaces.

Line thickness might be a bit of a problem though. If it is just passed on to the user renderer then it would have to be a hint, since not all platforms and rendering APIs support configurable line thickness. OpenGL in particular has poor support with glLineWidth. Or optionally handle it on the library side by drawing a stretched quad when thickness != 1.

r-lyeh-archived commented 8 years ago

Nice ideas there.

One more suggestion:

r-lyeh-archived commented 8 years ago

More ideas:

image

r-lyeh-archived commented 7 years ago

It would be handy to support 3D gizmos as well, as seen in: