teixayo
teixayo
JCHJava Community | Help. Code. Learn.
Created by asdru on 10/24/2024 in #java-help
Optimizing draw function for texured triangle
I think at least you can render 1-5 milion triangles with your gpu(with ancient one) :kekw:
20 replies
JCHJava Community | Help. Code. Learn.
Created by asdru on 10/24/2024 in #java-help
Optimizing draw function for texured triangle
I think it's slow cause of creating a buffer for every rendering call. You should avoid creating this every frame
20 replies
JCHJava Community | Help. Code. Learn.
Created by asdru on 10/24/2024 in #java-help
Optimizing draw function for texured triangle
It uses int for the addresses, in any library we have it... If you want to learn 3D graphics, you must know how these work. If you want faster rendering of triangles and cubes, I think the best choice is to go to openGL. If not, you can use multi threads and simp (special occasions)
20 replies
JCHJava Community | Help. Code. Learn.
Created by asdru on 10/24/2024 in #java-help
Optimizing draw function for texured triangle
Why dont you use OpenGL? You can even implement your custom algorithms on fragment shader
20 replies
JCHJava Community | Help. Code. Learn.
Created by OMIDD on 10/11/2024 in #java-help
recursion
10+(9+8+7+6+5+4+3+2+1)=10+sum(9) So you can write it like this T(n)=n+T(n-1) & T(0)=0
13 replies
JCHJava Community | Help. Code. Learn.
Created by OMIDD on 10/11/2024 in #java-help
recursion
sum(10)=10+sum(9)=10+9+sum(8)+... sum(9)=9+sum(8) .... sum(1)=1+sum(0) sum(0)=0 It likes a loop that ends when it reaches 0
13 replies