Jump to content

  • Log In with Google      Sign In   
  • Create Account

Joshhua5

Member Since 26 Oct 2011
Offline Last Active Today, 02:08 PM
-----

#5070507 Syntax error which isn't an error? (Confused)

Posted by Joshhua5 on 17 June 2013 - 12:32 PM

Yeah, I've completely stripped all custom headers in the stdafx at first I though of making a Include.h for the includes, but that was just the same thing Obvious -facepalm-
So I've made sure all classes only call what they need and focused on reducing the reliance each class has on each other. practically to nill.

Moral of the story, be smart with your includes to avoid unneeded includes and loops. (It compiles :D)




#5068688 Models are missing half their triangles.

Posted by Joshhua5 on 10 June 2013 - 10:08 AM

For anyone who's interest, this is the progress made so far with the loader.

https://github.com/Joshhua5/DirectXEducationalProjects/tree/master/Lighting%20-%20Material%20Loader




#5067533 Camera Movement Math problem

Posted by Joshhua5 on 04 June 2013 - 11:14 PM

So strafing left would be position +-= right vector and

forwards would be position += look direction?

 

Thank you for your help Paradigm

 

EDIT: My problems have been solved and I have an idea on the view matrix now :D
though how it multiplies with other matrix's to create transformations is still over my head.




#5067275 Models are missing half their triangles.

Posted by Joshhua5 on 03 June 2013 - 11:46 PM

I've tried them all. List, Strip and Fan




#5067269 Models are missing half their triangles.

Posted by Joshhua5 on 03 June 2013 - 11:20 PM

https://docs.google.com/file/d/0B20ZnQ-9hBC3bHpacGl5ZGNOMG8/edit?usp=sharing

 

Lovely screenshot




#5067266 Models are missing half their triangles.

Posted by Joshhua5 on 03 June 2013 - 11:11 PM

I created a .OBJ loader and it loads correctly, I've matched the vertices to the ones in the file.

I load the vertices into a vertex buffer and draw it to the screen.

I export my model with Auto desk 3DSMAX 2013 and I have triangulated them.

I've been playing with this for a while now, but nothing seems to bring back my triangles :(

 

 

My source code is here:

https://docs.google.com/document/d/13bAxQgHXOjM0GtPLUt_As4EASpgr9FJ0EX7EgsFhzYI/edit?usp=sharing

My .Obj is here:

https://docs.google.com/document/d/1KToZx-iYCUVMzMeiLfuDP5bQc7M-CTo1fhC-SvtM9IY/edit?usp=sharing




PARTNERS