.:: Bots United ::.

.:: Bots United ::. (http://forums.bots-united.com/index.php)
-   General Programming (http://forums.bots-united.com/forumdisplay.php?f=25)
-   -   Software BSP Renderer (http://forums.bots-united.com/showthread.php?t=2280)

sfx1999 14-07-2004 02:13

Software BSP Renderer
 
I am thinking of makeing a Quake 3 BSP render (software) and I am confused. I was wondering if anyone could explain how to do the following (vaguely):

polygon rasterization (converting polygons into lines)
mip-mapping (not generating mip-maps, but knowing which one to use)

I know it's a lot of work, but I have time.

Another problem I may have is after I clip models. I plan to use a coverage buffer. The problem is that I do not know how I would sort them. How would I know if one was behind the other?

Thanks for your time.

BTW, this is supposed to be a learning experience.

botman 14-07-2004 14:39

Re: Software BSP Renderer
 
The Quake 1 source code should have a software renderer that you can look at (oh, and probably the Quake 2 source code, but I haven't looked at it).

botman

@$3.1415rin 14-07-2004 14:44

Re: Software BSP Renderer
 
for 3d stuff http://nehe.gamedev.net is some nice sort of source for various kinds of opengl stuff. I guess you'll find something about mipmapping there as well, at least somewhere in the tuts

sfx1999 14-07-2004 21:51

Re: Software BSP Renderer
 
OpenGL mipmapping is automatic. You just tell it to build the mipmaps and it uses them.

Well I'm off to browse source code.

@$3.1415rin 14-07-2004 21:54

Re: Software BSP Renderer
 
yes, I know, but I thought you dunno what mipmapping is exactly, therefore I mentioned that site. so when you know what it is, where's the problem then ?

sfx1999 14-07-2004 22:15

Re: Software BSP Renderer
 
The problem is knowing which mipmap to use.

@$3.1415rin 14-07-2004 22:57

Re: Software BSP Renderer
 
why not just try ? maybe you can before calculate when it's no longer of use using big textures by just doing just some trigonometry

Whistler 15-07-2004 08:00

Re: Software BSP Renderer
 
there are also some "cloned" Quake3 engines, may be useful for you:
http://hkitchen.quakesrc.org
http://www.planetquake.com/qbism

Maleficus 16-07-2004 06:28

Re: Software BSP Renderer
 
Quake2 engine would be the best bet.

sfx1999 16-07-2004 20:46

Re: Software BSP Renderer
 
Quote:

Originally Posted by Whistler
there are also some "cloned" Quake3 engines, may be useful for you:
http://hkitchen.quakesrc.org
http://www.planetquake.com/qbism

I already know that they are engines like that. But you forgot:

Cake
Disesel

They are basically map viewers. Then there is a project not yet released called Tenebrae 2.0. It looks awesome.


All times are GMT +2. The time now is 20:02.

Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.