Is there a way to render a set of vertices without using vertex buffers (similar to how OpenGL does it)?
Rendering without Vertex Buffers
Started by chenbin_osu, Jul 13 2003 08:45 PM
6 replies to this topic
#1
Posted 13 July 2003 - 08:45 PM
#2
Posted 13 July 2003 - 09:49 PM
you can fake it by creating an (arbitary sized) vertexbuffer, and then just write all the glVertex calls to it (and the others, of course, too..).. and when ever it get filled, just draw it on screen.. and start at the front again..
works rather well.. seen some classes doing it floating around in the web..
works rather well.. seen some classes doing it floating around in the web..
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....
#3
Posted 15 August 2003 - 12:54 PM
Use the function DrawPrimitiveUP().
#4
Posted 15 August 2003 - 01:09 PM
really? thought they where ment to send pretransformed vertices.. i possibly mixed something up now..
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....
#5
Posted 15 August 2003 - 02:26 PM
Yeah, it's like DrawPrimitive but instead of a vertex buffer you can use an array of vertices.
DirectX9 DSK:
DirectX9 DSK:
Quote
This method is intended for use in applications that are unable to store their vertex data in vertex buffers.
#6
Posted 15 August 2003 - 03:04 PM
ah, okay.. thanks for clarification..
davepermen.net
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....
-Loving a Person is having the wish to see this Person happy, no matter what that means to yourself.
-No matter what it means to myself....
1 user(s) are reading this topic
0 members, 1 guests, 0 anonymous users












