Hi All!

  Uff, today I've got 3d triangle working (basic shading no textures), but
there are some problems with coordinates (only works with some values, but
this is minor bug ;-) ) and with colors (see my post in ggi-3d).
  I don't understand the color computing at all. If somebody could explain
me how to compute color deltas (in triangle code there are two types, 1
is with respect to x axis and 2. is with respect to y axis) and computing
colors in 8bit palletized mode I'll be very happy and proggress will move
faster.
  And I've one little question about interface of kgicon 3d.
To get 3d work I had to create new suggested strings (ACCEL_DRAWTRIANGL_3D
and ACCEL_DRAWLINE_3D for now) and new structs and I'd like to ask if
this will be forever or is there be another concept (may be new KGI)?
If no. I've some idea what about have ioctl, for example, draw_triangle,
which will only load parameters from struct, e.g.

struct triangle {
        kgiu32 base_u, base_v, ....;
        kgiu16 r,g,b,a;
        kgiu32 x_start, y_start, z_start;
        .
        .
        .
};

With this you'll have to have some lib (like mesa target) which will do
the programing so you won't have to have some special IOCTLs like
DRAWTRIANGLE_TEXTURED or DRAWTRIANGLE_SMOOTH. And of course the size
of accelerated driver will be limited to minimum. Do you understand me?

To ViRGE guys: Still doesn't get any response from you about helping me.
              If you want accel. Quake running you should help me ;-))

To Jos: Have you tried something in 3d?

Bye, Martin

Reply via email to