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!


Rastertek tutorial 4 not displaying a triangle


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
2 replies to this topic

#1 secronz   Members   -  Reputation: 103

Like
-1Likes
Like

Posted 09 March 2014 - 02:58 PM

I'm trying to learn Direct X to some extent and found some really good tutorials here: http://rastertek.com/tutdx11.html

However, I've got to the forth tutorial and I've followed the tutorial pretty much to the letter, barring some different class naming and the use of some filters to keep things neat, but I'm not getting the desired result (A green triangle in the centre of the viewport). Any help would be greatly appreciated.

My VS2013 solution in zip form: http://1drv.ms/1ehHFDe



Sponsor:

#2 axefrog   Members   -  Reputation: 989

Like
0Likes
Like

Posted 10 March 2014 - 02:02 AM

Put your code on Github so people can browse it easily without having to download it or load it into Visual Studio.


I'm blogging about my journey to learn 3D graphics and game programming: http://nathanridley.com
I'm also building my own code-first game engine using C#: https://github.com/axefrog/Grasshopper. It's open sourced under a BSD 3-clause license and includes lots of samples that demonstrate how to use the engine.

#3 Jason Z   Crossbones+   -  Reputation: 6125

Like
2Likes
Like

Posted 12 March 2014 - 07:31 PM

Definitely nobody will help you if you ask questions like this.  If the original code works, and you renamed a bunch of classes (why would you do that?) and now it isn't working, then you need to step backwards through your changes until you find what you mixed up.  It is almost never a good idea to just dump a zip file and ask everyone else to figure out what you did wrong.  At the very least you have to narrow the problem down a little bit, or tell us what you have done to debug your problem already.

 

I'm not trying to be brash at all, but try to be considerate of other people's time when you post a question.






Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS