|
Atari coding BBS
Re: Triangle clipping? |
Posted by: Symmetry
|
May,19.2005-14:10
|
Thanx!
Will eye it through later..
My plan is to go to s12.3 integer coordinates (that gets truncated at drawing to screen).
But gets atleast a bit "fractional" accurasy in the transformations...
Basic principle of SH i know ..a bit unsure how to get it to find the Intensityvalue at intersection (&later UV). I think i have heard that parametric lines can be used.... But there is also a neat "68K asm way" to find it using a short iterative method ("halfing method") but then im unsure if it can be used to find I/UV values aswell...
But my main consern about SH is that:
1st its Only 3 edges!!! ...is there no easier way?? ...2nd that these 3 edges needs to be checked agains 4 screen boundaries even if they only crosses one...
There must be a simpler way... (or?)
Im also unsure if it is a good thing to use when there is NO EdgeBuffers! ...everything has to be "on the fly" using registers... (is SH good then?)
Thanx again!
|
[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.
|