Blogger

Delete comment from: Rogach on Scala

Anonymous... said...

I have been able to understand and create my own 3D rendering engine using the great tutorial you have provided and a lot of other documents that explain all of the mathematics beind it. With all of this said, I still have a few questions. My major one right now is if it is possible to use the zbuffer with only two baricentric coordinates. I understand the use of 3, but if you use the statement:
if(b1 >=0 && b2 >== 0 && b1 + b2 <= 1){
.....
}
you can slightly speed up the performance of the engine but I have found that only calculating and using 2 baricentric coordinates doesn't work when applied to the zbuffer. Any insight on a possible solution would be very helpful.

Nov 14, 2016, 10:22:12 PM


Posted to How to create your own simple 3D render engine in pure Java

Google apps
Main menu