Dieterich Posted November 13, 2018 Share Posted November 13, 2018 How add N ring inside the disc? This my initial example: https://www.babylonjs-playground.com/#B0I6G3 Quote Link to comment Share on other sites More sharing options...
jerome Posted November 13, 2018 Share Posted November 13, 2018 What do you want to achieve ? Quote Link to comment Share on other sites More sharing options...
JohnK Posted November 13, 2018 Share Posted November 13, 2018 Given you have named your disc disco how about https://www.babylonjs-playground.com/#S7HM64#4 ? Dieterich 1 Quote Link to comment Share on other sites More sharing options...
Dieterich Posted November 13, 2018 Author Share Posted November 13, 2018 52 minutes ago, jerome said: What do you want to achieve ? I want create roof with diff level, each ring one level.. 41 minutes ago, JohnK said: Given you have named your disc disco how about https://www.babylonjs-playground.com/#S7HM64#4 ? very complex this example, and I am also seeing stars at all times Quote Link to comment Share on other sites More sharing options...
JohnK Posted November 13, 2018 Share Posted November 13, 2018 You could build with 'cones' adjusting top and bottom diameters, heights and positions https://www.babylonjs-playground.com/#B0I6G3#1 Dieterich 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted November 13, 2018 Share Posted November 13, 2018 or one cone with several subdivisions ? Quote Link to comment Share on other sites More sharing options...
Dieterich Posted November 13, 2018 Author Share Posted November 13, 2018 1 hour ago, JohnK said: You could build with 'cones' adjusting top and bottom diameters, heights and positions https://www.babylonjs-playground.com/#B0I6G3#1 this can be in one object? 48 minutes ago, jerome said: or one cone with several subdivisions ? one disc or cone, but each ring update level dynamically _________________________________________ @jerome @JohnK this, but how update ring up/down? https://www.babylonjs-playground.com/#B0I6G3#4 Quote Link to comment Share on other sites More sharing options...
jerome Posted November 13, 2018 Share Posted November 13, 2018 maybe our good old ribbon then ? https://www.babylonjs-playground.com/#B0I6G3#6 GameMonetize, Dieterich and JohnK 3 Quote Link to comment Share on other sites More sharing options...
Dieterich Posted November 13, 2018 Author Share Posted November 13, 2018 Great! but how elevate one line 'tess'? Quote Link to comment Share on other sites More sharing options...
JohnK Posted November 13, 2018 Share Posted November 13, 2018 Sorry do not know what you mean please explain. Quote Link to comment Share on other sites More sharing options...
Dieterich Posted November 13, 2018 Author Share Posted November 13, 2018 Hi @JohnK sorry for my bit question. In last example of @jerome https://www.babylonjs-playground.com/#B0I6G3#6 In this mesh have N 'tess' tesselation. My question is, how elevate one tess/line of this mesh? you can see in attached.. Quote Link to comment Share on other sites More sharing options...
jerome Posted November 13, 2018 Share Posted November 13, 2018 not sure to understand either... is this what you want https://www.babylonjs-playground.com/#B0I6G3#7 ? Quote Link to comment Share on other sites More sharing options...
Dieterich Posted November 14, 2018 Author Share Posted November 14, 2018 (edited) Hi @jerome As in this example, but with an elevation in one of the lines in blue. now understanding? ? see my image: Edited November 14, 2018 by Dieterich Quote Link to comment Share on other sites More sharing options...
jerome Posted November 14, 2018 Share Posted November 14, 2018 https://www.babylonjs-playground.com/#B0I6G3#8 up to you to tweak it as you need Dieterich 1 Quote Link to comment Share on other sites More sharing options...
Dieterich Posted November 14, 2018 Author Share Posted November 14, 2018 I had changed the 'y' axis but got bent like you did. How can I do it line straight? https://www.babylonjs-playground.com/#B0I6G3#11 Wingnut 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted November 14, 2018 Share Posted November 14, 2018 https://www.babylonjs-playground.com/#B0I6G3#12 Wingnut, Dieterich and JohnK 3 Quote Link to comment Share on other sites More sharing options...
jerome Posted November 14, 2018 Share Posted November 14, 2018 want a tent ? https://www.babylonjs-playground.com/#B0I6G3#13 [EDITED] nicer here https://www.babylonjs-playground.com/#B0I6G3#14 Wingnut, Dieterich and JohnK 2 1 Quote Link to comment Share on other sites More sharing options...
Wingnut Posted November 14, 2018 Share Posted November 14, 2018 You're a God, Jeromino! WELL DONE! I goofed-around with vertexData.createCylinder a bit, yesterday, bringing/pasting that entire func into local playground. 34 kg of code weight! My desk monitor kept trying to tip-over, because the playground editor was SO HEAVY! I bailed on it. You make it look SO EASY. *sigh* Someday, J. Someday I'll be a pro vert-wrangler, like you. (maybe) (doubtful) Dieterich 1 Quote Link to comment Share on other sites More sharing options...
jerome Posted November 14, 2018 Share Posted November 14, 2018 actually, the ribbon mesh was designed for all those cases : to transform a bunch of data or a some math function results, or both together, easily into a mesh Dieterich 1 Quote Link to comment Share on other sites More sharing options...
Dieterich Posted November 14, 2018 Author Share Posted November 14, 2018 GREATTTTTTTTTT, you is very good! I like this short code, this is simple to understand. The closePath is the easter egg. (strange how it is built, when tess is '<=') Sorry for my hollow question. After all a picture is worth a thousand words Thanks @jerome and @JohnK ? Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.