Here are the structure definitions
basically it is one Array with vertex definitions -> koordiantes, normales, colors
and any number of Indexarrays to work with this vertics
typedef struct ...
Type: Posts; User: dagute
Here are the structure definitions
basically it is one Array with vertex definitions -> koordiantes, normales, colors
and any number of Indexarrays to work with this vertics
typedef struct ...
I use 3 function for every primitive - example here ( I cut out the other planes ) VBO_Quad -> creates the data in the machines memory
Upload_VBO transfers everything to GPU memory
Draw_VBO...
My vbos keep koordinates, normals and colors for each Vertex - no textures.
There is no need to specify any color, if I want a different I modify the color fileds of the vbo vertices.
The display...
I cannot follow you, I hand a rgba value to the function that holds the base color of the text.
whats wrong with it??
I thought a vbo whose vertics color alpha value is 255 can never be...
glColorMaterial
glColorMaterial
Hi
no the cube is visible - but as its color is like 255, 255, 255, 128 -> with a scaled alpha value
Thank god this is not a japanese forum
Assume a solid cube color = 255, 255, 255, 255 -> white no transparency,
in the center of the cube is my text.
The first frame shows only the cube ->...
Hi thanks for your reply
if I change to GL_ALL_ATTRIB_BITS the text does not display any more
I have taken out glCallList( _ax_3D )
the first frame is rendered correct - the second is bad
...
Hello
any combination of VBOs with any color combinations etc. works fine.
As soon as I display text the VBO colors are transparent.
extern void Str_3D( Vertex_Struct* pos, char *str,...
Hello from germany
I have stored some objects as VBOs an everything works fine.
If i draw an additional text - created with wglUseOutlineFonts and stored as display lists
the VBO color - which...