Jump to content
Xtreme .Net Talk

Recommended Posts

Posted

Hi guys,

 

Hopefully this will be a quick question, but alas i cannot find anything on the web to help me (probably so simple it doesn't need documenting).

 

Mesh.GenerateAdjacency returns Integer(), but AllocateHierarchy.CreateMeshContainer needs it in the form of a GraphicsStream. Is there a way to convert between the two formats???

 

Cheers

Posted

Everywhere you turn theres a damn wall. Couldn't get X files to work so i wrote my own importer, and now i can't get them into an AnimationAllocation either! Bugger it, the only thing left is to change the mesh's vertex buffer manually each frame of animation, didn't want to but it's the only thing left to do

 

Damn you microsoft!!

 

Time to get my ZX Spectrum back out, at least that was straight forward to program in

Posted

Well, MDX was made for C# and if you can handle VB.NET then you can handle C#, never had any problems with .X files either.

If you simply hate C# then you can always make a seperate assembly that just contains functions that need to be done in C#

"Who is John Galt?"
Posted

I don't hate C# :).

I just prefer to program in VB.NET (for me, code comes faster in my mind when I use vb ... i dont know why, but that's just me).

 

I'll look into your wrapper (seperate assembly) thing.

 

-TPG

My VB.NET Game Programming Tutorial Site (GDI+, Direct3D, Tetris [coming soon], a full RPG.... you name it!)

vbprogramming.8k.com

My Project (Need VB.NET Programmers)

http://workspaces.gotdotnet.com/ResolutionRPG

Posted

I don't see why i should have to write half my code in another language when it should work equally well in both. Documentation says it should work but it doesn't. Ported several examples from C# to VB without any success. DirectX has not been well implemented in VB.NET and if they only intended to do half a job then they shouldn't have bothered at all.

 

Gripe over.

 

Having said all that, I've got around every problem i have ever had with directx by rewriting all the relevant functions and structures myself, importing mesh and animation data straight from milkshape3d files and i have a very nice frames per second rate too. I am now very happy.

 

Thank you all.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...