Search the Community
Showing results for tags 'ribbons'.
Found 3 results
3D for mortals posted a topic in Questions & AnswersMy scene meshes partially created uses ribbons. Orange meshes on picture. All meshes displayed good on screen , but when i try to export scene meshes to OBJ file, then ribbons created meshes not export to result file, without errors. Just nothing, except usual created meshes(black/gray on picture) in result OBJ file , after importing uses freecad/meshlab. And file size is tiny (looks like ribbons just not added to export flow). while i try export only ribbons , in import time i see error "no vertex field found" and file include only elements heading exported_wheel(4).obj
Hey everyone! Apparently I didn't quite understand how ribbons work, even after reading the extensive tutorials. I've set up a playground with a very basic ribbon made from 2 Vector3 arrays (base and heights) gave the whole thing a material and set a box next to it to further illustrate my problem. http://www.babylonjs-playground.com/#1HLWTQ#4 Since I'm not a 3D programming crack, could any of you explain what causes that weird lighting? Is this be a face- or vertex-normal problem? Does it happen because I build the ribbon the wrong way? Where did I go wrong? Cheers, Lesterhaus p.s.: Please forgive the weird xyz-coordinates used - I'm working on a demo where I send batches of drawcommands to babylon js for extrusion and just copy/pasted it into the playground for tests