Jump to content

  • Log In with Google      Sign In   
  • Create Account


Member Since 01 Dec 2010
Offline Last Active Nov 10 2012 10:50 AM

Posts I've Made

In Topic: Drawing a path on a grid

16 June 2012 - 03:23 PM

Thanks! In the process of making my lookup table at the moment, time consuming stuff ha. Made an array that stores the adjacent cells and I get the lookup value like this:

LookupValue = int(Connections[0]) << 7 |

int(Connections[1]) << 6 |

int(Connections[2]) << 5 |

int(Connections[3]) << 4 |

int(Connections[4]) << 3 |

int(Connections[5]) << 2 |

int(Connections[6]) << 1 |


BTW that's UnrealScript if anything looks funny.

In Topic: Drawing a path on a grid

15 June 2012 - 01:43 PM

My problem has nothing to do with pathfinding.

In Topic: Need urgent help with shadow mapping!

15 May 2012 - 05:04 AM

- the lightViewPosition multiplications MUST be throwing warnings, since input.position is float3 - aren't they?
- that means lightViewPosition.w will be most probably wrong

This was the issue! Thank you so much, got it working in time. A new feature of VS11 is that it compiles shaders with the rest of the project rather than having to do it using Direct3D at runtime. It must have missed this error.

All your other points are very helpful too, I was being lazy with shader optimization because I was in a rush to get the implementation done.

In Topic: Definition of Perlin Noise

25 March 2012 - 05:21 PM

Thanks for clearing that up for me guys, very helpful :). Unfortunate to see so many resources get it wrong.

In Topic: Using A* in an RTS game

03 February 2012 - 02:33 PM

Thanks, your answers will be really helpful :).