Re: how a w=0 vertex is tranformed and rasterized?




<seayoung@xxxxxxxxx> wrote in message
news:1139902867.624206.252190@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

if in the projection matrix ,the Zn is 10, the Zf is 110,the Vw is
10,then the vector (5,0,10,0) after the projection
transform is (10,0,11,10),after divided by w,it is (1,0,1.1,1),how can
the graphics card knows it is a vector and not a
position. a point of that value is possible.How the graphics card does
with this?

PosView might have w = 0, but its projection does not.
The output 4-tuple position of a vertex shader must be in
"clip space" coordinates. The rasterizer uses these and does
the perspective divide itself, and eventually calls the pixel
shader for each pixel visited during rasterization.

Regarding "How the graphics card does with this?". Your vertex
and pixel shaders *are* telling the graphics card how to deal
with this :)

--
Dave Eberly
http://www.geometrictools.com


.



Relevant Pages

  • Re: Dedicated CAD computer?
    ... When you specify a DirectX9.0c graphics card make sure it supports shader ... nante nai no wa ... kimi no koto wasureta toki ga nai kara ...
    (sci.electronics.cad)
  • Re: Graphics Card for P5W DH Deluxe
    ... offer advice on a good Graphics Card for gaming. ... Any advice appreciated. ... difference between 24 bit RGB and 30 bit RGB until I installed this board. ... A poster sized image at 50 bits per pixel will run any graphics program to ...
    (alt.comp.periphs.mainboard.asus)
  • Re: Standard Row Height setting confused
    ... In the standard Excel table done with Arial 10 the row height is 12.75 ... On my computer, however, I see a row height of 13.20 (20 pixel). ... re-install the graphics card driver software things are confused again. ... Dell Latitude D820, graphics card nvidia Quatro NVS 120m ...
    (microsoft.public.excel.misc)