Solved

Simple Texture sample in a single triangle

Posted on 2004-08-22
3
322 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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.
This video shows how to remove a single email address from the Outlook 2010 Auto Suggestion memory. NOTE: For Outlook 2016 and 2013 perform the exact same steps. Open a new email: Click the New email button in Outlook. Start typing the address: …
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

919 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now