Jump to content

  • Log In with Google      Sign In   
  • Create Account


Zaoshi Kaba

Member Since 04 Nov 2012
Offline Last Active Today, 02:09 AM

Posts I've Made

In Topic: Font Rendering Woes (FreeType)

31 August 2014 - 08:19 AM

Are you sure this is not .jpg artifact? I'm not sure how good quality is on those.


In Topic: Strange ifstream crash

24 August 2014 - 01:26 AM

This problem can occur if library and executable use different Runtime Library (DLL vs Static, and Debug vs Release). Make sure it matches across all projects and do full recompile.


In Topic: Copy/paste fail

23 August 2014 - 01:55 AM


...what kind of function declaration syntax is that though? o_O

Isn't that Objective-C?


In Topic: DeltaTime and acceleration

22 August 2014 - 01:23 AM

Had you used correct formula you'd have identical result.

// dT = 1

x += (vX + vX + acceleration * dT) * dT * 1/2; // == 0.5
vX += acceleration * dT; // == 1

x += (vX + vX + acceleration * dT) * dT * 1/2; // == 2
vX += acceleration * dT; // == 2

x += (vX + vX + acceleration * dT) * dT * 1/2; // == 4.5
vX += acceleration * dT; // == 3

x += (vX + vX + acceleration * dT) * dT * 1/2; // == 8
vX += acceleration * dT; // == 4
// dT = 2

x += (vX + vX + acceleration * dT) * dT * 1/2; // == 2
vX += acceleration * dT; // == 2

x += (vX + vX + acceleration * dT) * dT * 1/2; // == 8
vX += acceleration * dT; // == 4

However as other's mentioned this isn't the only place that gets undetermined without fixed timestep.


In Topic: DirectX with or without Visual Studio 2013

21 August 2014 - 08:52 AM

D3DX is Direct3D Extension, which included texture loading and other things, it's not DirectX API. It has been removed in some version and you have to implement that yourself.

I think DirectX Tool Kit implements most things D3DX used to have.


PARTNERS