1.

Solve : QBASIC PDS 7.1 capable of 3D Graphics????

Answer»

Ok i read in the index that QBASIC PDS 7.1 can work with .OBJ files. and some 3D files are OBJ Files. Does that mean that QBASIC can work with 3D graphics(like the ones in Doom). I know this is probably a stupid question but i have never worked with QBASIC.

Thanks in Advance.
Well now, possibly

Good luckThanks Dusty.I'm not particularly sure what your asking, but any programming language capable of graphics (QB and all it's flavours, for example), is capable of 3d graphics, it's just that you'll need to write the 3d-transformation and projection code, not EXACTLY a light undertaking. I'm sure you'll find libraries of some sort that can help you.


the QuickBasic Index is talking about Object Code files, which are generated one per each module, and then linked into the final EXE. this is true for almost all compiled programming languages. For example, if you had a Module called "MODMAIN.BAS" and another called "MODPROCS.BAS", you could write a bunch of helper procedures in MODPROCS, and, given the appropriate include information (in a .BI file, if memory serves) you could use procedures in MODPROCS.BAS (compiled to MODPROCS.OBJ by the BC compiler) in MODMAIN.BAS! Then, MODMAIN.BAS would be compiled to an OBJ file as well, and both it and MODPROCS (and I believe some runtime OBJ files as well) are linked into a final executable.A case of extension confusion I think.
The part I think is humourous is that the OBJ 3d file format is almost sure to have been invented LONG after Quick Basic 7.1 was released.well thats pretty much why i asked the question. cuz i knew that obj is a 3D file but since your telling me that it was created after QB came out then that changes the story. but thanks BC for your helpQuote from: macdad- on July 19, 2008, 06:42:02 AM

well thats pretty much why i asked the question. cuz i knew that obj is a 3D file but since your telling me that it was created after QB came out then that changes the story. but thanks BC for your help

macdad, have you ever heard of Google?

http://www.google.co.uk/search?source=ig&hl=en&rlz=&=&q=obj+file+extension&btnG=Google+Search&meta=&aq=fIt would also REVEAL a lot of information to read about the OBJ files within the QBX help, rather then just read the headings and jump to conclusions.


direct quote from the QBX help files(I had to start my laptop for this- I must not have put my older DOS stuff onto this comp due to XP). Besides, there's nothing quite like going naked at the prompt (that is, no helpful GUI waiting the background. Pah, Who needs a GUI when you can type commands a heck of a lot faster. Anyway...

The BASIC compiler creates .OBJ modules that can be linked with .OBJ modules created with the following Microsoft products:

C Compiler Version 5.10 and higher
QuickC compiler Version 1.01 and higher
Pascal Compiler Version 4.00 and higher
Fortran Compiler Version 4.10 and higher
MACRO Assembler Version 5.00 and higher

Link BASIC .OBJ modules first when creating mixed language programs.



wow, FORTRAN just keeps popping up in these forums lately. oh well. I find it strange that it wasn't in caps in the QBX help...Dias yes i have used google. and yes i looked up OBJ file before i posted this topic. but on FileExtensions.com it didnt tell me when it was created so thats my fault for not GETTING the correct info.


Discussion

No Comment Found