And another news: I use procedural mesh in BP and make the procedural box, but whith tesselation. U can build box with x,y,z dimensions and t polygons in each side of box.
https://drive.google.com/file/d/0ByXahhyru0l-VURLWWUxaW9mZWs/view?usp=sharing
But this thing have some problems.
- This BP based on construction script and in viewport work fine. But when i press the play button my mesh disappear.
- This mesh contain vertex color. But vertex paint not work. I was founded in staticmeshcomponent.h struct Fpaintedvertex and thinking about including this code to the procedural mesh. But im a begginer…
- Next step what i want to make - add material id to the fproceduraltriangles.
One week ago i was maked a BP wich build procedural house from static mesh clusters. This BP have input parameters: dimensions, number of floors, number of window and doors for each wall. And i can use vertex paint and diffrent materials. And it work fine. BUT. When i build a new house for example 5-9 floors and 10x15 meters dimensions - this BP contain 1000 static meshes. FPS down form 120 to 30. When I add a whole building of the same number of polygons from the 3d max - its ok whith FPS (120).
Thats why i need procedural mesh - generate one mesh for one building or one floor.