babylon Does not provide an api with wide lines?
three.js All support
const geometry = new THREE.Geometry()
const path = new THREE.Path()
path.arc(0, 0, 50, 0, Math.PI * 2)
const points = path.getPoints(40)
geometry.setFromPoints(points)
const line = new MeshLine()
line.setGeometry(geometry)
const material = new MeshLineMaterial({
color: ‘#33b’,
lineWidth: 4, // this lineWidth
dashArray: 0.1,
dashRatio: 0.5,
transparent: true,
opacity: 1
})
var mesh = new THREE.Mesh(line.geometry, material)
mesh.rotateX(Math.PI / 2)
scene.add(mesh)
No, I don’t think so. There are a number of posts in this forum around this subject.
Just make a search with line + width and you should be able to spot them easily.
Solutions are around using either a ribbon or a path with meshes from what I can recall just right now.
Yes, hence the solution using a ribbon or a mesh with path. I don’t have time right now for a search but I am sure you can find it if you search around the words line + thikness or +3d. It’s somewhere in here and fairly recent.
Anything you are used to is always easier than anything you come new to. Also whatever you are used to always gives you expectations for the new which often do not follow through.