Doing graphics in dos

Doing graphics in dos

Post by brol » Wed, 09 Jul 2008 00:33:46


hello, do you think its possible to do 3d with turbo c's graphics
library ?I mean something simple like ray tracing. What is glibc ? is
it easier than open gl /direct x?
 
 
 

Doing graphics in dos

Post by Kaba » Wed, 09 Jul 2008 00:51:49


No, it's not usable for anything a bit more serious if my memory serves
right. Instead, you use assembler to switch video modes and do a copy to
vga memory, like in good old days. It's not hard, (and the web is full
of tutorials for that) but I hope you are into DOS just for the fun of
it:) Anyway, that compiler is ancient.

glibc is the gnu project's C standard library:

http://www.yqcomputer.com/

--
http://www.yqcomputer.com/

 
 
 

Doing graphics in dos

Post by Daniel Pit » Wed, 09 Jul 2008 03:53:28


glibc has nothing to do with graphics. It stands for GNU libc, where
libc is the standard c runtime library :-)

You can do anything with Turbo C, since it is Turing complete, but the
performance may not be the best, and you'll be using very obsolete
technology/language.

If you insist on Microsoft platforms, I suggest you learn how to create
a normal windows program first, and then learn DirectX. Visual Studios
has a free ("Express") version, and DirectX is free.

Hope this helps.

--
Daniel Pitts' Tech Blog: < http://www.yqcomputer.com/ ;
 
 
 

Doing graphics in dos

Post by Kaba » Wed, 09 Jul 2008 04:43:00


Repeat that, the express versions of the Visual Studios are great! Well,
at least the C++ one that I'm using:) The only thing I miss is the
profiler.

--
http://www.yqcomputer.com/