Happy new year all as i think this is my first post of the year.
I've been quite quiet on the updates front as ive decided really to dive into the latest version of the ship builder as quite frankly the current/old one has its limitations and i really wanted to remedy that.
I'll start by listing what i feel is wrong with the current builder and how going forward ive started to implement changes that should enhance the building process massively. Not putting the current version down but since i started this game my programming skills have come on leaps and bounds and if you think of building a game like working on a house, if you keep patching over things rather than getting to the root problem your just going to spend all your time patching it up.
- Designs typically come out rather boxy due to the frame based approach
- The current process is slow to generate the ships..
- Its prone to generating mesh errors
- The controls can be cumbersome
- The frames layout doesn't really mean anything and components don't link together.
- Limited scope of components
1) Coming at these in order, the new approach is completely freeform except for mirror symmetry. What this means is with the joint builder and frame builder i wrote about before will handle any reasonable number of beams coming from it and the user draws and connects those up by hand.

The ship above took me about 30 minutes to produce in desktop mode, ignoring the fact im the developer i genuinely thought it would take me longer to produce a design. As you can see this is a design that is not possible in the existing ship buidler, it has two seperate hulls at the front, it has armour panels with 5 edges (anything 3 and above is possible). However good or bad it is, it is a unique design compared to the rest of the ship designs. In terms of overall shape as it stands there is not a limit on this. The meshed design is as follows.


2/3) On to the second and third point. Going back to my comment about how much better a coder ive become, the new ship builder is almost entirely written with Unity Burst and the job system in mind. What this means is its now rapid to produce a ship model and this should mean barely a stutter in framerate. Where i had been using a package beforehand (eg. splines) ive now just coded up the specific parts i used and made it burst friendly. To give you an idea, the model above generate with a drop in framerate from around 200fps to 60 fps for a single frame. This can easily be improved further. Going into mesh errors, ive gone through the new approach and replaced my old general mesh script with a 'Ruled' example, this builds the meshes up extremely fast by braking it down into line sections. As of today ive rewritten the penetration script (the one that makes the holes in the mesh for components) and that uses a similar approach rather than remeshes and mucks up the mesh each time its used. I can't say it wont fail but everything should be rapid and work much better than with the current builder.
4) The current controls have proven troublesome, more over in that its not explained and there is no tutorial. The key thing for me is the making it simple and easy to understand, to create a row of joints and beams, you click add beam chain, you add your beam chain either with new points or by selecting existing joints and you click the middle mouse button to complete or delete to go back in the chain. In the below example, a created beam is selected, this gives the user the option to delete it(by pressing delete), or you can adjust its offset and the angle of the offset, this adds curvature and the angle is used to define which direction the curvature heads in from 0 to 360 degrees. To create a armour chain, you go to armour, press create armour and then you select a loop of beam elements (in most instances 3-5 beam elements sequentially that form a loop). This creates armour and you can then define how much you want the centre to raise up or down and how pointed you want the curvature. If its facing the wrong way, you can click invert and it will face the right way up.


5) The current frame layout is essentially a triangular shaped beam. The new frame is going with the game logic that ships can be built up quick and easily to whatever design using offshelf beam design, these beams carry load through their outer structure, but inside can form walkways, power and systems communication. This means the same type of beams will be attached to your components. This hasnt been built in yet but the premise is there for it. I've also added support within the code for multiple beam diameters, so whilst at a joint all diameters have to be the same, one of the beams coming off can step down to half radius to attach on to lightweight components so the user can really spend time to optimise their design (as mission ships are limited by fleet mass). Again not implemented yet but my plan is to add in a basic FEA assessment to make sure the structure is strong enough to accelerate or turn at full speed and in the future could form a live analysis where damaging beams will allow for the structure to be compromised and rip in two under hard acceleration. There are currently gaps between beams and armour to give it a bit more depth and is by design, however i do plan on adding a 'combine armour' function where the armour can bridge over a beam in places giving it a more continuous look.
One additional feature.. I brought myself a 3d printer end of last year and with this new build i wanted to test how easy it was to export a ship for 3d printing. Turned out writing out a STL file is dead easy and the below is my test example of the ship above. As you can see its failed to generate some layers and it was printed in draft mode but its proved to me the concept works well enough. My plan as i see it, is to have a STL file output that can export the beams and joints seperately, and then the user can print out their armour panels and components and build it up. I will note this is a stretch goal but a bit part of the reason for the frame layout is it can make a sensible printer output, also adding in FEA (at least in the builder part) will be able to test if it can hold its own weight.

6) The current components are limited in scope, eg. only one main engine type. This will change but ultimately this is a CAD operation so it will take me a bit of time to complete this.
As it stands this is the current progress per feature..
Geometry = Joints/Beams/Armour - Done (except minor tweaks), Armour Bridge/Penetrations - Partial
Component Integration = Starting Now, current approach is not dissimilar to current.
Texture Detail = Initial Design started, new design tbc.
FEA = Prototyped, will not be in initial release.
Multiplayer Builder = Prototyped.
VR UI = Not Started, will be released at initial since this should work better than desktop.
STL file Output = Prototyped - May or may not be at initial release of new ship builder.
I think i've covered main things and i hope this is something people look forward to. At the end of the day the approach is much closer to my ultimate vision of the builder.
Hope your all having a great day!
