Large disappearing models - still disappearing?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.
Post Reply
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Large disappearing models - still disappearing?

Post by Enjay »

I thought I'd read somewhere that the issue with large models disappearing if the sector that the actor is in isn't in the field of view had been addressed somehow. However, I was just messing around with a model - a railway carriage - and it kept vanishing as I looked away from the sector it was sitting in.

Obviously, a railway carriage is a long, thin structure, so it needs to be placed carefully with appropriate steps taken to ensure it doesn't vanish in the way that this one was doing. I know how to do that, so if it still needs to be done the traditional way (ensuring the containing sector is always in view when the model should be - even if it involves chopping up the sector into little bits and placing it strategically around the model), that's fine, I can do it. I just had this strange feeling that this should no longer be an issue. Dunno why.

Did I imagine it, of has this been addressed somehow on the engine side? If it has been addressed, I'll raise a bug report with an appropriate example. If it hasn't, then so be it; things are working as they should be.
User avatar
Rachael
Posts: 13560
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Large disappearing models - still disappearing?

Post by Rachael »

Yes, this has been addressed engine-side but will require some manual tweaking on your part.

You will have to set a higher RenderRadius to take advantage of it if Radius is not doing enough by itself.
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Large disappearing models - still disappearing?

Post by Enjay »

Oooh, excellent. Thank you kindly. :)
User avatar
Rachael
Posts: 13560
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Large disappearing models - still disappearing?

Post by Rachael »

Sure thing. :)
User avatar
Enjay
 
 
Posts: 26534
Joined: Tue Jul 15, 2003 4:58 pm
Location: Scotland
Contact:

Re: Large disappearing models - still disappearing?

Post by Enjay »

Oh my goodness! It works like a charm and also means dynamic lights interact with the actor so much better too. Amazing improvement!
User avatar
ReX
Posts: 1578
Joined: Tue Aug 05, 2003 10:01 am
Location: Quatto's Palace
Contact:

Re: Large disappearing models - still disappearing?

Post by ReX »

@ Enjay & Rachael: I take it that Ed the Bat should be using this special for the relevant models in Paranoix?
User avatar
Rachael
Posts: 13560
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Large disappearing models - still disappearing?

Post by Rachael »

I'd be very surprised if he isn't, already. He's usually very much on top of things like this.
User avatar
Tormentor667
Posts: 13533
Joined: Wed Jul 16, 2003 3:52 am
Contact:

Re: Large disappearing models - still disappearing?

Post by Tormentor667 »

Awesome since when is this in?
User avatar
Rachael
Posts: 13560
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Large disappearing models - still disappearing?

Post by Rachael »

It's been in since early 2017, possibly late 2016, just before ZDoom's development was dropped.
User avatar
Ozymandias81
Posts: 2063
Joined: Thu Jul 04, 2013 8:01 am
Graphics Processor: nVidia with Vulkan support
Location: Mount Olympus, Mars
Contact:

Re: Large disappearing models - still disappearing?

Post by Ozymandias81 »

Did some tests today with RenderRadius, and well disappear issue is no more, but I also have to check carefully which actor needs it or not.
I can't simply apply the property on a base class, that seems to smack down the performance on my end.
User avatar
Rachael
Posts: 13560
Joined: Tue Jan 13, 2004 1:31 pm
Preferred Pronouns: She/Her
Contact:

Re: Large disappearing models - still disappearing?

Post by Rachael »

What happens is, when RenderRadius is active, it links the object to every adjacent subsector within the range of the RenderRadius - so if there's a ton of sectors and a huge radius, it takes a lot of processing to handle the object.
Post Reply

Return to “General”