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!

Steven De Bock

Member Since 02 Mar 2013
Offline Last Active Jan 28 2015 12:45 PM

Topics I've Started

Shaders - HLSL - SampleLevel()

18 April 2013 - 01:52 PM

Could someone help me figure out why a float3 is being returned in the following HLSL line?

float3 v = gRandomTex.SampleLevel(gTriLinearSam, u, 0);

Now, gRandomTex, gTriLinearSam and u are defined as follows:

Texture1D gRandomTex;
SamplerState gTriLinearSam
    Filter = MIN_MAG_MIP_LINEAR;
    AddressU = WRAP;
    AddressV = WRAP;
float u = 1.0f; //Actually it is not a constant, but just for the example, I set it to 1.0f





Nvidia PhysX - DLL dependencies in PATH or a local copy?

02 March 2013 - 03:25 PM

I was wondering why Nvidia PhysX doesn't have the NxCharacter.dll included in "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common".


I wanted to make it a bit easier for myself by adding "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common" to my PATH env variable.

Now, since NxCharacter.dll is not in the "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common", I got interrupted by a runtime error when I wanted to run my program after compilation since NxCharacter.dll could not be found.


What would I do best to have NxCharacter.dll linked to my program?

-> Should I just copy NxCharacter.dll to "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common"?

-> Should I just copy NxCharacter.dll to my debug folder?

-> Should I just copy all required PhysX Dlls to my debug folder and remove "C:\Program Files (x86)\NVIDIA Corporation\PhysX\Common" from my PATH?


Maybe as a more general question: how would your application install PyshX?


Thanks for any help, I'm in doubt about what would be the nicest way of doing things.