nhahn
February 16, 2022, 8:44am
1
Hi everyone!
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.
Ali_RS
February 16, 2022, 9:26am
2
Hi
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.
Controls:
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
2 Likes
nhahn
February 16, 2022, 9:39am
3
Hey,
Thank you for the prompt reply. I will have a look at the linked project later today
But is sounds very promising!
1000ml
February 16, 2022, 2:20pm
4
Hello
My jBMesh library has an ExtrudePath operator. It takes points and orientation as an input. JME has functions for handling curves.
Example Helix Path:
2 Likes
nhahn
February 16, 2022, 3:55pm
5
This looks awesome too!
I will come back later this week to have a closer look at your project.