PDA

View Full Version : gdk guide


protomor
02-05-2004, 09:23 PM
I dont get how to display just a triangle using d3d in the gdk... the guide doesnt really help much. sorry but im dumb

Dia Kharrat
02-06-2004, 11:12 PM
Did you check the DirectX tutorials (http://triplebuffer.devmaster.net/tutorials/stepping1.php)? One of them goes over displaying a triangle.

bladder
02-07-2004, 12:36 AM
oh! I thought this was a "nm" post, didnt realize you changed it. Anyway, The gdk still dosnt have any high level triangle displaying capabilities (so you're not dumb :)). The only way to currently display a triangle using the gdk is to get a pointer to the inner d3d9 device, and create a vertex buffer, and draw that.

I will be adding the high level stuff after the next release. 1.3 is almost done, 1.4 should contain vertex buffer stuff, and camera stuff. Im even putting up gdk tutorials this time, and ive also renamed the gdk to dxw (directx wrapper), cause lets face it, that's really closer to what it really is...

look out for the next two releases, and you'll have more at your disposal.