Hey,everybody,whatsup!
I'm pretty much in a need of advice here...
Well,I'm supposed to model a building and it is supposed to be a monomesh.Being simple I consider a monomesh to be an object which has only one element as subobject,the meshflow is never interrupted throuhgout the whole model.Giving it a thought I came up with one thing that bothers me.Basicaly you can make any two elements of an object have one common edge,so they would be one element,as shown on picture "A".
The wall and the prortruding object are connected only by the edge number 1.There's a gap between edges 1 and 2,but if I pull edge number 2 underneath theese little arces the gap won't be seen.So everything will look as intened without any significant number of triangles used.
BUT,most of the examples I've been shown look more like picture "B",where all the werticles are welded into the mesh.(I didn't weld it all on this picture,just a couple of them to give you the idea).
Even knowing, that game engines could be significantly different I ask you to give me any comment on that.If you think that this is appropriete or not and how may it affect anything in any way.
I thinks that it's still monomesh and everything should be okay,but I really don't want to mess up with this one,so you can never be to sure.
Looking forward to any answers and Thanks in advance!
Replies
The model you show in image B. is a really nasty mesh - it looks solid but it isn't. This could be bad in an engine. Usually what I'd do is either make the protruding part completely separate and solid (not attached to the wall behind in any way), or actually connect it up fully.
To be honest, it's only an extra 8 or 10 triangles if you do it that way anyway, and the end result will be more predictable and easier to work out what's happening just at a glance.
If you want to save triangles and work:
- build the wall as flat rectangle and attach the window/door decoration
why do you need to cut several into a face when you wont see a difference in the end and you could as well go with just 2 triangles (a rectangle)
Thanks,well just as I thoguht.I'm gonna do it all solid,but still,I'm just interested if "A" is appropriate or not.I've read somewhere,that even different smoothing groups slow performance of a game engine(the guy there discussed renderware as far as i remember). may be the engine would just process elements in different passes.And if element is considered as a diferent object(or just a different bunch of vertices) and I for example have 20 pertruding parts in a single building then there's gonna be a whole lot of "objects" in a single scene and it's gonna be harder for a GPU.And if a different structure is created so store ever single "bunch of polygons" then it'll be a hit on free RAm memory too.
Well.It's as far as I am able to think of it.If I am in any way correct then method "A" woulnd't be all that bad.But I don't know about shadow casting and colission in that case.
About "b" not being a solid mesh:"(I didn't weld it all on this picture,just a couple of them to give you the idea)".
I just hoped I won't have to do this=)
renderhjs,
yeah,I tried to google it too,but didn't find a thing=(
that's just what the guys i'm doing a test task for told me.I thought I was that noobish not knowing what it is...
The first test I did just as you said.Attached stuff and bla-blabla...
Then I showed to the Lead Art of the studio and he said that it wasn't monomesh.i was like wtf%\ but man...I have no choice and have to redo it,'cause I need a job and we only have just a couple gamedev companies in belarus and none of the are hiring wright now,except for this one...
Alex
thanks a lot everybody
well, thats one possible reason anyway
i once did a bunch of buildings like this so i could rig and animate them in cartoony dancy ways without them falling apart around seperate elements, it was actually really good fun. Contest!