Draw with floats and not s16, draw GX array with one function call.
Draw with floats and not s16, draw GX array with one function call.
Hi, I am building off the triangle example, and I am wandering how can I not use s16 to specify vertexes so I can use floats. I am also needing to know how to not use GX_Position1x8, so I can draw the entire array at once. Documentation about all the GX function calls would be very useful.
Gamecube glitches when more than 64 squares are drawn.
Also when I draw more than 64 squares the vertices mess up. Is there a buffer I need to change the size of?
-
- Site Admin
- Posts: 1986
- Joined: Tue Aug 09, 2005 3:21 am
- Location: UK
- Contact:
Re: Draw with floats and not s16, draw GX array with one function call.
The triangle example probably isn't the best one to be building off tbh, I'm not sure it actually works properly - it was one of the first experiments and hasn't really been touched in a long time. We have many examples under https://github.com/devkitPro/gamecube-e ... raphics/gx which show texturing & vertex coloring using float co-ordinates as well as fixed point ones.
The docs at https://libogc.devkitpro.org/ may also help.
The docs at https://libogc.devkitpro.org/ may also help.
Who is online
Users browsing this forum: No registered users and 2 guests