Software-Renderer (OPEN SOURCE)

Community Forums/Showcase/Software-Renderer (OPEN SOURCE)

bytecode77(Posted 2006) [#1]
hello!


This is a software renderer, written in BlitzBasic. The app don't uses DirecX or OpenGL...NO! It is all software rendered.

Following primitives are included:
- Cube
- Sphere
- Cone
- Frustrum
- Cylinder
- Tube
- Ring
(see Pic No. 2)

They can be created with 3-100 segments as you like

You see the smooth polygons. They can also be drawn in wireframe mode or with gamma.
The camera can be projected with any zoom and also orthogonal.
There are also 20 or more 3d-commands like "positionentity" or "camerazoom"...

The engine has also a sample of a litte water-engine and the renderer is compatible with Tokamak/BlitzODE

You see the water-engine. This shows, that there are commands for the vertex-manipullation included
like "addvertex" and "addtriangle".

Download this code if you like! Use it as your own!

IMPORTANT: Put the debugger off for more speed

screens:





download with source and documentation:
http://patrick-sch.de/bleibdafuerimmer/Software-Renderer.zip


ashmantle(Posted 2006) [#2]
looking really good :D


Ross C(Posted 2006) [#3]
Very impressive man... :o)


big10p(Posted 2006) [#4]
I can't seem to download it. None of the screenies show for me, either. :/


jfk EO-11110(Posted 2006) [#5]
that's looking really great! Seems to be pretty fast. The random Vertexcolors are cute. Now how about textures?


Zmatrix(Posted 2006) [#6]
yeah very impressive :)
and fast for a software render

Sam


bytecode77(Posted 2006) [#7]
:) very fast, i think so, too...
big10p: the link isnt broken and the screen links arent broken, too... i don't know whats going on on your machine :/


well textures may come in a few months or never...


big10p(Posted 2006) [#8]
Oh well. Must be a problem with my ISP, or something.


BlitzSupport(Posted 2006) [#9]
I love software renderers. This one's very fast here too. Nice job!


WedgeBob(Posted 2006) [#10]
Looks great. Not gonna download it now, since I'm in my Linux OS, I'll wait until I go back into Windows before d/ling the program. That screenie will be enough to convince me. Speaking of Linux, any chance of there being any programs like this in the near future for any other OS outside of Windows? Like Mac or Linux, etc...?


Kuron(Posted 2006) [#11]
What is ironic to me is we have people asking for all kinds of stuff for BMax yet we still have people like this who are just now starting to push B2D well beyond its limits.

I love stuff like this. Awesome job, DC!


bytecode77(Posted 2006) [#12]
thx for this complimenst :)


JoshK(Posted 2007) [#13]
This is very interesting to me. I have been talking to Intel about ideas like this. I really think the GPU is a developmental dead end, and we'll see it phased out in about five years.


puki(Posted 2007) [#14]
Assuming multi-core processors keep coming and advancing it would make sense (as long as nVidia and Intel join forces then I don't care).


Fuller(Posted 2007) [#15]
is this the restore old threads day or what? :)


JoshK(Posted 2007) [#16]
Search "Larrabee". Intel has something in the works. I am attending a "roadmap" meeting on Tuesday, and I am very curious about this.

Intel also bought Pixomatic, the software renderer used in UT2004.

The plot thickens. I would love to write a software renderer like the old Unreal 1 engine, but with modern techniques.


puki(Posted 2007) [#17]
"Mike Sartain" and I designed Pixomatic.


JoshK(Posted 2007) [#18]
Hilarious. Everyone I have talked to from Intel looks at me like I am a crazy person if I mention raytracing, the Larrabee chip, or any of their own marketing hype. I guess R&D doesn't really have any idea about the things their own marketing department is saying. :\


dawlane(Posted 2007) [#19]
"This is very interesting to me. I have been talking to Intel about ideas like this. I really think the GPU is a developmental dead end, and we'll see it phased out in about five years."

Hold on why is it Intel Graphic chips are always crap.


LAB[au](Posted 2007) [#20]
The intel chips are pretty decent ... with a few bugs like any other chip in fact. Considering their power consumption then Intel chips are great, compared to most integrated graphic chips they are cool, compared to Via chips they are superfast.

While the 2 big names have taken the speedway with supercharged cars, Intel drives in a Prius and they could probably cover more distance in the long term (especially if you plan to have dozen of CPU "cores" sitting mostly idle in your comfy computer) .


taumel(Posted 2007) [#21]
Intel GFX are annoying because a) the buggy drivers, b) the hardware isn't performing well compared to nVIDIA or AMD and c) you can't ignore them because of the large installed user base.

I have strong hopes for software renderers on chips like the Larrabee too but i somehow expect that it takes a little bit longer than the first release to really make it shine and then it will be interesting to see how nVIDIA and AMD move towards this and also generalise their hardware further. After all they all will come up with massive parallel designs, question is which one gives you the most bang for the watt/buck.

Oh yes and AMD will come up with Fusion before...


bytecode77(Posted 2007) [#22]
this is my old software renderer.
this is my new one!
http://stuff.dev-ch.de/index.php?article=stuff_virtualgl

it supports more features and less bugs!
bye



slenkar(Posted 2007) [#23]
nice graphics


MGE(Posted 2007) [#24]
Could you include an EXE so non BB users can have a peek? Thanks!


ShadowTurtle(Posted 2007) [#25]
i thinking of using it in scream3d... as default renderer ( oO )


bytecode77(Posted 2007) [#26]
hey, cool ST. would like to see that :)


iprice(Posted 2007) [#27]
That should be ported to BlitzMax: a software and hardware independent Render API!

It's a shame one can't use multithreading with BlitzMax but a split up engine working over network (127.0.0.1) could be very interesting. With the right math optimizations and a fast CPU this could be a perfect API for indie devs ^^


bytecode77(Posted 2007) [#28]
if blitz would only have inline ASM... this would be all i need.


slenkar(Posted 2007) [#29]
cobra has inline ASM i think


bytecode77(Posted 2007) [#30]
well freebasic has inline asm, too. and its free! but i'm to lazy to learn another language...


iprice(Posted 2007) [#31]
PureBasic has also inline ASM. I'm currently trying to sell 2 of my 3 licenses (25 Euro/$30 each license) but if you don't want to learn a new language...


jfk EO-11110(Posted 2016) [#32]
hey dc / Bytecode77, is that last link file still somewhere around?


BlitzSupport(Posted 2016) [#33]
I believe this is it:

http://www.hi-toro.com/blitz/misc/Software-Renderer.zip

(I don't appear to have the Raycaster.zip, though, at least not locally.)

He does have a current web site here:

https://bytecode77.com/

Blitz3D Devil-Engines:

https://bytecode77.com/coding/devilengines


RustyKristi(Posted 2016) [#34]
@jfk

here it is from the "past" ;-)


Matty(Posted 2016) [#35]
This is very interesting to me. I have been talking to Intel about ideas like this. I really think the GPU is a developmental dead end, and we'll see it phased out in about five years.
- not quite I think. (JoshK above)


jfk EO-11110(Posted 2016) [#36]
Wow Kristi+Blitzsupport, thanks a quadrillion. Something to play with.

Matty, right, our prophets, what would we do without them. Then again, such unforeseeing would't stop Mr. Nobody-will-ever-need-more-than-64kb-RAM Gates from makeing money.