ขนาดวิดีโอ: 1280 X 720853 X 480640 X 360
แสดงแผงควบคุมโปรแกรมเล่น
เล่นอัตโนมัติ
เล่นใหม่
My function of pixel drawingvoid dsp3D_LL_drawPoint(uint32_t x, uint32_t y, color32_t color){ if(x < minX) minX = x; if(x > maxX) maxX = x; if(y < minY) minY = y; if(y > maxY) maxY = y; // YOUR IMPLEMENTATION TFT_FillRectangle(x,y,x+1,y+1,color);}What I must write to void dsp3D_LL_writeToDepthBuffer(uint32_t pos, float32_t value){ // YOUR IMPLEMENTATION}float32_t dsp3D_LL_readFromDepthBuffer(uint32_t pos){ return 0; // YOUR IMPLEMENTATION}???????
Hello!!! Can you give me your code? I downloaded the library, but I can't draw in Flat and Gouraud mode, only WireFrame mode works. My controller is STM32F7. Can you give me code of your benchmark?
My function of pixel drawing
void dsp3D_LL_drawPoint(uint32_t x, uint32_t y, color32_t color)
{
if(x < minX)
minX = x;
if(x > maxX)
maxX = x;
if(y < minY)
minY = y;
if(y > maxY)
maxY = y;
// YOUR IMPLEMENTATION
TFT_FillRectangle(x,y,x+1,y+1,color);
}
What I must write to
void dsp3D_LL_writeToDepthBuffer(uint32_t pos, float32_t value)
{
// YOUR IMPLEMENTATION
}
float32_t dsp3D_LL_readFromDepthBuffer(uint32_t pos)
{
return 0; // YOUR IMPLEMENTATION
}
???????
Hello!!! Can you give me your code? I downloaded the library, but I can't draw in Flat and Gouraud mode, only WireFrame mode works. My controller is STM32F7. Can you give me code of your benchmark?