Jump to content

  • Log In with Google      Sign In   
  • Create Account


#ActualHydr0city

Posted 08 September 2012 - 08:49 PM

Try using a forward slash instead.

cube=loadObject("D:/test.obj");	//load the test.obj file

If you are still having directory problems, try using the GetCurrentDirectory() function from the Windows SDK to verify you're in the correct directory.

#1Hydr0city

Posted 08 September 2012 - 08:49 PM

Make sure your are using a double backslash in the loadObject() function. It appears you used the escape character ' ' in the code posted, thus producing a tab in the string.

cube=loadObject("D:\	est.obj");    //load the test.obj file

If you are still having directory problems, try using the GetCurrentDirectory() function from the Windows SDK to verify you're in the correct directory.

PARTNERS