Solved

Simple Texture sample in a single triangle

Posted on 2004-08-22
3
323 Views
Last Modified: 2013-12-26
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.
0
Comment
Question by:zezons
3 Comments
 
LVL 2

Assisted Solution

by:blackspark
blackspark earned 50 total points
ID: 11871409
Hi

Just check this Website out :

www.andypike.com

It contains what exactly you wanted and many more.

Venkatesh.S
0
 
LVL 17

Assisted Solution

by:davebytes
davebytes earned 50 total points
ID: 11965856
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
 
LVL 3

Accepted Solution

by:
str_ek earned 25 total points
ID: 11968804
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

Featured Post

3 Use Cases for Connected Systems

Our Dev teams are like yours. They’re continually cranking out code for new features/bugs fixes, testing, deploying, testing some more, responding to production monitoring events and more. It’s complex. So, we thought you’d like to see what’s working for us.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

As game developers, we quickly learn that Artificial Intelligence (AI) doesn’t need to be so tough.  To reference Space Ghost: “Moltar, I have a giant brain that is able to reduce any complex machine into a simple yes or no answer. (http://www.youtu…
Performance in games development is paramount: every microsecond counts to be able to do everything in less than 33ms (aiming at 16ms). C# foreach statement is one of the worst performance killers, and here I explain why.
In a recent question (https://www.experts-exchange.com/questions/28997919/Pagination-in-Adobe-Acrobat.html) here at Experts Exchange, a member asked how to add page numbers to a PDF file using Adobe Acrobat XI Pro. This short video Micro Tutorial sh…
Email security requires an ever evolving service that stays up to date with counter-evolving threats. The Email Laundry perform Research and Development to ensure their email security service evolves faster than cyber criminals. We apply our Threat…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question