Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Suggestions #2

Open
r-lyeh-archived opened this issue Jul 22, 2016 · 4 comments
Open

Suggestions #2

r-lyeh-archived opened this issue Jul 22, 2016 · 4 comments
Assignees

Comments

@r-lyeh-archived
Copy link

r-lyeh-archived commented Jul 22, 2016

Hey dude, good work.

I've wondering if you plan to add eventually:

  • line thickness
  • line style { dotted ... , slashed _ _ _ , dotslashed . _ . _ . and/or others }
  • line alpha lerp { lerp between 0.0 at midpoint and 1.0 at every edge }

keep up the good work

@glampert
Copy link
Owner

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
Copy link
Author

Nice ideas there.

One more suggestion:

  • 2D shapes { circle, rectangle, triangle, arrow.. } in both ortho and projected perspectives.

@glampert glampert self-assigned this Jul 26, 2016
@r-lyeh-archived
Copy link
Author

More ideas:

  • Grid with semi-transparent lines; and solid thicker lines on axes.
  • Grid with very thick lines on axes, medium thick every X units, else regular thickness.

image

@r-lyeh-archived
Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants