Here are some solutions to the problem just outlined. The drawing the red
transparent object first causes the blue object to not be seen by the camera and
blended in properly. Which of these solutions will solve this particular case?
More than one answer can be correct. First is, draw all objects sorted by size,
small to large. Draw all objects sorted back to front order. Draw all objects as
if they're all transparent, blending each one. And finally, draw the fully
opaque objects first, transparent later.
複数の解決案を用意しました
透明な赤のオブジェクトを先に描くと
青のオブジェクトはカメラに隠されて
うまくブレンドされません
どの解決案だとうまくいくでしょうか
正しい答えは1つ以上あります
オブジェクトをサイズごとに小さいものから描く
オブジェクトを後ろから順に描く
オブジェクトを透明に描き1つにブレンディングする
最初に不透明なオブジェクト 次に透明なものを描く
這裡有些先前的問題可能的解法
如果先畫紅色透明物件,會讓藍色物件無法被攝影機看到而無法正常混色
哪些方法可以解決問題?
一個以上答案是對的
物件依大小排序,小畫到大
物件由後往前畫
把所有物件當成透明的,每個都做混色
最後是先畫完全不透明的,再畫透明的