Hi all,
this may be a simple question but I have been trying ages to get this to work without any success. The closest I get is being able to draw all the objects but they have the same colour but the colour is not correct, it seems to be a mixture of the colours of both objects.
What I have is:
A list of vertices with colour data which have data to draw a simple square
What I want to do is:
draw multiple copies of vertices but each time with a different colour. Something like
void setColourInVertices(int col)
{
loop through all the vertices and change the color property to 'col'
}
int i;
for(i=0;i<3;i++)
{
setColourInVertices(Red);
drawVerticesAt(i*20,20);
}
for(i=4;i<6;i++)
{
setColourInVertices(blue);
drawVerticesAt(i*20,20);
}
When doing the above is it important where you place the sceGUStart and sceGUFinsih and sceGUsync functions?.
Can someone post a small example of doing this?.
cheers.
drawing multiple objects with the GU with different colours?
Maybe you could be playing with light, ambient color or something like this?
Sorry for my bad english
Oldschool library for PSP - PC version released
Oldschool library for PSP - PC version released