Drawing conditional lines


Re: Drawing conditional lines
#14
I already described a possible mathematical solution here.

I also use hierarchical bounding boxes to check the visibility of subfiles on the screen.
LDPartEditor does not calculate the conditional line visibility for subfiles (sub-subfiles...) which are out of the screen.
The first matrix product (viewport x modelview matrix) can be cached. Therefore, only four vector transformations, two substractions, additionally 8 substractions, 8 multiplications, 8 additions and a final multiplication are necessary to create the discriminant for conditional line visibility. You can cache the result, too.
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Drawing conditional lines - by Santeri Piippo - 2013-05-08, 19:24
Re: Drawing conditional lines - by Tim Gould - 2013-05-08, 21:20
Re: Drawing conditional lines - by Steffen - 2014-11-28, 1:33
Re: Drawing conditional lines - by Nils Schmidt - 2014-12-26, 13:07

Forum Jump:


Users browsing this thread: 6 Guest(s)