|
-
Jun 1st, 2002, 05:26 AM
#1
Thread Starter
Addicted Member
Direct X 8.1 and VB.NET
Hi,
For a long time im working on creating a 3D game, readed lot of tutorials and stuff.
Previous test on VB6 worked fine.
Now i want to use the code on VB.NET,
After a few day converting the code i had, i finaly have a black screen 
I only cant get objects on the screen, engine doesnt render it.
Also codes like
D3DVertexBuffer8SetData VertexBuffers(a), 0, VertexSizeInBytes * 4, 0, MapBuffer(a).Vertices(0)
fails,
D3DVertexBuffer8SetData is an unknown command, the directX class is imported into my engine class.
-
Jun 1st, 2002, 05:43 PM
#2
The thing that I have been hearing about DX and .NET is wait for DX9. I dont know if this goes for just C#, or for all of .NET, but that's what Ive heard.
I dont know how VB.NET would like Direct3DVertexBuffer8.Lock and .Unlock, but if D3DVertexBuffer8SetData isnt avalible, you will have to use those.
Z.
-
Jun 2nd, 2002, 05:29 PM
#3
Addicted Member
DX doesn't work in .NET, period - something about how .NET works keeps it from working. Once DX9 comes out you'll be able to write DX managed code without having to interface to COM, or anything. Just be patient. GDI+ is pretty nice, anyway - you could probably make decent 2D games with it.
"1 4m 4 1337 #4xz0r!'
Janus
-
Jun 3rd, 2002, 11:55 AM
#4
Thread Starter
Addicted Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|