![]() |
| [[ Home | Forums | 3D Engines Database | Wiki | Articles/Tutorials | Game Dev Jobs | IRC Chat Network | Contact Us ]] |
|
|
#1 |
|
DevMaster Editor
Join Date: Jan 2005
Posts: 54
|
Software Rendering School, Part III: Triangle Rasterization
Authors: Mihail Ivanchev, Hans Thörnquist, and Anubis Description: The third part of the series discusses one of the most important basics of the computer graphics: triangle rasterization. |
|
|
|
|
|
#2 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
why me ??? i didn't do anything
![]()
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2003
Location: Switzerland
Posts: 1,333
|
rastericing is important? how so?
___________________________________________
davepermen.net -Loving a Person is having the wish to see this Person happy, no matter what that means to yourself. -No matter what it means to myself.... |
|
|
|
|
|
#4 |
|
DevMaster Staff
Join Date: Jan 2003
Posts: 1,201
|
anubis: Mihail in his article told me to add your name. Do you want me to remove it?
|
|
|
|
|
|
#5 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
nono, it's fine. i gave him some advice but i didn't expect to be mentioned
![]()
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#6 |
|
Senior Member
Join Date: Jan 2003
Posts: 868
|
It's like so:
If something goes wrong - IT"S ANIBIS'ES FAULT!!!! ![]() |
|
|
|
|
|
#7 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
now i see from which direction the wind is blowing here...
![]()
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#8 | |
|
DevMaster Staff
Join Date: Sep 2003
Location: Hell
Posts: 1,109
|
Quote:
By the way, are you the same davepermen that's active on the gamedev.net graphics forum? Also, nice job on the articles Mihail (and apparently Anubis now too). About how far do you plan on taking this series? |
|
|
|
|
|
|
#9 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
yes he is (sorry for answering for you
)btw, i'm not at all involved in this. i merley crossread the article
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#10 |
|
New Member
Join Date: Jan 2003
Posts: 7
|
With two modifications to the makefile, it compiles fine on Linux
![]() change: LIBS = -lmingw32 -lSDLmain -lSDL to LIBS = -lSDLmain -lSDL and LFLAGS = -mconsole $(LIBDIRS) to LFLAGS = $(LIBDIRS) then type make, and after that's done, type ./demo.exe ![]()
___________________________________________
On Demand IT Solutions - http://www.odits.com.au |
|
|
|
|
|
#11 |
|
Senior Member
Join Date: Jan 2003
Location: Switzerland
Posts: 1,333
|
yes, i am
![]()
___________________________________________
davepermen.net -Loving a Person is having the wish to see this Person happy, no matter what that means to yourself. -No matter what it means to myself.... |
|
|
|
|
|
#12 |
|
Senior Member
Join Date: Jan 2003
Posts: 868
|
bladder: thanks d00d. well we (i and whoever else) are planning to take the articles maybe to the full construction of an indoor engine (that is supposed to be the last one). Of course it will have cool things as light maps and etc.
luke: thanks d00d. i'm with a new installed Linux (gentoo) and was trying to compile it myself without luck! but now it works fine! Just as a quick info... these articles are just basic stuff. We simply show the minimal stuff one needs to create 3D. If you want to learn more i recommend to buy a book or somethin'. P.S. I'm sure glad the stuff run on Linux too. Just remember: if the stuff refuse to run on Solaris - go blaim Anubis! There i washed my hands.... now i can die happy! ;7 |
|
|
|
|
|
#13 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
you are walking on thin ice my man
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#14 |
|
Senior Member
Join Date: Jan 2003
Posts: 868
|
Yep! It was fun the first time though.... anyway i'll stop this dumbness!
|
|
|
|
|
|
#15 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
let me know when and if you need help for the next article...
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#16 |
|
Member
Join Date: Apr 2004
Posts: 36
|
Sorry for not registering until now *ahem* (the 2nd "author" of those articles).
Thanks for helping us out fixing the sample code, I've been rather busy with another project and some school work so Mihail had to do all coding himself (he even had to hope the thing would compile in Linux ). I hope I'll have more time for the next article, but my main project has higher priority ![]() |
|
|
|
|
|
#17 |
|
Member
Join Date: Oct 2007
Location: South Africa
Posts: 44
|
This article covers trangle rasterization. But wouldn't it be possible to rasterize quads as well without splitting them into triangles?
I've been trying but it's a bit hard. The only problem I run into is when two verts have the same x or y screen coordinate. Because my gradients get screwed up. Are you supposed to calc a gradient between two verts and then loop from small y to large y and multiply the current y value by the gradient to get the start and end x value? |
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|