small medium large xlarge

15 Apr 2016, 10:07

Could you please tell me, where can I find the solution for the second exercice in chapter 8 ? Thanks in advance.

19 Apr 2016, 22:59
Kevin Brothaler (47 posts)

Hi Rindra,

The exercises are meant to be there as paths for further learning and exploration, so there aren’t actually any solutions published.

To get something that looks more like the mallet in the picture, you just have to break it down into simple shapes, starting with half a sphere on top, then the cylinder, and so on.

You already have an idea of how to do a cylinder from the code, so you’re just missing the sphere. Here’s a tutorial that shows a simple way of doing a sphere using WebGL:; you can easily apply the same idea to OpenGL ES on Android.

Hope this helps out! :)

You must be logged in to comment