Solved

Simple Texture sample in a single triangle

Posted on 2004-08-22
3
321 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
Comment Utility
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
Comment Utility
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
Comment Utility
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

Free Trending Threat Insights Every Day

Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

Join & Write a Comment

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…
Recently, in one of the tech-blogs I usually read, I saw a post about the best-selling video games through history. The first place in the list is for the classic, extremely addictive Tetris. Well, a long time ago, in a galaxy far far away, I was…
In this tutorial you'll learn about bandwidth monitoring with flows and packet sniffing with our network monitoring solution PRTG Network Monitor (https://www.paessler.com/prtg). If you're interested in additional methods for monitoring bandwidt…
This video explains how to create simple products associated to Magento configurable product and offers fast way of their generation with Store Manager for Magento tool.

772 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

11 Experts available now in Live!

Get 1:1 Help Now