Re: R300 & depth buffer

2004-10-28 Thread Nicolai Haehnle
Hi, First of all, you should really check out the r300_driver module from CVS of the r300 project on SourceForge, and especially have a look at docs/r300_reg.h, which is where I put all register information that I and others have found so far. On Tuesday 26 October 2004 14:18, Jerome Glisse wr

Re: R300 & depth buffer

2004-10-27 Thread Jerome Glisse
Vladimir Dergachev wrote: Hi Jerome, I just have a moment, so I likely missed some of the questions in the e-mail. I just want to point out that the example in r300_demo that paints triangles is likely wrong. You see it uses parameters to upload vertex coordinates. I would have exp

Re: R300 & depth buffer

2004-10-26 Thread Vladimir Dergachev
Hi Jerome, I just have a moment, so I likely missed some of the questions in the e-mail. I just want to point out that the example in r300_demo that paints triangles is likely wrong. You see it uses parameters to upload vertex coordinates. I would have expected that those are actua

R300 & depth buffer

2004-10-26 Thread Jerome Glisse
Hi, I was playing a little around with r300 mainly looking at depth buffer. I'm still unable to make it work properly. Thus i have few questions. In radeon driver it seems that default value for z_scale & z_offset are 0 (radeon/radeon_state_init.c) Why are they set like that ? I changed the dep