Linux Software Renderer issues

If you are a new Irrlicht Engine user, and have a newbie-question, this is the forum for you. You may also post general programming questions here.
Post Reply
xhyldazhk
Posts: 4
Joined: Mon Aug 29, 2005 5:53 pm

Linux Software Renderer issues

Post by xhyldazhk »

Hi all

I just downloaded 0.12 release.
I compared the appearance of the 7 - Collision example using OpenGL and software.. but... why software renderer looks that way? looks as if each polygon that isn't entirely inside of the viewport is clipped out, and color information is lost on the walls... that have been so since very early on the engine development... how can I fix it? how can I make the sw renderer look similar to the OGL one?

Examples:

OpenGL renderer
[img=http://img131.imageshack.us/img131/5621/oglrenderer5uk.th.png]

Software renderer
[img=http://img124.imageshack.us/img124/9815/swrenderer7tg.th.png]
Guest

Re: Linux Software Renderer issues

Post by Guest »

CSoftwareRenderer.cpp, line 427

Code: Select all

			// this vertex has to be clipped by this clipping plane.
			// The following lines represent my try to implement some real clipping.
			// There is a bug somewhere, and after some time I've given up.
			// So now it is commented out, resulting that triangles which would need clipping
			// are simply taken out (in the next two lines). 
i've not looked at lighting, i suspect it isn't implemented at all. I'd guess you'd have to add a new triangle renderer (/irrlicht/CTR*.cpp)

i'm sure Niko would be very happy it if you fixed these and emailed him the source, I certainly would! :)
bitplane
Admin
Posts: 3204
Joined: Mon Mar 28, 2005 3:45 am
Location: England
Contact:

Post by bitplane »

guest was me :P
Post Reply