GPU Gems

I was lucky enough to get a copy of GPU Gems for my birthday a couple of days ago, and it’s got some really nice articles in it. It’s tiny bit nVidia-biased (understandably, since many of the people writing for it were from nVidia), but not anywhere near as much as it could have been. The main issue is that nVidia cards do some automatic depthmap trickery (in shadowmaps) which ATI cards don’t do, so those chapters would need to be scrutinised more closely for compatibility issues, but otherwise it’s pretty generic stuff.

Read more →

GDC Europe, new Vaio

Just a quick update to crow about a couple of things 😀Firstly, I’ve booked my place at GDC Europe. I’ve never been to one before, so it’s quite exciting for me. I’ll be taking the Ogre banners with me, of course, and talking to anyone who will listen. 😀 Secondly, I just bought myself a new laptop. A rather beefy Vaio VGN-A197VP, which I picked mainly because the 17″ XBlack screen is to die for, and it has a Radeon Mobility 9700 so I can run pixel shaders 2.

Read more →

Things are a little quiet here, I know - that’s mainly because I can’t post many details of the work I’m doing right now for contractual reasons. What I can say (which you should noticed from CVS) is that the standard terrain manager is now even better than it was - faster and better looking. I’m going to add a few things to my TODO since there are some things that need looking into for Ogre 0.

Read more →

Terrain work

No, I’m not dead. I took a bit of an OGRE break after 0.14 to avoid some serious burnout, but now I’m back. I am, however, doing a spot of contract work in my spare time now for a talented US startup (who shall remain nameless until such time as they want some free publicity ;), so that’s currently got a lot of my attention, although some of the work will benefit Ogre too.

Read more →

OGRE 0.14.0 is done!

Finally! After some nasty last-minute problems because of some dodgy Direct3D shenanigans on ‘old’ nVidia cards, and subsequently some serious hair-pulling, swearing and late nights, the latest OGRE release is out. Pop over to http://www.ogre3d.org, there are updated precompiled demos as well as the source code, and new builds of the tools. I’m going to lie down for a bit.

Read more →

GF4 Ti workaround

I decided to put in a workaround for the older nVidia cards under Direct3D since they don’t seem to be capable of doing infinite projection on that API. I also have to provide alternative vertex programs since the standard ones extrude to infinity which of course leads to dark cap clipping and ugly artefacts. I suppose I could just have made them fall back on software extrusion, but I felt there were enough people with a GF3/4 to justify doing an alternate vertex program.

Read more →

I had the 0.14 release all zipped up and ready to go, with a nice new shadow demo, then I hear that the GeForce4 Ti can’t seem to handle the infinite camera projection in Direct3D! I get reports of inverted cameras and black screens. Yet it works fine in GL, and D3D9 works fine on all of my cards here (I don’t have a Ti, but I have an FX and 2 pretty diverse ATIs).

Read more →

Hitting Quicksand

I really shouldn’t have spoken so soon. Today (well, yesterday now since it’s 3am) didn’t go anywhere near as well as Monday; I polished off the new shadows section in the manual alright, but then I decided I would try to create myself a normal mapped model for use in the shadow demo. A few hours later I was still tinkering with Melody (nVidia’s normal mapper) and swearing at the 3DS format for not supporting vertex normals.

Read more →

Powering ahead

LOD integration is done, I decided not to implement LOD biasing on the shadow because it just looks too crap at the silhouette boundary. At least if you have LOD enabled on your mesh, both your mesh and its shadow decrease in detail and so scale well. Manual LOD levels work too, my test case was turning a knot into a spaceship at a certain distance, which worked like a charm and the shadows were consistent.

Read more →

Well, the scissor optimisation is done (this limits the drawing of stencil tris to a screenspace quad representing the attenuation range of the light); I haven’t reallly noticed any frame rate improvement, but perhaps I’m just not hitting my fillrate ceiling yet. Hopefully it will be a useful addition to someone. I’m just finishing up getting LOD (manual and automatically generated) playing nicely with stencil shadows, which works really well. Right now, the shadow volume reduces in detail at the same rate as the mesh itself - personally I’m not convinced that using a lower detail volume on a higher detail mesh will look good because of the mismatch between them - the shadow edge on the caster can look shoddy enough with stencil shadows anyway without it being exaggerated by mismatched geometry.

Read more →