I'm trying to draw line segments of variable width in jme3. I've noticed that the first-class line segment object is gone from the scene package in jme3. Here's what I've done so far:
- Just used a mesh set to line mode. Unfortunately I can't figure out a way to make a call to glLineWidth or an equivalent, so we're stuck at basically 1 pixel (or the default) on the lines.
- Rolled my own variable width line using triangle strip mode. This seems a little hacky and has some nonuniform/fugly display issues.
Can anybody think of a better way? Is the old line class buried somewhere I can't find in jme3? Specifically what I'm trying to draw are lines attaching multiple particles in space that need to get updated pretty darn often. Recalculating big meshes on every update would be kinda untenable.