Simple Texture sample in a single triangle

Hi guys.

   I need a simple source code sample what create in DX9 the following screen:
        - A single triangle with a single texture place in.

Thanks for all.

zezons.
zezonsAsked:
Who is Participating?
 
str_ekConnect With a Mentor Commented:
why not take a look at orginal directx sdk (aviable form microsfot) tutorials ?
they're explaind step by step and well commented! (i migh remember it wrong, but i suppose, tutorial 5 explains texture mapping basis)

there is no more a man may need for directx progaraming kickstart... and it's also the one thing you cant live without anyhow ;)
0
 
blacksparkConnect With a Mentor Commented:
Hi

Just check this Website out :

www.andypike.com

It contains what exactly you wanted and many more.

Venkatesh.S
0
 
davebytesConnect With a Mentor Commented:
Simple triangle sample:

http://www.thehavok.co.uk/scene/32bits/tutorials/directx/thebasics3/source/dx9/worldtri.cpp.html
Which is a sample off of:
http://www.thehavok.co.uk/scene/32bits/tutorials/directx/thebasics3/
... next tutorial goes into texturing.

Also look at gamedev.net -- they have a LOT of other samples.

-d
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.