FreeBasic Games Directory Forum

FreeBASIC Game Development => Programming => Topic started by: mikorians on October 22, 2012, 09:59:19 AM

Title: Excited noob: DX3D8 usage
Post by: mikorians on October 22, 2012, 09:59:19 AM
I am running on my mediical computer here in a hospital, and it's windows 98.  I can't change it, but I have my thumb drive with a copy of my life's old work on it.

I have a complete engine in Visual Basic 6 that runs pretty slow (140K tris/50fps)  Since I'm confined here, I was wondering if I could finish off this bucket list item and be done with it.
It utilized DirectX3D8 and I noticed that there were .bi files for this.
How can I invoke it?
Any examples?

DX9 is shaky on this thing and I want to stick to the original methods of invocation.  I am going to adapt it to vertex buffer usage.
Are there any examples of this for boned/skinned meshes?

I want to post it all up as open source when I'm done.
Thanks!

About 'Tourist':  It's a relaxing exploration/virtual reality style engine with sun/moon/weather, and a carnival, mountains, pools, beaches, castles, vehicles....  Lots of work already done long ago...
Much more I'd like to do.  I have lots of useful 3DS Max5 macroscripts I can share when I'm done that involve using .x files, lots of data and quirks about them, etc, etc, etc...  Yeah!
Title: Re: Excited noob: DX3D8 usage
Post by: mikorians on October 23, 2012, 08:37:24 PM
Yeah.  I'm really excited since I've benchtested this programming language and found it to be very fast in 2D.
Seems to run about as fast as Asm...   I need implement the specific hardware acceleration of this old computer -- it is my computer, so let's go, huh?
It'll be real cool.  So...

Are there any specifics I should be aware of, am I performing some sort of faux pax here or something???
I thought we were talking vintage computing enjoyment and all...

I was referred to you folks by the Maxm32 forum guys, they were very helpful...
Trying to make my engine run faster, gonna convert it myself...
Just need some tips...
This thing is free, yes???  Your website said I had to sign in before getting an example, and I already was, so....  ??
Title: Re: Excited noob: DX3D8 usage
Post by: Lachie Dazdarian on October 24, 2012, 01:48:15 AM
Not sure what you are asking for. This is a forum for game development in the FreeBASIC compiler. If you engine is in VisualBASIC, I don't think we can help you.

For development of 3D games in FreeBASIC, I can recommed 3rd party libs that are wrapped for FreeBASIC, directly OpenGL or those based on it (like Irrlicht or MiniB3D).
Title: Re: Excited noob: DX3D8 usage
Post by: mikorians on October 24, 2012, 10:46:29 AM
This is a conversion of an application to FreeBasic.  I will need to understand how to invoke DirectX8 from the .bi files properly since it uses things like

a = new dx8

and so forth, so an simple FreeBasic example of proper DirectX8 API  invocation (versus the default methods) would be helpful as I can probably take it from there.
Proper shutdown of the API. I also used DirectShow and DirectInput with forcefeedback.
These are the API functions for doing those fun things--  At least as I learned 'em...  Everyone seems obsessed with 2D.  This is my life's work.
Title: Re: Excited noob: DX3D8 usage
Post by: Lachie Dazdarian on October 25, 2012, 01:37:32 AM
I recommend trying the official FreeBASIC General Programming subforum: http://www.freebasic.net/forum/viewforum.php?f=3&sid=a9832c94cc030c8627eb2952ceff039c
Title: Re: Excited noob: DX3D8 usage
Post by: mikorians on October 25, 2012, 09:22:03 AM
Thank you.  I realized finally that these are two different sites.  My message for help there got bumped immediately.