Re: DrawIndexedPrimitives Offset

From: Steven Licciardi (steven_licciardinnoossppaamm_at_hotmail.com)
Date: 05/07/04


Date: Fri, 7 May 2004 16:05:48 +0100

Yes that still gives me nothing. I am sure that the problem is that I am
entering the wrong values for the various parameters. If I had an example
that would help a lot.

Thanks,

Steven

"Lynn Harrison" <lharrison@dvc400.com.NOSPAM> wrote in message
news:e8xJAOENEHA.556@tk2msftngp13.phx.gbl...
> Steven,
>
> If it is a triangle list and you start at the wrong point in the list, the
> points will have the wrong winding and will face in the opposite
direction.
> Try indexing one point further and see if the triangles reappear.
>
> --
>
> Lynn Harrison
> SHAMELESS PLUG - Introduction to 3D Game Engine Design (C# & DX9)
> www.forums.Apress.com
>
> "Steven Licciardi" <steven_licciardinnoossppaamm@hotmail.com> wrote in
> message news:Oe0OPoDNEHA.1608@TK2MSFTNGP12.phx.gbl...
> > I am trying to draw a Triangle list using an Indexed buffer, this works
> fine
> > if I draw all the triangles, i.e. starting from zero, however whenver I
> try
> > and just draw the last half of the triangles in the Index Buffer I get
> > nothing. Does anyone have an example of Drawing Triangles using a
> > DrawIndexedPrimitives with an offset, as I cannot seem to work what all
> the
> > parameters should be.
> >
> > Thanks,
> >
> > Steven
> >
> >
>
>