On Tue, 5 Oct 1999, [iso-8859-1] Rub�n wrote:
> On 1999/Oct/05, Jos Hulzink wrote:
>
> > struct kgi_3dtriangle {int x0,y0,z0,x1,y1,z1,x2,y2,z2};
> >
> > Comments please !
>
> I don't like this kind of 3dtriangle at all, it needs 9 copies of
> data to draw a triangle, maybe it's insignificant when you must call later
> ioctl, which surely eats up more cpu. But when you implement multiple
> commands (one call for each triangle is very slow), it will be more
> significant. I would propose this alternative:
>
> struct kgi_3dvertex { int x,y,z;};
>
> struct kgi_3dtriangle { kgi_3dvertex *v0, *v1, *v2; };
What about the exta fields (W, specular/diffuse color, texture
coords, vertex fog)?
Jon
---
'Cloning and the reprogramming of DNA is the first serious step in
becoming one with God.'
- Scientist G. Richard Seed
- Re: 3D ioctls and other new stuff in KGI Jos Hulzink
- Re: 3D ioctls and other new stuff in KGI Andreas Beck
- Re: 3D ioctls and other new stuff in KGI Jon M. Taylor
- KGI_COMMANDS, was: Re: Doesn't need vertical ... Jos Hulzink
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... Rub�n
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... Andreas Beck
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... Jon M. Taylor
- Re: KGI_COMMANDS James Simmons
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... Jos Hulzink
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... becka
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... Jon M. Taylor
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... Andreas Beck
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... Jon M. Taylor
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... Jon M. Taylor
- Re: KGI_COMMANDS, was: Re: Doesn't need verti... Jos Hulzink
- Re: KGI_COMMANDS Marcus Sundberg
- Re: KGI_COMMANDS Jos Hulzink
- Re: Doesn't need vertical retrace! Rub�n
- Re: Doesn't need vertical retrace! Jon M. Taylor
- Re: Doesn't need vertical retrace! Andreas Beck
- Re: Hardware cursor James Simmons
