2D (ortho) editing


Re: 2D (ortho) editing
#15
Travis Cobbs Wrote:I don't know how you're doing selection, but if you're using OpenGL's select buffers, then the above is only true if you disable depth testing during the select operation. Otherwise, if the frontmost part is drawn first, parts behind it won't make it into the select buffer. If you have your own custom hit testing, this obviously wouldn't be the case.

I don't use OpenGL's select buffers, last time I tried that it was ridiculously slow. I take the unprojected far/near line at the mouse cursor and check all mesh data using line/triangle intersection tests (after discarding big chunks using bounding boxes). This method is (surprisingly) much much much Smile faster then (classic) selection buffer tests.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
2D (ortho) editing - by Roland Melkert - 2012-05-03, 20:19
Re: 2D (ortho) editing - by Tim Gould - 2012-05-03, 21:30
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-03, 22:09
Re: 2D (ortho) editing - by Tim Gould - 2012-05-04, 0:52
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 16:20
Re: 2D (ortho) editing - by Travis Cobbs - 2012-05-04, 18:04
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 18:14
Re: 2D (ortho) editing - by Travis Cobbs - 2012-05-04, 18:23
Re: 2D (ortho) editing - by Willy Tschager - 2012-05-04, 12:08
Re: 2D (ortho) editing - by Philippe Hurbain - 2012-05-04, 12:23
Re: 2D (ortho) editing - by Steffen - 2012-05-04, 15:55
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 16:05
Re: 2D (ortho) editing - by Steffen - 2012-05-04, 16:09
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 16:38
Re: 2D (ortho) editing - by Travis Cobbs - 2012-05-04, 18:10
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-04, 18:27
Re: 2D (ortho) editing - by Tim Gould - 2012-05-04, 23:57
Re: 2D (ortho) editing - by Travis Cobbs - 2012-05-05, 17:36
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-06, 16:43
Re: 2D (ortho) editing - by Roland Melkert - 2012-05-12, 20:06

Forum Jump:


Users browsing this thread: 2 Guest(s)