4.8 have been released for couple of days now, and there is this new feature that allows you to draw polygons in the world.
I wanted to play a bit with it, but accidently made spline-based generation, that generates objects in real-time.
Here is the video demo of what iāve done.
0:00 - Simple cylinder generation 0:50 - Generation by spline-based shape 4:18 - Generation along spline
Iām very sorry for a long videoā¦ Wanted to show all the possibilities.
Features:
Cylinder generation (Radius and height)
Cylinder taper
Show/Hide Caps
Side count
Custom shape mesh generation (Makes rounded meshes based on spline shape. Like Lathe modifier in 3dsMax.).
Generation along spline (Takes shape and extrude it along another spline)
Iteration support
Closed splines support (I donāt know why, but it works only in real-time. In vewport mesh will still has a hole)
Invert normal support
Material support of course
Everything is commented, as well as every variable.
Just found out, that there was Custom Mesh function before 4.8. And the new one is Pocedural Mesh Component that allows to do much more awesome stuff, including UVās, normals and tangents.
Iāll play with it and make something similar to my current generator, but with such functions as UVās and smoothing. Wellā¦ Iāll try to make
I did the same system, but now it supports smoothing and UVs (Cylindrical). And also some information stuff, like Normal and Tanget visualization or Tris and Vert Count.
Generate rounded objects by defining splineās shape. This shape will generate vertexes and polygons around actorās center.
[HR][/HR] Extruding shape along spline
You do not need to scale your textures inside materials, just do it right on objectās instance.
By the wayā¦ Texture applies around geometry or along spline
[HR][/HR] Uniform topology.
This looks super useful! Howeverā¦ Iām not getting any UVs and 4.8 Prev3 crashes when I try to build a starter scene (chairs, table and sculpture) with an instance of the generator placed in the scene.
Any chance of adding intermediate splines to modify a lofted surface along the way? (Adding splines in the middle and at the end to sculpt the shape