Pryme8 Posted July 17, 2018 Share Posted July 17, 2018 https://www.babylonjs-playground.com/#20IBWW I would like to see a working example of an extrude shape, with a custom scale function. https://www.babylonjs-playground.com/#NAG06Y#1 <- here is an easier example. Quote Link to comment Share on other sites More sharing options...
Guest Posted July 17, 2018 Share Posted July 17, 2018 Pinging @JohnK Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 17, 2018 Share Posted July 17, 2018 @Pryme8 There is this one http://www.babylonjs-playground.com/#165IV6#17 in the docs http://doc.babylonjs.com/how_to/parametric_shapes#custom-extruded-shapes Where did your first example come from? Neither this nor the second work for me. Always happy to include more examples in the docs. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted July 17, 2018 Author Share Posted July 17, 2018 The first one was a docs example. https://www.babylonjs-playground.com/#NAG06Y#3 <-Still does not work. what am I doing different then this: http://www.babylonjs-playground.com/#165IV6#438 *EDIT* got it thanks: ExtrudeShapeCustom <- constructor not ExtrudeShape Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 17, 2018 Share Posted July 17, 2018 40 minutes ago, Pryme8 said: The first one was a docs example Missed it. Please give me the page reference and I will chase it up. Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted July 17, 2018 Author Share Posted July 17, 2018 Odd, it was on http://doc.babylonjs.com/how_to/parametric_shapes#custom-extruded-shapes but I dont see it now... trippy. ill try to hunt down where https://www.babylonjs-playground.com/#20IBWW was linked from in the docs for sure now... gotta do some hunting. Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 17, 2018 Share Posted July 17, 2018 Ghost in the machine ?? Quote Link to comment Share on other sites More sharing options...
Pryme8 Posted July 17, 2018 Author Share Posted July 17, 2018 Found it: https://doc.babylonjs.com/how_to/how_to_dynamically_morph_a_mesh under Extruded shape section Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 18, 2018 Share Posted July 18, 2018 @jerome the page mentioned in the post above appears to be one you have written. If so would you have time to look at the issue @Pryme8 has raised in this topic? I, of course, mean the PG not working issue not the how to use custom scaling function issue. Quote Link to comment Share on other sites More sharing options...
jerome Posted July 18, 2018 Share Posted July 18, 2018 https://www.babylonjs-playground.com/#20IBWW#14 Just change BABYLON.Mesh.ExtrudeEtc() by BABYLON.MeshBuilder.ExtrudeEtc() everywhere it appears ... Pryme8 and JohnK 1 1 Quote Link to comment Share on other sites More sharing options...
JohnK Posted July 18, 2018 Share Posted July 18, 2018 Thank you @jerome corrected PG in docs and submitted a PR jerome 1 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.