Open main menu
CDOT Wiki
β
Search
Changes
← Older edit
Newer edit →
UnknownX
117 bytes added
,
17:24, 12 April 2017
→
Assignment 1 Ray Tracing v2
[[File:Pycpu.PNG]]<br />
Here is the code to calculate each pixel. It is good to use GPU to calculate them because each pixel is independent.
for (int y = 0; y < N; ++y) {
for (int x = 0; x < N; ++x) {
Pyang16
122
edits