Subin George Posted June 16, 2014 Share Posted June 16, 2014 Hi Team, Again I have another issue in my charting library. I have to develop a pie chart like library in 3D space. So I have created sphere and applied muti materials. But to may bad luck it was never come out as expected Please check few base codes at http://www.babylonjs.com/playground/#28EUMN#1. I expect the sphere to fill as per expected image. I have implemnted the same with texture, but we cant make that interactive. So i am thiking about a better solution Also as I am calculating below based on user input, it not rendering well(some times, full rendering, sometimes one block missing etc)sphere.subMeshes.push(new BABYLON.SubMesh(0, 0, verticesCount, 0, 900, sphere));Ideally, could you please explain how vertices/indexes play this rendering. Note: Expected output(one with legend) Quote Link to comment Share on other sites More sharing options...
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.