Re: [AD] Re: [AL] Can you try running exscn3d in 8bit mode? |
[ Thread Index |
Date Index
| More lists.liballeg.org/allegro-developers Archives
]
On Wed, 2004-11-03 at 16:56 +1100, Peter Wang wrote:
> N. Roy wrote:
>
> >
> > Peter Wang wrote:
> >
> >> Please test out the attached patch. And no smirking.
> >>
> >> Peter
> >
> >
> >
> > That worked. <hides smirk>
> >
> Cheers, committed into trunk and stable branch.
>
Are you sure this is a proper fix?
This is the cube that is drawn:
{ -10., -10., -10., 0., 0., 72 },
{ -10., 10., -10., 0., 0., 80 },
{ 10., 10., -10., 0., 0., 95 },
{ 10., -10., -10., 0., 0., 88 },
{ -10., -10., 10., 0., 0., 72 },
{ -10., 10., 10., 0., 0., 80 },
{ 10., 10., 10., 0., 0., 95 },
{ 10., -10., 10., 0., 0., 88 }
According to the documentation, POLYTYPE_GCOL will use palette entries
interpolated by the vertex colors. So never should a color outside
72..95 be used. I'd actually set all other palette colors to weird
values, or maybe to bright pink, to demonstrate this to users - instead
of setting them to black.. right now, this example is confusing, since
everyone will ask "why do they set the unused palette colors? i must be
missing something, i should re-read the docs.. hmm.."
--
Elias Pschernig