Hi all,
Is it possible to do DrawTriangles or something similar with hardware rendering for CPP targets? We want to do some mesh deformations (using Spine) but are worried about using CPU rendering.
Thanks!
Jay
Hi all,
Is it possible to do DrawTriangles or something similar with hardware rendering for CPP targets? We want to do some mesh deformations (using Spine) but are worried about using CPU rendering.
Thanks!
Jay
Jay, using drawTriangles inside the class Graphics should do the trick. In the source you can see that drawTiles actually use drawTriangles.
Hi Juakob,
Thats great, thanks so much I’ll take a look at the source I hadn’t realised that it used drawTiles used drawTriangles - that sounds ideal!
Cheers for your response,
Jay
Just to follow up on this - I can confirm that you can get good performance from drawTriangles() - I got something like 1250 triangles drawing while my game was also running and being rendered underneath.
Thanks again.