DShade - a 3d software rasterizer
Tom S
h3r3tic at remove.mat.uni.torun.pl
Sat Jan 19 04:27:45 PST 2008
Bill Baxter wrote:
> Nice! Is there an API or do you have to create a model file to render
> anything? With an API and the ability to render to a buffer you have a
> neat way to render small textures in the background using just CPU
> power. Probably going to be many nifty things you can do with that over
> the next few years as #of procs increases.
Currently it can only render to the screen... It doesn't have a very
engine-like API. Here's an excerpt from the init() function:
http://paste.dprogramming.com/dps0ik1d
The Framebuffer class could be replaced, so that it's not
double-buffering to SDL but giving textures instead; a new Node class
could be created as well, Then any other model format / data source
might be used, I guess :)
--
Tomasz Stachowiak
http://h3.team0xf.com/
h3/h3r3tic on #D freenode
More information about the Digitalmars-d-announce
mailing list