(Game Art) Model an archway without tilted arc ends?

FiftyTifty
Participant
Participant

(Game Art) Model an archway without tilted arc ends?

FiftyTifty
Participant
Participant

Problem: Arcs are angled at the start & end segments.

 

A picture says a thousand words, so here's two of them:

qyNetofVKFvuan

This has been an absolute pain for me, and I can't figure it out. I've tried the bend modifier on a plane, on a box, and using the arc spline.  And all 3 approaches have those tilted ends.

 

The segments also need to be as identical in size as possible so the UVs don't look stretched differently across them.

 

Any ideas?

0 Likes
Reply
Accepted solutions (2)
752 Views
12 Replies
Replies (12)

FiftyTifty
Participant
Participant

Ok so after a finding an obscure Youtube video, you can get close by selecting the face of your pillar in an edit poly modifier, then select Extrude Along Spline on the right. Toggle the Align Face To Button panel on the floating UI that pops up. The faces are a tiny bit mismatched unfortunately. Seems weird that there's no obvious way to do a straight up arc between two faces?

 

MeTeKrsmeP78jI

0 Likes

wernienst
Collaborator
Collaborator

Add vertical segments to both ends of the arc. Or, of you already have, refine them.

wernienst_0-1723818423053.png

And then, you may use a Sweep Modifier rather than the spline's Rendering parameters for the arch.

wernienst_0-1723818727980.png

 

 

 

FiftyTifty
Participant
Participant

Ooh. How do we do this so the added vertical segments have the same length as the others? I'm working with a texture atlas and the engine doesn't support tiling with those, so I have to keep the faces the same size across it.

0 Likes

wernienst
Collaborator
Collaborator

Simply move the added vertices vertically: In the Modify panel, activate the "See End Result" button, click on the Editable Spline entry, go to Vertex Subobject mode.

wernienst_0-1723883671352.png

wernienst_1-1723883713485.png wernienst_2-1723883758783.png

 

 

wernienst
Collaborator
Collaborator
Accepted solution

And, by the way, you can indeed use the Bend modifier for this task:

wernienst_0-1723884451686.pngwernienst_1-1723884466588.png

(Your values may be different)

dmitriy.shpilevoy
Collaborator
Collaborator
Accepted solution

Imho simplest way would be to use Tube primitive.

dmitriyshpilevoy_1-1724056699140.png

 

wernienst
Collaborator
Collaborator

Torus works, too. 😉

wernienst_0-1724059204126.png

wernienst_0-1724059530312.png

 

FiftyTifty
Participant
Participant

It's very close! While it gets that nice vertical topology at the caps, it now has a weird size issue. Despite using numbers that are a power of 2, the end cap face does not fit squarely with other cubes. So there's still some sort of distortion happening?

EsPR8ZJ

Rather strange that there's these niggling issues, even with very basic geometry. Is there something in the workflow that I'm missing, for keeping everything as a power of 2 at the top/bottom/side edges?

0 Likes

FiftyTifty
Participant
Participant

Yo, that is the one that worked. It seems crazy to me though that the other modifiers don't conform to the power of 2 though. When I am going to make the actual high(-er, as it's still going to be very low poly) geometry that will be a pain.

 

What's the workflow then? Do we have to manually reposition every vertex to make sure things line up proportionally? Not too bad since I'm doing very low poly models, but still would get a bit tedious...

0 Likes

dmitriy.shpilevoy
Collaborator
Collaborator
If you reeeealy want it to be precise, I guess you can measure distance between those... uhm, don't know how it's called, "door-frame-sides" will have to do. Then use that to calculate inner and outer radius for tube or torus.
But honestly, unless you are modeling something that needs to be manufactured irl, you can just snap arc vertices to door-frame-sides and call it a day.
0 Likes

FiftyTifty
Participant
Participant
There's a few reasons why game models need to be precise:

1. Normals need to be identical, otherwise lighting will show a hard border and look bugged.
2. Vertex positions need to be exact, otherwise there will be gaps and show through the level
3. When kitbashing separate architecture objects together, models need to precisely fit otherwise above two issues will be absolutely everywhere in the scene

If you want an example, you can look at how Fromsoft designed their architecture as far back as Dark Souls with no-clip. Also The Legend of Zelda Wind Waker, and any of Bethesda's Fallout/Elder Scrolls games.

No-clip has a view for Dark Souls and Wind Waker if you're curious: https://noclip.website/#zww/Hyroom;ShareData=AYgSsUrOlMTlfl$T&BjQV:(z&P98:MUfkAg8$pg2=M8|@8*ktpT6B/xUY7t6WP
0 Likes

dmitriy.shpilevoy
Collaborator
Collaborator
To clarify, I'm not suggesting to leave gaps in geometry, but to fix it by snapping vertices on everything that needs to fit. Imperfection in this case is that final arc would have different curvature from what you would have if you calculated exact radius, but it won't have 1,2,3 problems.
0 Likes