Solved

Simple Texture sample in a single triangle

Posted on 2004-08-22
3
334 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Artificial Intelligence comes in many forms, and for game developers, Path-Finding is an important ability for making an NPC (Non-Playable Character) maneuver through terrain.  A* is a particularly easy way to approach it.  I’ll start with the algor…
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 is a high-level webinar that covers the history of enterprise open source database use. It addresses both the advantages companies see in using open source database technologies, as well as the fears and reservations they might have. In this…
There are cases when e.g. an IT administrator wants to have full access and view into selected mailboxes on Exchange server, directly from his own email account in Outlook or Outlook Web Access. This proves useful when for example administrator want…

690 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