![]() |
| [[ 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 II: Projection
Authors: Mihail Ivanchev and Hans Thörnquist Description: The second part of the series introduces projection in software rendering. Sample source code is included. |
|
|
|
|
|
#2 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
hehe, it's always amusing again to see how easily the eye can be tricked into seeing that wobbling cube
![]()
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#3 |
|
Senior Member
Join Date: Jan 2003
Location: ON, Canada
Posts: 524
|
Nice article!!
What is the next one going to be about?
___________________________________________
"What ever happened to happily ever after?" |
|
|
|
|
|
#4 | |
|
DevMaster Staff
Join Date: Jan 2003
Location: Mars
Posts: 1,141
|
From the article:
Quote:
___________________________________________
baldurk He who knows not and knows that he knows not is ignorant. Teach him. He who knows not and knows not that he knows not is a fool. Shun him. |
|
|
|
|
|
|
#5 |
|
Senior Member
Join Date: Jan 2003
Posts: 868
|
Hi guys!
10x for the responce, i need stuff like that really (: ) . First to Anubis - yep it's pretty cool visual illusion and might sound weird but there are some eye specialist that use this kind of trick to test for the diopter range of the humans. Anyway no problem if you solve the cube in your head. I really like that effect too. About the next part of the article - yeah it will introduce drawing triangles which is the next great step towards the cool 3d graphics. I'm working in the moment on it... |
|
|
|
|
|
#6 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
i haven't figured out yet when the cube starts to get distorted. i imagine that the brain gets confused when certain lines intersect so that it can't make up the cube shape anymore...
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#7 |
|
Senior Member
Join Date: Jan 2003
Posts: 868
|
Simple my friend
. According to some documents on internet: "the cube's loses it's shape when lines that belong to the logically back sides of the cube are drawn infront of the lines that belong to the logically front sides.". |
|
|
|
|
|
#8 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
with all the lines having the same color it doesn't matter which lines are drawn first...
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#9 |
|
Senior Member
Join Date: Jan 2003
Posts: 868
|
Yep that's true
i guess something else is also important then. If not the computer than the mind is playing tricks i guess (boy i'm smart ;7) |
|
|
|
|
|
#10 |
|
DevMaster Staff
Join Date: Apr 2003
Location: Germany
Posts: 2,328
|
amazing...
___________________________________________
If Prolog is the answer, what is the question ? |
|
|
|
|
|
#11 |
|
New Member
Join Date: Dec 2006
Location: Dublin, Ireland
Posts: 1
|
Hi Mihail and thanks for a great article!
Can you tell me why you didn't put the perspective projection calculations in a matrix? Seems strange to introduce the use of matrix for rotation and parallel projection and not do it for perspective projection. But, again, thanks for the article. Another question: Is it much of a leap to continue on to the view frustum area? I've gotten clipping working but I'm having a hell of a time trying to make the frustum rotate so that a fly-through of my 3D world can be achieved. Thanks. |
|
|
|
|
|
#12 |
|
Senior Member
Join Date: Aug 2004
Location: Ghent, Belgium
Posts: 1,056
|
Don't transform the frustum. Instead, transform the world!
|
|
|
|
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|