Jump to content
  • AP
    AP

    GMAX: Mesh Smooth and Smoothing Groups

    A_1P_GMAX-mesh-smoothing.pdf

    Firstly the tip:

    Do plenty of saves while you work with different file names. In case you do not like the results and maxed out on your undo steps (which you can increase in the settings btw) you are able to revert back to the previous saved version.

    We start by creating a box that should have the length and beam or your desired ship. Lengthwise I suggest between 5 and 7 segments (too much more will not make you happy here) , beam and height wise 3.

    Picture1.png.e76963eb2275225e7883383fae3f26a2.png

    Picture 1

    Turn your box into an editable poly. Then tick the box Use NURMS Subdivision under the Surface properties tab. Two iterations should be enough (you can go for 3 if you want the object to be smoother, but these settings can easily increase your number of Polygons, which you want to keep low). You will see how there is a mesh created between the vertices of the object.

    Also tick the box Separate by: Smoothing Groups

    Everything in the same smoothing group will be smoothed – makes sense doesn’t it.

    Picture2.png.0a99965de4d508a0d444247576728ee6.png

    Picture 2

    Use the Polygon selection and select all parts of the hull but the deck, and now Clear All Smoothing groups.

    Picture3.png.4d0a52f3c17d2ae031d6b211211584c9.png

    Picture 3

    Now your whole hull is smoothed excluding the deck. I would put the hull into group 9 now. (I usually use grps 1-8 for the deck, 9-16 for the hull and 17-24 for hull extrusions)

    Picture4.png.408749f6548af43b4b350eac7e1f5f19.png

    Picture 4

    Now you can use the Vertex selection and the Non-Uniform Scale tool to adjust your hull shape from the top. Pull the central section close together, we will need it to extract the keel later.

    All hull shaping might look a little odd at first but it will come together in the end!

    Picture5.png.c97ca5cc8e968cdcb7fce5676e563a96.png

    Picture 5

    Once you are happy with it, use the polygon selection again and select parts of the upper deck you want to extrude, eg. the forecastle deck, bridge or the poop deck.

    Picture6.png.d0000ec0b1f9532963dd1d82214df977.png

    Picture 6

    This step may look a bit awkward at first as you can see:

    Picture7.png.212a0cb26d7cb336af3865bf4b0f823a.png

    Picture 7

    But we will fix this by selecting the different Polygons and assigning them to the correct smoothing group. The sides selected below should get a complete new group since we do not want them to smooth with the deck, nor the hull.

    Picture8.png.f449b888d7f07d91b08a3de3f1beea97.png

    Picture 8

    Picture9.png.8036696d2ad90e7ef439042e8ffddffc.png

    Picture 9

    Next we are going to shape our side view to the desired design. If you realized that I gave you bad advice and you need more length sections you can use the Slice Plane tool, rotate and place the plane as needed and then hit the Slice button to get more vertices in the object.

    Picture10.png.5fbad8941dd8e6b7f231abf6bef313a8.png

    Picture 10

    Give your bow and stern nice lines and move them up a bit if you like. Or simply leave them flat ig you go for a modern ship. Then adjust the stern similar to what is shown below.

    Picture11.png.c475ee7d31a1323eb79c32932c88e55e.png

    Picture 11

    Narrow the hull aft down a bit. (careful that you select the correct vertices, as you can see I had to x-out two wrongly selected ;)

    Picture12.png.f5afcc2311655165d219de0005c8b99f.png

    Picture 12

    Select the keel and extrude it (I actually decided to leave the topmost part shown in this selection out of the extrusion, as you will see 4 pictures below)

    Picture13.png.723ddaf67b7f6f7dca478aa2d5b1049a.png

    Picture 13

    Looks odd again...

    Picture14.png.a16e8b81015cb02d77b29318fdfb6dbb.png

    Picture 14

    ... so we adjust the vertices to make that look a bit better:

    Picture15.png.088177a352ca00bf7dc6768f42a5980d.png

    Picture 15

    Now we select the keel and give that a different smoothing group. If you assign two smoothing groups to a poly gmax will try to keep each of their shapes but smooth out the transition between both of them, so play around with that a bit.

    Picture16.png.51b58bba8f8ec18b4c76a0b5b6d3de16.png

    Picture 16

    Next we adjust the bow section. Pick the lower, outer vertices on both sides and scale them in a bit. Scaling rather than moving helps you move both sides symmetrical. Play around until you like the results.

    Picture17.png.b9146e2e3d1fde0446eb89f42d00fc08.png

    Picture 17

    If you are going for a more modern ship you can make an extrusion at this point (like we did aft) and go for a bulbous bow.

    Picture18.png.1447ae989ff7ba9e206e604ccb4c8d26.png

    Picture 18

    Pull out the top sections of the bulwark out a bit if you like.

    Picture19.png.cfcb3a129c7859a4d1f78c0d6f338d47.png

    Picture 19

    Then Pick all lower, outer vertices and pull them up a bit:

    Picture20.png.2a87e65d33f43c9a340ac594fefcb42d.png

    Picture 20

    Looks like a ship!

    Picture21.png.02832d56b320cb6007ff058f107d5e4a.png

    Picture 21

    Once the hull shaping is complete, create a copy of your hull, change the color and name of your copy and position it in the same place, so the two hulls overlap exactly, THEN HIDE THE ORIGINAL! Also make a save with a different filename.

     

    I decided to round the sections between the lower decks and the side walls, by assigning them to the same smoothing groups. (you will see why in a minute) The upper decks have different smoothing groups.

    Now select all deck space of your copied hull and delete it.

    Picture22.png.8397f7d17c9b718c260366edf8244a49.png

    Picture 22

    The result should look something like this:

    Picture23.png.03220262b8ff0c2cbd353dd4a23b5125.png

    Picture 23

    Create another copy of this deck-less hull, change the color, select ALL faces and flip the Normals. This way we create the inside of the hull.

    Picture24.png.ab59694e7a5135557b0d64813e396ba5.png

    Picture 24

    Now I suggest to scale the inside down so we get a bit of “thickness” to the hull. (I suggest length 99.7% and beam 99%)

    Picture25.png.9cb773f4e8dc5fee2e6cc03d0e794282.png

    Picture 25

    Create another copy of your original hull that we hid away, rename it to something “deck” and convert it into an editable poly (I know it is already an editable poly). You will see that the smooth hull that you created with a few vertices now becomes “locked” and all grid points that have been set using the iterations of the subdivision all the way in the beginning, are hard vertices that can be moved. – NEVER WORK ON YOUR HULL IN THIS STATE (it will always look sh*t :D) and remember you cannot reverse this step.

    Picture26.png.053330fce4c912dc3632427b2e4927d5.png

    Picture 26

    Select everything but your decks and delete it.

    Picture27.png.6e787681216e0a80e403f2704e0fe549.png

    Picture 27

    Your ship should now look something like this:

    Picture28.png.5a3e8f3a3e7748ca7afb8c4b4400de22.png

    Picture 28

    Now you can decide where you want to lower your deck below the bulwark and where you want to leave it having railing sit on top. In my example that is just going to be on the forecastle deck. With the Polygon Selection and pull it down.

    Picture29.png.15092327bfe40d25db486d275a0e68f3.png

    Picture 29

    Apologies I took this screenshot after the next step but it should give you an idea how to do it. The deck will stick out of the hull as seen below, which makes sense, so scale it down a bit to fit.

    Picture30.png.c759c6a769e632d569073b34747705dc.png

    Picture 30

    Next we are going to close the gap between inner and outer hull. Place a smooth line on the bow bulwark and generate the mesh around it (I suggest to only do one side and then mirror it over. So I will demonstrate it with the stbd side). If you do not know how to do that, I suggest my tutorial about line shaping, that will explain exactly what you need. Don’t pick too many iterations and sides for the mesh to save some polygons – a model of this size will probably have a lot of detail and keeping the polygons as low as possible is key for good performance of gmax and your future render.

    Try a 15 to 20 thick bulk (depending how much you scaled your inner hull down you might need a bit of material here)

    Picture31.png.643177ed2761656bc946248347ef0bcf.png

    Picture 31

    Place as many lines as you need and align them to the hull, then you can connect them for ease of handling. Klick on a line, select the Attach Mult. function and select all lines you with to attach. Then confirm.

    Picture32.png.09f3ff2aa2f10cd4786f455595fafb37.png

    Picture 32

    Copy the Line, mirror it and position it on the port side.

    Your final result should now look like this!

    Picture33.png.18028a8ff85ec590e787035ea319257a.png

    Picture 33

    prometheus_ac2-08.jpg.d88a860baf4ee9ded89ac5f6a39f3667.jpg

    For inspirations ideas or questions have a look at Simtropolis Shipyard !

     


      Edited by AP  

    • Like 9
    • Thanks 1


    User Feedback


    Just now, AP said:

    @CorinaMarie could you increase the upload limit for a sec so I can attach the pdf? Thanks!

    I could prolly figure that out, but let's beep @Cyclone Boom since he's the expert for all the under the hood site coding. *;)

    • Like 2
    • Thanks 1

    Share this comment


    Link to comment
    Share on other sites

    @AP

    All sorted for temporarily removing the upload limit per file.

    Also I've raised your maximum storage to 1 GB now to give a bit more breathing space. *;)

    • Like 2
    • Thanks 1

    Share this comment


    Link to comment
    Share on other sites

    Thanks very much, greatly appreciate it! Excellent site management per usual! :)

    Greetings from overseas!

    image.png.0397746d92c24baf259a08e245533d62.png

     

    • Like 4

    Share this comment


    Link to comment
    Share on other sites


    Sign In or register to comment...

    To comment in reply, you must be a community member

    Sign In  

    Already have an account? Sign in here.

    Sign In Now

    Create an Account  

    Sign up to join our friendly community. It's easy!  

    Register a New Account


  • Recently Browsing   0 members

    No registered users viewing this page.

×

Thank You for the Continued Support!

Simtropolis depends on donations to fund site maintenance costs.
Without your support, we just would not be in our 24th year online!  You really help make this a great community. *:thumb:

But we still need your support to stay online. If you're able to, please consider a donation to help us stay up and running. This helps sustain a platform where we can share our community creations for years to come.

Make a Donation, Get a Gift!

Expand your city with the best from the Simtropolis Exchange.
Make a Donation and get one or all three discs today!

STEX Collections

By way of a "Thank You" gift, we'd like to send you our STEX Collector's DVD. It's some of the best buildings, lots, maps and mods collected for you over the years. Check out the STEX Collections for more info.

Each donation helps keep Simtropolis online, open and free!

Thank you for reading and enjoy the site!

More About STEX Collections