Jump to content

  • Log In with Google      Sign In   
  • Create Account

Banner advertising on our site currently available from just $5!

1. Learn about the promo. 2. Sign up for GDNet+. 3. Set up your advert!


Member Since 24 Feb 2011
Offline Last Active Oct 05 2012 03:11 PM

Topics I've Started

Dds DXT version confusion

29 September 2012 - 09:15 AM

I am converting some files to dds and I'm a little confused about which DXT versions of dds I should be using.

For diffuse textures with no alpha should I use DXT1(no alpha) ?

Also I have normal maps which contain specular maps in the alpha channel. Will DXT3 be poorer quality but smaller file size then using DXT5?

Also should I create mip maps for normal map textures or not?

thanks so much!

Additive blending of animations

02 August 2012 - 05:07 PM

When doing additive blending of two separate animations that run at the same time, should any unused bones of one animation simply remain in the bindpose?

For instance when blending a shooting animation with a running animation, should the shooting animations lower body remain in the bindpose?

2D AABB Contains

18 July 2012 - 03:49 AM

Whats the fastest way to test containment between two 2D AABBs?

Also I'm testing for intersections like this:

return (Abs(Corners[0].X - B.GetCorners[0].X) * 2 < (Corners[1].X + B.GetCorners[1].X)) &&
				    (Math.Abs(Corners[0].Y - B.GetCorners[0].Y) * 2 < (Corners[1].Y + B.GetCorners[1].Y));

if I always need to check for intersections as well as containment is there a better method I could use to check both at the same time more cheaply?

Portal visibility culling

16 July 2012 - 03:07 PM

I have a couple of questions about portal systems for visibility determination that I couldnt find any info on and I hope somebody here could answer.

How do you keep track of which cell the player is currently in? Do you contain each cell in a bounding box? if so, what about cells that aren't box shaped?

Also I have read that a good method is to project the portal into screen space and check which objects in the connecting cell are within the 2d bounds of the portal. Could anybody explain how to do this I dont really understand how to project the portal from world to screen space and test collisions with objects this way.


Books on portal engines

02 July 2012 - 03:54 AM

Is there any good books on the subject of portals for visibility determination?

I'm looking for something that is fairly in depth with example code.

I have a few books that mention the subject for example the morgan kaufman collision book but it only skims the topic and doesnt go into detail.