|
Atari coding BBS
Re: Triangle clipping? |
Posted by: earx
|
May,21.2005-00:43
|
yeah, i thought of doing that a long time. it seemed like an advantage at first.. but then it downed on me that doing 3d cull/clip costs a bit extra as well. you have to check vertex orientation towards planes instead of transformed 2D points against a value. in fact, both are the same transformation...
okay, in the frustum case no perspective op required, but.... you need the actual transform on top of the frustum transform for every visible vertex. the clipping will be always 3D (and fp!) too, instead of 2D for left/top/right/bottom cases.
it might save geometry memory, though... but eventually the idea of just checking transformed bounding boxes seemed much more attractive for that.
so, frustum stuff is elegant and generic, but is not the fastest way.
|
[All messages in this thread] [Start new thread]
Topic
|
Posted by
|
Date
|
Triangle clipping?
|
Symmetry of TNG
|
May,19.2005-13:09
|
Re: Triangle clipping?
|
deez
|
May,19.2005-13:33
|
Re: Triangle clipping?
|
Symmetry
|
May,19.2005-14:10
|
Re: Triangle clipping?
|
earx
|
May,19.2005-14:35
|
Re: Triangle clipping?
|
mikro
|
May,19.2005-14:50
|
Re: Triangle clipping?
|
deez
|
May,19.2005-15:51
|
Re: Triangle clipping?
|
ray
|
May,19.2005-17:07
|
Re: Triangle clipping?
|
Symmetry
|
May,19.2005-19:05
|
Re: Triangle clipping?
|
sqward
|
May,19.2005-23:19
|
Re: Triangle clipping?
|
earx
|
May,20.2005-10:22
|
Re: Triangle clipping?
|
ray
|
May,20.2005-11:41
|
Re: Triangle clipping?
|
earx
|
May,20.2005-12:13
|
Re: Triangle clipping?
|
Symmetry
|
May,24.2005-21:11
|
Re: Triangle clipping?
|
mikro
|
May,20.2005-21:01
|
Re: Triangle clipping?
|
earx
|
May,21.2005-00:25
|
Re: Triangle clipping?
|
sqward
|
May,21.2005-11:21
|
Re: Triangle clipping?
|
parapete
|
May,20.2005-21:26
|
Re: Triangle clipping?
|
earx
|
May,21.2005-00:43
|
Re: Triangle clipping?
|
sqward
|
May,21.2005-11:17
|
Re: Triangle clipping?
|
Gizmo
|
May,22.2005-18:09
|
Re: Triangle clipping?
|
Symmetry of TNG
|
May,24.2005-20:05
|
What's the anti-troll code? That's your personal code to be able to add comments and messages on the dhs.nu site.
Don't have a code or forgot it? Fix it here.
|