Article View: pl.comp.demoscena
Article #32722Re: OPENGL: jaka technika rozwiaze ten problem?
From: biki
Date: Mon, 14 Feb 2005 09:05
Date: Mon, 14 Feb 2005 09:05
21 lines
1931 bytes
1931 bytes
sprobujmy tak. macierz opengl projection wyglada chyba tak 2n/(r-l) 0 (r+l)/(r-l) 0 0 2n/(t-b) (t+b)/(t-b) 0 0 0 -(f+n)/(f-n) -2fn/(f-n) 0 0 -1 0 czyli wsp Zz uzywana przy porownywaniu z-bufora sie liczy z czegos w stylu Zz=[(f+n)/(f-n)*Z+2fn/(f-n)]/Z Zz=(f+n)/(f-n) + (2fn/(f-n))/Z a my chcemy to ciut zmniejszyc zeby porownanie dawalo lepszy wynik czyli manipulujemy (f+n)/(f-n) wiec o ile sie nie walnolem w rozumowaniu to wystarczy zassac macierz projection zmienic o jakas niewielka wartosc pozycje [2][2] macierzy i zaladowac z powrotem i wtedy wyrenderowac drugi przebieg
Technical Details
Message-ID:
<95FD60D0Bbikikillerradomnet@193.110.122.97>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailReferences:
<csoqo7$ooq$1@inews.gazeta.pl> <95E54556Dbikikillerradomnet@193.110.122.97> <csqhk8$a9a$1@inews.gazeta.pl> <csqr44$of$1@atlantis.news.tpi.pl> <csr00s$lcs$1@inews.gazeta.pl> <csr7a1$e1v$1@news.onet.pl> <csre4h$t03$1@inews.gazeta.pl> <ct2bhp$5hr$1@atlantis.news.tpi.pl> <ct30g6$deb$1@inews.gazeta.pl> <ct4s0j$7r7$1@nemesis.news.tpi.pl> <ct5lsj$2os$1@inews.gazeta.pl> <ctqsib$ke3$1@inews.gazeta.pl> <ctshq6$5lc$1@nemesis.news.tpi.pl> <ctt5j4$dk2$1@inews.gazeta.pl> <ctt6s1$8ri$1@nemesis.news.tpi.pl> <cul0j9$88c$1@inews.gazeta.pl>Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: biki@viper.pl (biki) Newsgroups: pl.comp.demoscena Subject: Re: OPENGL: jaka technika rozwiaze ten problem? Date: Mon, 14 Feb 2005 09:05:31 +0000 (UTC) Organization: ? Lines: 21 Message-ID: <95FD60D0Bbikikillerradomnet@193.110.122.97> References: <csoqo7$ooq$1@inews.gazeta.pl> <95E54556Dbikikillerradomnet@193.110.122.97> <csqhk8$a9a$1@inews.gazeta.pl> <csqr44$of$1@atlantis.news.tpi.pl> <csr00s$lcs$1@inews.gazeta.pl> <csr7a1$e1v$1@news.onet.pl> <csre4h$t03$1@inews.gazeta.pl> <ct2bhp$5hr$1@atlantis.news.tpi.pl> <ct30g6$deb$1@inews.gazeta.pl> <ct4s0j$7r7$1@nemesis.news.tpi.pl> <ct5lsj$2os$1@inews.gazeta.pl> <ctqsib$ke3$1@inews.gazeta.pl> <ctshq6$5lc$1@nemesis.news.tpi.pl> <ctt5j4$dk2$1@inews.gazeta.pl> <ctt6s1$8ri$1@nemesis.news.tpi.pl> <cul0j9$88c$1@inews.gazeta.pl> NNTP-Posting-Host: 213.76.128.242 X-Trace: atlantis.news.tpi.pl 1108371931 10241 213.76.128.242 (14 Feb 2005 09:05:31 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Mon, 14 Feb 2005 09:05:31 +0000 (UTC) User-Agent: Xnews/03.08.28 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit