View distance change in Zandronum?

Discuss all aspects related to modding Zandronum here.
Post Reply
User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

View distance change in Zandronum?

#1

Post by Vincent(PDP) » Tue Jun 10, 2014 5:13 pm

I've got a problem... I've made a map for the mod Zombie Horde, and the map contains alot of 3D floors and it's quite big.
Because the outside areas are so large I would need a script or something for fixing the "render distance" or some other solution that
can prevent Zan from rendering too much in the large areas. Due to it's size it's lagging quite bad to some players.

Splitting the areas are also possible to me, as long as it's almost not noticable.

Here you can have a look at it for yourself:
http://www.mydoomsite.com/WADS/ZM10update30.zip
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

Klofkac
Forum Regular
Posts: 481
Joined: Sat Jun 09, 2012 1:31 pm
Location: Ask Grandvoid servers

RE: View distance change in Zandronum?

#2

Post by Klofkac » Tue Jun 10, 2014 5:37 pm

make the lines through which you cannot see behnid one sided.
𝕂𝕝𝕠𝕗𝕜𝕒𝕔

User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

RE: View distance change in Zandronum?

#3

Post by Vincent(PDP) » Tue Jun 10, 2014 8:13 pm

Thanks, but can you explain a bit please? I don't really understand what you mean.
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

Lollipop
Zandrone
Posts: 1124
Joined: Tue Jul 24, 2012 10:34 am
Location: Denmark

RE: View distance change in Zandronum?

#4

Post by Lollipop » Tue Jun 10, 2014 8:19 pm

try and open a map, pretty much any, and find a sector that is inside another one and doubbleclick one of the lines. There will be a flag called doubblesided or something similar. Try unchecking it and see what happens.
Combinebobnt wrote:i can see the forum league is taking off much better than the ctf ones
GalactusToday at 1:07 PM
are you getting uncomfortable jap
feeling something happen down there

User avatar
Zeberpal
Forum Regular
Posts: 477
Joined: Mon Jun 04, 2012 6:55 am

RE: View distance change in Zandronum?

#5

Post by Zeberpal » Tue Jun 10, 2014 9:07 pm

Making one-sided lines and buildings is the only solution. There is no way to change rendering distance. Zdoom doesnt look forward to implement this feature either.
Image ImageImage

User avatar
Ænima
Addicted to Zandronum
Posts: 3583
Joined: Tue Jun 05, 2012 6:12 pm

RE: View distance change in Zandronum?

#6

Post by Ænima » Tue Jun 10, 2014 9:24 pm

Vincent(PDP) wrote: I've got a problem... I've made a map for the mod Zombie Horde, and the map contains alot of 3D floors and it's quite big.
Because the outside areas are so large I would need a script or something for fixing the "render distance" or some other solution that
can prevent Zan from rendering too much in the large areas. Due to it's size it's lagging quite bad to some players.
There is no "view distance". In this engine, it's infinite. (That's why visplane overflows used to happen.)

As I explained in the other thread, 3D floors do not "block" rendering rays AFAIK, and neither do 2-sided ledges and doors. You need solid sectorless shapes (which should look like solid 1-sided lines in Doom Builder) that will look like "pillars" in your big open space and prevent objects in the far distance from needing to be rendered at all times.
Vincent(PDP) wrote: Splitting the areas are also possible to me, as long as it's almost not noticable.
It might be ugly, but obscuring portions of the player's view with 1-sided infinite-height walls is really the only way to ensure that the amount of CPU required to render the player's view doesn't get too ridiculous. There are ways to "disguise" these pillars if you're clever enough. I think Epic 2 did it in a few maps.
Last edited by Ænima on Tue Jun 10, 2014 9:26 pm, edited 1 time in total.
Reinforcements: midgame Survival joining/respawning
Doom64: Unabsolved: Doom64 + Diablo II
ZandroSkins: a pack made by our community
AeniPuffs: 3D blood and bullet puff effects, free to use for your own mods
Squad Radio: a WASD-based radio chat menu, add your own custom sounds!
Mercenaries (on hold)
Image

User avatar
Vincent(PDP)
Forum Regular
Posts: 527
Joined: Thu Mar 14, 2013 7:35 pm
Location: Sweden
Clan: My DOOM site
Clan Tag: <MDS>
Contact:

RE: View distance change in Zandronum?

#7

Post by Vincent(PDP) » Tue Jun 10, 2014 10:57 pm

So using non-sector shapes or changing the sector's lines to one sided are the only options?
I can try the changing of the lindefs, but the other one will be harder, due to it's built from real life.
//Visual Vincent ( Vincent (PDP) )
- My DOOM site Team

My projects:
Spoiler: (Open)
Doom Writer
Escape From The Laboratory - Done
Escape From The Laboratory Part 2
Parkskolan Zombie Horde Map (ZM10) - Done
In game Admin Commands for Zandronum.
Achievement Mod for Zandronum
Stats mod

User avatar
Dark-Assassin
Maintenence Crew
Posts: 968
Joined: Fri May 25, 2012 4:25 am

RE: View distance change in Zandronum?

#8

Post by Dark-Assassin » Wed Jun 11, 2014 3:50 am

I believe that this is where Vavoom was more superior, with it's full 3D world.
❗ Don't message me for technical or moderation support.
❔ Use the relevant support channels instead.

Post Reply