Technical Question About Quads

Request help for teeworlds-related subjects (mapping, servers, ..).
For client issues, see our repositories (https://github.com/ddnet/ddnet/issues).
Post Reply
Bolox
Posts: 32
Joined: Sun Oct 05, 2014 2:00 pm
Location: Kiev, Ukraine
Player profile: http://ddnet.tw/players/Bolox/
Mapper profile: http://ddnet.tw/mappers/Bolox/

Technical Question About Quads

Post by Bolox »

Hello, DDNet! I'm into creating new map now so i meet one interesting question to experienced testers.
I'll try to explain what i mean though my eng is bad

Lets imagine the situation - you are mapping a map where you want to or need to place lots of quads, let it be only one quad layer with one picture embeded for example, nothing more. If you create and place many quads with this picture on this quad layer (for example 1000 quads), will it cause big lost in server performance and in general does this map have chances to be applied on ddnet?
Welf
Posts: 1838
Joined: Fri Jun 06, 2014 12:20 am
Player profile: http://ddnet.tw/players/Welf/
Mapper profile: http://ddnet.tw/mappers/Welf/

Re: Technical Question About Quads

Post by Welf »

if many images are overlaying it causes server/client lag
idk if you are talking about this
Bolox
Posts: 32
Joined: Sun Oct 05, 2014 2:00 pm
Location: Kiev, Ukraine
Player profile: http://ddnet.tw/players/Bolox/
Mapper profile: http://ddnet.tw/mappers/Bolox/

Re: Technical Question About Quads

Post by Bolox »

Hi, Welf, thank you for answer, but i'm talking about one single image in one quad layer placed lots of times, if you meant that by "many images". For example if somobody have really big map and he wants to place one similar cloud many times (Para X/Y 90 or something like that)
User avatar
BannZay
Posts: 837
Joined: Mon May 04, 2015 12:26 am
Location: Ukraine
Player profile: http://ddnet.tw/players/BannZay
Mapper profile: http://ddnet.tw/mappers/BannZay/

Re: Technical Question About Quads

Post by BannZay »

Why just not send map/part of it to Welf/or in this thread?
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.tw/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: Technical Question About Quads

Post by Soreu »

No idea if by "lots of times" you mean 300 or 3.000, but many quads (doesn't matter if one image/layer or plenty images/layers) causes client lags, that's why we have possibility to turn off quads or just turn off HD, but that could still be a problem for vanilla, I guess.
Sounds like everything depends on the case
„Vince te ipsum”

         :3             |     GSP Founder     Honorary iMTGmember
Graphic-guy     |     Website & Forum Team Leader (Ex)     [ToP] Leader (Dead)

Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
Bolox
Posts: 32
Joined: Sun Oct 05, 2014 2:00 pm
Location: Kiev, Ukraine
Player profile: http://ddnet.tw/players/Bolox/
Mapper profile: http://ddnet.tw/mappers/Bolox/

Re: Technical Question About Quads

Post by Bolox »

Soreu, thx for the reply. Well i asked this question because i know that layers amount causes on server performance, but i was interested if this is only one layer but with many quads created. So you mean that it doesnt really care if there are 300 or 3000 quads placed on a layer if this layer is able to be putted off by HD function or putting quads off?
I understand that each quad, it is coordinates and configurations of a picture which is chosen for a quad layer, so i wanted to know is there any limit of quad's amount for ddnet. I jsut dont want to make stupid mistakes while mapping to avoid your timewasting and my timewasting while testing :)
User avatar
Ryozuki
Posts: 1748
Joined: Tue Feb 24, 2015 7:28 am
Location: Catalonia
Player profile: http://ddnet.tw/players/Ryozuki/
Mapper profile: http://ddnet.tw/mappers/Ryozuki/
Clan: Unique
Website: https://edgarluque.com
Discord: Ryozuki#2188

Re: Technical Question About Quads

Post by Ryozuki »

I think he means


Layer - Quads

1 Layer + lot quads = server/client-lag?

Is that what you mean?
User avatar
Soreu
Posts: 1371
Joined: Fri Aug 22, 2014 2:47 pm
Location: Poland
Player profile: http://ddnet.tw/players/Soreu
Mapper profile: http://ddnet.tw/mappers/Soreu
Clan: GSP

Re: Technical Question About Quads

Post by Soreu »

Doesn't matter if one layer with 300 quads, or 300 layers each with one quad - both should cause lags (and ofc lower server performance)

But we still don't know about what amount of quads we're talking... It's just "and if..." guessing so far

We're for sure not going to count every quad and say something like "sorry, you used 3 quads too much to let it be released, our limit is max 270 quads per map" (obviously it's just an example)
„Vince te ipsum”

         :3             |     GSP Founder     Honorary iMTGmember
Graphic-guy     |     Website & Forum Team Leader (Ex)     [ToP] Leader (Dead)

Last truly active: Sun Aug 28, 2016 11:13 pm - having great DDNet in both memory and heart
User avatar
hi_leute_gll
Posts: 2525
Joined: Mon Jul 21, 2014 1:15 am
Player profile: http://ddnet.tw/players/hi-95-leute-95-gll/
Mapper profile: http://ddnet.tw/mappers/hi-95-leute-95-gll/
Clan: iMTG

Re: Technical Question About Quads

Post by hi_leute_gll »

There is probably a physically limit for quads, but not a rule - as Soreu said.
.hi._.leute._.gll. | iMTGmember
Bolox
Posts: 32
Joined: Sun Oct 05, 2014 2:00 pm
Location: Kiev, Ukraine
Player profile: http://ddnet.tw/players/Bolox/
Mapper profile: http://ddnet.tw/mappers/Bolox/

Re: Technical Question About Quads

Post by Bolox »

Thank you, guys, for answers. I think i got your point quiet clear, however you didnt understand what i wanted to bring to you, my eng is far not good enaugh to explain.
I think this topic can be closed. Thanks again for help! :)
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest