[gameprogrammer] Re: texture mapping in open gl

can you describe what the edge flag actualy does? im curious how it draws
differently when the egde flag is set or unset so that it looks correct,
can't seem to get around this one in my head :P

On 10/14/05, Sami Näätänen <sn.ml@xxxxxxxxxxxx> wrote:
>
> On Wednesday 12 October 2005 20:22, Alan Wolfe wrote:
> > I've heard of an "edge flag" before, not sure what it does exactly or
> > how to set/unset it but i always assumed it was for this situation (:
>
> You are right. Drawing the two traingles will need the edge flag unset
> for the common edge to make the surface continuous. And same thing for
> other edges that belongs to the continuous inner surface.
>
> > On 10/12/05, Roger D Vargas <luo_hei@xxxxxxxx> wrote:
> > > I adapted some code for a 3ds file loader. I made my own renderer,
> > > but I have an small problem. I have a simple wall piece made in
> > > Milkshape, so every wall face is made of 2 triangles. Even when I
> > > use the texture coordinates stored in the file, I got an ugly line
> > > marking the polygon edges. Can somebody tell me if my problem is
> > > that Im using wrong texture coordinates or maybe Im missing some
> > > parameter to tell open gl to blend texture borders?
> > >
> > > --
> > > Roger D. Vargas
> > > http://dsgp.blogspot.com | Linux, programación, juegos
> > >
> > >
> > >
> > >
> > > ______________________________________________
> > > Renovamos el Correo Yahoo!
> > > Nuevos servicios, más seguridad
> > > http://correo.yahoo.es
> > >
> > >
> > > ---------------------
> > > To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
> ---------------------
> To unsubscribe go to http://gameprogrammer.com/mailinglist.html
>
>
>

Other related posts: