A rather In-depth guide on how to render exported vehicles into blender, from exporting to rendering, and some extra info.
Exporting your vehicle from Stormworks into Blender
Pierwszy, you need to get your vehicle into a file that blender can take, and blender Installed. (If you don’t know the basics of blender I highly recommend waiting and watching a video on the basics or this guide is going to make no sense.) Stormworks has an an-built in exporter, so all we need to do is export the vehicle by pressing F11 while in the vehicle editor with the vehicle selected. W tym przewodniku, we are going to be using Martin B-10B as our example. It can be found Tutaj. After opening the game and loading in, head to the workbench and open the vehicle you want to use, and press F11, after pressing F11 you should see this popup.
Teraz, after you’ve exported it, you should have a .ply file with the name that you selected in your Stormworks exports folder, the folder will be located at
C:\Users\Your Username\AppData\Roaming\Stormworks\export
Now launch blender, delete the default cube, and go to File > Import > Standford (.ply) as shown in this image. W moim przypadku, the file will be named Martin B10. Your’s will be different depending on what you named it.
A window should pop up where you can import your file. After Importing it to blender, you show to see it facing upwards, and flipped on the X-axis. To fix this you need to set your X Rotation to 90 Degrees and set your X-Scale to -1, Jak pokazano.
Teraz, the origin of the import is off, so what we need to do is Right-Click > Set Origin > Origin to Center of Mass (Surface).
Teraz, this step is optional but recommended if you are going to fix any modded parts on the vehicle.
In blender, go to Edit mode, and select all vertices and then go to Mesh > Merge > By Distance
Potem, with them still selected, go into Face Select, Następnie Kliknij prawym przyciskiem myszy > Tris to Quads, Now your vehicle is into Blender, but is lacking materials.
Teraz, concluding Section 1, we have imported the model, fixed it being flipped, and corrected the origin.
Material Setup
Teraz, with our vehicle in blender, you need to go into the shader editor and create new material for the vehicle. W moim przypadku, I’ll be naming it MB10 MainBody. In the node editor, we need to add a Vertex Color node to our Principled BDSF Shader.
Teraz, to have multiple materials on the model, we need to assign our glass material to our windows and dial faces. I’ll be using cycles, in other rendering engines, making glowing materials that illuminate the area around them are different, więc miej to na uwadze. Pierwszy, let’s make our glass material, to keep things simple, it will be a Glass BDFS Shader with a low roughness value.
Go into the shader editor, add a slot for our glass, and create new material.
Create the glass shader, then select the window faces, after this, click on the slot dropdown, and click assign, po tym, your windows should show the glass preview.
Po tym, we can rinse and repeat the process of adding a slot and assigning it to things that are a different material. W naszym przypadku, we need to do the Nav-lights on the plane. Cycles have a light output node that can make a material that can light up its surroundings. Pierwszy, select the faces of the lights that you want the color you are about to choose, in our case. If there are these blue faces clipped inside of the light, just delete them.
W moim przypadku, here is the shader I used for the Red Nav light.
Z innej uwagi, I swapped to the RAW Color space after this point, so the right value is cranked up a lot, więc miej to na uwadze. I reused the shader for the rest of the light, by just changing the color of the RGB Input.
This is what the model should look like at this point.
Teraz, the cockpit light was the same shader as the others, except the RGB Node was replaced with a Blackbody, with the Temp set to 2750, for a warm white, and the brightness cranked up.
Concluding this section, here is a preview render of what we have so far, in the dark.
Cleaning Up the Model and Preparing to Render
To start off this section, we are going to clean up the modded windows, Pierwszy, we need to mess around with the position of the faces, this can’t really be explained within this guide, as you editing the model as you would with anything in blender, so I’m not going to into depth a whole lot. But here’s what I changed with the windows.
Teraz, since we got the vehicle model cleaned up and imported, we need to setup the scene around the vehicle, in my case I want to portray the B-10B flying above the clouds in the moonlight.
First I’m going to add dim sunlight and then change the sky shader. For the clouds, I used a wide cube with a principled volume shader with a musgrave texture.
Teraz, all we need to do is render, and move on to compositing.
To wszystko, co dzisiaj udostępniamy w tym celu Burze: Buduj i ratuj przewodnik. Ten przewodnik został pierwotnie stworzony i napisany przez Okrążenie. Na wypadek, gdybyśmy nie zaktualizowali tego przewodnika, możesz znaleźć najnowszą aktualizację, postępując zgodnie z tym połączyć.