Hi !

> > However I suppose the above call might be enough for the simple "common
> > ioctl" layer. If you want to be really fast, you will need a card-specific
> > communications layer anyway.
> Which call ? :)
struct kgi_3dtriangle {int x0,y0,z0,x1,y1,z1,x2,y2,z2};

> > Good point. I do not know about cards that use float. Should be pretty 
> > rare,  as floats are very expensive to handle and rarely needed, unless 
> > the card has an internal geometry processor. 

Seems I was wrong on that its rare. personally I think it is a sick idea, as
it gains nothing for much more complexity, but ...

> > However most cards allow for fixedpoint, as this is how they work
> > internally. Would 16.16 fixedpoint be o.k. ?

> Well... All I can say is that on my ViRGE I'd have to drop the fractional
> part of the Z value, 

Or "expand" it ... You can basically do arbitrary transformations to Z-values
as long as ordering is preserved.

CU, ANdy

-- 
Andreas Beck              |  Email :  <[EMAIL PROTECTED]>

Reply via email to