Forum

Skybox in WinQuake

Discuss programming topics for the various GPL'd game engine sources.

Moderator: InsideQC Admins

Skybox in WinQuake

Postby JasonX » Sat Mar 19, 2011 7:02 pm

Is there any good implementation, easy to port?
JasonX
 
Posts: 411
Joined: Tue Apr 21, 2009 2:08 pm

Postby mh » Sat Mar 19, 2011 8:42 pm

Quake II?
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Postby leileilol » Sat Mar 19, 2011 11:06 pm

ToChriS did it. so steal from tochris
i should not be here
leileilol
 
Posts: 2783
Joined: Fri Oct 15, 2004 3:23 am

Postby mankrip » Sun Mar 20, 2011 12:27 am

And the one in ToChriS was ported from Quake 2.
Ph'nglui mglw'nafh mankrip Hell's end wgah'nagl fhtagn.
==-=-=-=-=-=-=-=-=-=-==
Dev blog / Twitter / YouTube
User avatar
mankrip
 
Posts: 915
Joined: Fri Jul 04, 2008 3:02 am

Postby mh » Sun Mar 20, 2011 12:50 am

So Quake II it is then.
We had the power, we had the space, we had a sense of time and place
We knew the words, we knew the score, we knew what we were fighting for
User avatar
mh
 
Posts: 2292
Joined: Sat Jan 12, 2008 1:38 am

Postby Baker » Sun Mar 20, 2011 1:36 pm

All the changes to support a skybox in software are encased in #ifdef SUPPORTS_SW_SKYBOX in the software renderer version of ProQuake 4.xx (source)

Code: Select all
#ifndef GLQUAKE      // WinQuake
# define SUPPORTS_SOFTWARE_ANIM_INTERPOLATION   // WinQuake method for animation interpolation
# define SUPPORTS_SOFTWARE_FTESTAIN            // FTESTAIN
# define SUPPORTS_SW_SKYBOX
# define SUPPORTS_SW_WATERALPHA
#endif
The night is young. How else can I annoy the world before sunsrise? 8) Inquisitive minds want to know ! And if they don't -- well like that ever has stopped me before ..
User avatar
Baker
 
Posts: 3666
Joined: Tue Mar 14, 2006 5:15 am


Return to Engine Programming

Who is online

Users browsing this forum: No registered users and 1 guest