February 16, 2022, 8:44am
Is it possible in JMonkey to create a shape from a profile and a path? Similar to FreeCAD’s
Part Sweep or Blender’s Bevel.
In my project, I want to visualize spline-like paths. However, the paths are first defined by the user, so it is not possible to create the corresponding meshes in advance, e. g. in Blender, and then import them before launching an application.
February 16, 2022, 9:26am
Please take a look at this project
This is a work-in-progress of porting
Sebastian Lague’s PathCreator for Unity to jMonkey.
PathCreator is a tool that generates bezier-curve paths. You would typically use these to create roads or pre-defined paths for NPC’s.
The idea is to be able to save the path and generated mesh(es) so they can be optionally edited at a later date and used in-game.
Shift + RightClick = add segment to end
CTRL + Shift + RightClick = add segment to beginning
RightClick on any anchorpoint to move…
The main Github repo is deleted. You can use this fork
February 16, 2022, 9:39am
Thank you for the prompt reply. I will have a look at the linked project later today
But is sounds very promising!
February 16, 2022, 2:20pm
My jBMesh library has an
ExtrudePath operator. It takes points and orientation as an input. JME has functions for handling curves.
Example Helix Path:
February 16, 2022, 3:55pm
This looks awesome too!
I will come back later this week to have a closer look at your project.