Search found 59 matches

by Jay Dolan
Fri Dec 06, 2013 8:07 pm
Forum: Engine Programming
Topic: Q2BSP - Out of Bounds - Compiler or Engine Bug?
Replies: 4
Views: 2648

Re: Q2BSP - Out of Bounds - Compiler or Engine Bug?

Hehe, I found and fixed that bug about 4 years ago. This map (not surprisingly) is what blew it up:

Image

Nasty little crash, it was.
by Jay Dolan
Fri Dec 06, 2013 5:36 pm
Forum: Engine Programming
Topic: Stencil shadow deformation based on lighting direction
Replies: 16
Views: 5771

Re: Stencil shadow deformation based on lighting direction

Oh, here's a video of an older incarnation of this code. But you can at least get a sense for the effect I'm after here:

http://www.youtube.com/watch?v=bGbl500NFDk
by Jay Dolan
Fri Dec 06, 2013 2:38 pm
Forum: Engine Programming
Topic: Stencil shadow deformation based on lighting direction
Replies: 16
Views: 5771

Re: Stencil shadow deformation based on lighting direction

Yea, I tried requesting 16 to no avail. Was just curious if there was a workaround.

Thanks!
by Jay Dolan
Fri Dec 06, 2013 12:57 pm
Forum: Engine Programming
Topic: Stencil shadow deformation based on lighting direction
Replies: 16
Views: 5771

Re: Stencil shadow deformation based on lighting direction

That's right. Just planar projections, clipped to surfaces. It works like this:

When drawing opaque world surfaces, GL_STENCIL_TEST is enabled with GL_ALWAYS and the following stencil function applied for each surface:


glStencilFunc(GL_ALWAYS, R_STENCIL_REF(surf->plane), ~0);


Where R_STENCIL ...
by Jay Dolan
Thu Dec 05, 2013 11:32 pm
Forum: Engine Programming
Topic: Stencil shadow deformation based on lighting direction
Replies: 16
Views: 5771

Re: Stencil shadow deformation based on lighting direction

Hi guys,

Thanks for all of the replies. I finally got this working (the projections, anyway). I'm sorting out a few more bugs, but it looks like this will work out pretty well. I'm using LordHavoc's matrix lib, so here's what the projection looks like:


/*
* @brief Projects the model view matrix ...
by Jay Dolan
Mon Nov 25, 2013 4:56 am
Forum: Engine Programming
Topic: Stencil shadow deformation based on lighting direction
Replies: 16
Views: 5771

Stencil shadow deformation based on lighting direction

I posted this on SO, but this might actually be the best crowd to run this by. I've calculated an average light direction for my mesh entities, and I'd like to deform their stencil shadows away from the light source. Here's the issue I posted on StackOverflow:

http://stackoverflow.com/questions ...
by Jay Dolan
Fri Nov 15, 2013 12:06 pm
Forum: Engine Programming
Topic: RotatePointAroundVector Broken?
Replies: 3
Views: 2009

Re: RotatePointAroundVector Broken?

You might want to look at LordHavoc's matrix lib to replace or at least augment the sparse / incomplete / seemingly arbitrary / questionably buggy transform functions included in Quake2:

https://github.com/jdolan/quake2world/blob/master/src/client/renderer/r_matrix.c

It works very well; I've never ...
by Jay Dolan
Thu Dec 10, 2009 9:42 pm
Forum: General Discussion
Topic: Additional Quake Player Animations?
Replies: 52
Views: 32955

Bump -- any updates on this Electro? :)
by Jay Dolan
Tue Mar 31, 2009 1:05 am
Forum: General Discussion
Topic: p1mp yo mods: Teh Revenge
Replies: 6
Views: 3328

by Jay Dolan
Fri Mar 27, 2009 12:10 am
Forum: General Discussion
Topic: Additional Quake Player Animations?
Replies: 52
Views: 32955

I'm really pleased to hear that you'll be including the Quake2 frame sequences. This guy will absolutely be making an appearance as the default model in Quake2World. Truly awesome work, and I commend you on making it available to the entire community.
by Jay Dolan
Sun Feb 03, 2008 9:46 pm
Forum: General Discussion
Topic: Is QuakeSrc.org ever coming back up?
Replies: 135
Views: 55371

If I can be perfectly honest, I'm really disappointed with the entire situation. Even if Ender finally restores some ancient, mostly useless backup of the forums from 2005, how long until this happens again? I wish he would pass the domain on to someone who actually has the funding and motivation to ...
by Jay Dolan
Fri Jan 25, 2008 2:05 pm
Forum: General Discussion
Topic: Is QuakeSrc.org ever coming back up?
Replies: 135
Views: 55371

I would actually gladly start going to QuakeDev. It's foolish to let such a well-suited resource go to waste.
by Jay Dolan
Thu Jan 24, 2008 3:01 am
Forum: General Discussion
Topic: Is QuakeSrc.org ever coming back up?
Replies: 135
Views: 55371

Yea QuakeDev generally doesn't get much love. It's too bad, it seems considerably more reliable than Quakesrc.

LordHavoc had some explanation as to why Ender let Quakesrc.org expire, but it didn't make a lot of sense to me.
by Jay Dolan
Wed Jan 23, 2008 2:14 am
Forum: General Discussion
Topic: Is QuakeSrc.org ever coming back up?
Replies: 135
Views: 55371

I actually just registered here after Googling Quakesrc (this thread came up). I really miss those forums..