Convert Adjacency from Int[] to GraphicsStream

Poncho843

Member
Joined
Nov 4, 2004
Messages
12
Location
Daventry, England
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 doesnt 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
 
Everywhere you turn theres a damn wall. Couldnt get X files to work so i wrote my own importer, and now i cant get them into an AnimationAllocation either! Bugger it, the only thing left is to change the meshs vertex buffer manually each frame of animation, didnt want to but its 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
 
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#
 
I dont 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 thats just me).

Ill look into your wrapper (seperate assembly) thing.

-TPG
 
I dont 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 doesnt. 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 shouldnt have bothered at all.

Gripe over.

Having said all that, Ive 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.
 
Back
Top