Original Post
Hi there,
In DirectX9, if I use the VertexBuffer constructor of:
m_vbOrigin = New VertexBuffer(m_device, CustomVertex.PositionColored.StrideSize * 6, 0, CustomVertex.PositionColored.Format, Pool.Default)
I get NOTHING displayed when I render the vertex buffer.
However, using THIS line of code instead, gives me what I want (three lines indicating the axes of the world colored in red, green, and blue centered at the origin)
m_vbOrigin = New VertexBuffer(GetType(CustomVertex.PositionColored), 6, m_device, 0, CustomVertex.PositionColored.Format, Pool.Default)
Anyone else had similar problems? I can''t figure out why there should be any difference.
Thanks,
Justin