.:: Bots United ::.  
filebase forums discord server github wiki web
cubebot epodbot fritzbot gravebot grogbot hpbbot ivpbot jkbotti joebot
meanmod podbotmm racc rcbot realbot sandbot shrikebot soulfathermaps yapb

Go Back   .:: Bots United ::. > Developer's Farm > General Programming
General Programming Help others and get yourself helped here!

Reply
 
Thread Tools
Software BSP Renderer
Old
  (#1)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Software BSP Renderer - 14-07-2004

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.
  
Reply With Quote
Re: Software BSP Renderer
Old
  (#2)
botman
Super Moderator
 
Status: Offline
Posts: 280
Join Date: Jan 2004
Location: Plano, TX
Default Re: Software BSP Renderer - 14-07-2004

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
  
Reply With Quote
Re: Software BSP Renderer
Old
  (#3)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: Software BSP Renderer - 14-07-2004

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


  
Reply With Quote
Re: Software BSP Renderer
Old
  (#4)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: Software BSP Renderer - 14-07-2004

OpenGL mipmapping is automatic. You just tell it to build the mipmaps and it uses them.

Well I'm off to browse source code.
  
Reply With Quote
Re: Software BSP Renderer
Old
  (#5)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: Software BSP Renderer - 14-07-2004

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 ?


  
Reply With Quote
Re: Software BSP Renderer
Old
  (#6)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: Software BSP Renderer - 14-07-2004

The problem is knowing which mipmap to use.
  
Reply With Quote
Re: Software BSP Renderer
Old
  (#7)
@$3.1415rin
Council Member, Author of JoeBOT
 
@$3.1415rin's Avatar
 
Status: Offline
Posts: 1,381
Join Date: Nov 2003
Location: Germany
Default Re: Software BSP Renderer - 14-07-2004

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


  
Reply With Quote
Re: Software BSP Renderer
Old
  (#8)
Whistler
Summoner
 
Whistler's Avatar
 
Status: Offline
Posts: 1,499
Join Date: Feb 2004
Location: Mist Village
Default Re: Software BSP Renderer - 15-07-2004

there are also some "cloned" Quake3 engines, may be useful for you:
http://hkitchen.quakesrc.org
http://www.planetquake.com/qbism
  
Reply With Quote
Re: Software BSP Renderer
Old
  (#9)
Maleficus
Member
 
Maleficus's Avatar
 
Status: Offline
Posts: 1,054
Join Date: May 2004
Location: Planet Earth
Default Re: Software BSP Renderer - 16-07-2004

Quake2 engine would be the best bet.


Dum Spiro Spero


  
Reply With Quote
Re: Software BSP Renderer
Old
  (#10)
sfx1999
Member
 
sfx1999's Avatar
 
Status: Offline
Posts: 534
Join Date: Jan 2004
Location: Pittsburgh, PA, USA
Default Re: Software BSP Renderer - 16-07-2004

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.
  
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump



Powered by vBulletin® Version 3.8.2
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
vBulletin Skin developed by: vBStyles.com