gfxgfxFreeBASIC Games Directory Forumgfxgfx
gfx gfx
gfx
Welcome, Guest. Please login or register. March 19, 2019, 06:04:05 PM

Login with username, password and session length
10.03.2019 - Round 1 results of our "A Love Letter For FreeBASIC" game dev competition have been published. Please be sure to check the results thread: http://games.freebasic.net/forum/index.php?topic=629.0. Don't forget that the competition is continuing with a round 2, lasting till 8th of April, 300 USD first prize. Stay tuned!
gfx
gfx
*
gfxgfx
gfxgfx gfxgfx
gfxgfx Home Help Search Login Register   gfxgfx
gfx gfx
gfx
Pages: [1]
Print
Author Topic: Excited noob: DX3D8 usage  (Read 3559 times)
mikorians
Amoeba
*
Posts: 5


In a fog


View Profile WWW Email
« 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!
Logged

mikorians
Amoeba
*
Posts: 5


In a fog


View Profile WWW Email
« Reply #1 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....  ??
« Last Edit: October 23, 2012, 08:38:54 PM by mikorians » Logged

Lachie Dazdarian
Double dipper
Administrator
Forum Sage
*****
Gender: Male
Posts: 1301


lachie13
View Profile WWW Email
« Reply #2 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).
« Last Edit: October 24, 2012, 01:51:35 AM by Lachie Dazdarian » Logged

"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist
mikorians
Amoeba
*
Posts: 5


In a fog


View Profile WWW Email
« Reply #3 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.
« Last Edit: October 24, 2012, 11:51:32 AM by mikorians » Logged

Lachie Dazdarian
Double dipper
Administrator
Forum Sage
*****
Gender: Male
Posts: 1301


lachie13
View Profile WWW Email
« Reply #4 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
Logged

"Things like Basic and Free Basic provide much-needed therapy and a return to sanity and a correct appreciation of people. The arrogant folk really hate a word like 'Basic' - fine, and good riddance." ~ pragmatist
mikorians
Amoeba
*
Posts: 5


In a fog


View Profile WWW Email
« Reply #5 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.
Logged

Pages: [1]
Print
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines
Cerberus design by Bloc
Valid XHTML 1.0! Valid CSS!
gfx
gfxgfx gfxgfx