Jump to content

  • Log In with Google      Sign In   
  • Create Account

We're offering banner ads on our site from just $5!

1. Details HERE. 2. GDNet+ Subscriptions HERE. 3. Ad upload HERE.


Member Since 15 Sep 2003
Offline Last Active Oct 29 2014 01:43 PM

Posts I've Made

In Topic: General Programmer Salary

29 October 2014 - 01:43 PM

What if (heaven forbid) the company folds, and I find myself looking for a new job? I will get low-balled by every company out there on the basis of my previous salary. In addition to that risk, I feel that they're essentially asking me to take a pay cut for the company, which wouldn't even be out of the question if I felt like it would be appreciated, but I don't think they see it that way. Lastly, we are a small company, but our overall costs run in the millions of dollars per year, and so even if the company is not doing well, I hardly think that a $15k salary bump for one employee is going to affect things very much.


First, I would just wait until you finish school.  Looking for a job and going to school won't be fun. 


Second, don't worry.  Every time I switched jobs in my lifetime, I've gotten a significant pay bump in doing so.  When you apply for the job, use market rates from salary.com and glassdoor.com in your area to determine what you should get based on your experience. 

In Topic: Slow shadowmap cascades generation

02 October 2014 - 06:10 PM

In an outdoor scene, the bounding sphere of my last cascade was so big it put a lot of stress on performance.  The subfrustum size grows very quickly with distance, and I was using bounding spheres to make the shadow maps stable under rotation.  So what I did was make my last cascade static so it doesn't support animated shadows. 

In Topic: DirectXMath Calling Convention

29 July 2014 - 10:35 AM

I also think the library is fine.  Although I did write some functions to do 3d math on the XMFLOAT variations when I just have to do a one line math operation and converting to XMVECTOR would be a little annoying.  The library probably does shine more if you have a lot of CPU calculations to do (collision detection) and software skinning, lots of ray/triangle intersections.

In Topic: Point density

25 April 2014 - 04:41 PM

This is a horrible way to write it: "dL->0" means nothing.


How is dL->0 different from h->0.  My dL is the same as your h.


If you have a function M such that M(x) tells you how much mass there is to the left of x, then the mass density is the derivative of M.

lim_{h->0) (M(x+h) - M(x)) / h


This works because then M(x+h) - M(x) tells you the mass in the "cell" over h. 


What is the generalization to 2D area densities--M(x,y) where there is not a "left" or "right"?

In Topic: Get a formula from a graph

05 February 2014 - 11:44 AM

I could be wrong, but I think something like cubic spline interpolation might be better than nth degree polynomial.  A polynomial can get some pretty wild oscillations to fit the data points.