@fcycles memory access would be the bottleneck if sending individual pixels from the arduino to the gameduinio. To accomplish fast flat shading, I will need to make a fill triangle routine on the J1 Forth CPU using Forth language. With this function it can send it triangle coordinates and free the AVR from line fill math. The wireframe example in this video is fast because the J1 CPU is doing the line drawing math.
@luis2048 Wow, Great! :) I really thought the FPS was around 15 base on the video... Does someone has try flat shading? I wonder what is the bottleneck.. CPU or memory access?
@fcycles 100+ FPS. the example code was not even using lookup tables for sin/cos. The choppiness is from my webcam capture. The built-in wireframe example had FPS up to 150+. gameduino is really fast.
@fcycles memory access would be the bottleneck if sending individual pixels from the arduino to the gameduinio. To accomplish fast flat shading, I will need to make a fill triangle routine on the J1 Forth CPU using Forth language. With this function it can send it triangle coordinates and free the AVR from line fill math. The wireframe example in this video is fast because the J1 CPU is doing the line drawing math.
luis2048 5 months ago
@luis2048 Wow, Great! :) I really thought the FPS was around 15 base on the video... Does someone has try flat shading? I wonder what is the bottleneck.. CPU or memory access?
fcycles 7 months ago
@fcycles 100+ FPS. the example code was not even using lookup tables for sin/cos. The choppiness is from my webcam capture. The built-in wireframe example had FPS up to 150+. gameduino is really fast.
luis2048 7 months ago
how many fps?
fcycles 7 months ago