Ice-T Posted November 28, 2016 Share Posted November 28, 2016 Hello, I'm realy new to this and i want to apologize in advance if this question already had been handled a couple of times, but i could not find a solution after 2 days. So i'll give it a try and ask you guys What i want: I do expect Points (x,y,z) which build a closed custom shape. The shape may consist of n-Points (in my Example there are 5). The shape also has to be extruded by a specific length. Everything will be extruded into the Z-Axis. Next step is creating a material and applying it to the Mesh. The Problem: Because of the CAP_ALL parameter my texture is not aligned properly (see related question: related post). I can't use the MeshBuilder.CreateBox because my shapes are not always boxes and i could not find any way to fix my Mesh's uvs You can see my example here: http://www.babylonjs-playground.com/#ULTEI#3 My Solution: I create a box and subtract each face. This is the only possible solution i found. (Yet it's not acceptable) You can see the shame here: http://www.babylonjs-playground.com/#ULTEI#4 Can anyone point me in the right direction how to manage this? Any help would be appreciated. Thank you all in advance 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.