Large disappearing models - still disappearing?

Discuss anything ZDoom-related that doesn't fall into one of the other categories.

Large disappearing models - still disappearing?

Postby Enjay » Sat Aug 11, 2018 9:44 am

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
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Large disappearing models - still disappearing?

Postby Rachael » Sat Aug 11, 2018 11:20 am

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
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

Re: Large disappearing models - still disappearing?

Postby Enjay » Sat Aug 11, 2018 1:00 pm

Oooh, excellent. Thank you kindly. :)
User avatar
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Large disappearing models - still disappearing?

Postby Rachael » Sat Aug 11, 2018 1:39 pm

Sure thing. :)
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

Re: Large disappearing models - still disappearing?

Postby Enjay » Sat Aug 11, 2018 4:47 pm

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
Enjay
Everyone is a moon, and has a dark side which he never shows to anybody. Twain
 
 
 
Joined: 15 Jul 2003
Location: Scotland

Re: Large disappearing models - still disappearing?

Postby ReX » Fri Aug 31, 2018 10:34 am

@ Enjay & Rachael: I take it that Ed the Bat should be using this special for the relevant models in Paranoix?
User avatar
ReX
Title? I don't need no steenkin' title!
 
Joined: 05 Aug 2003
Location: Quatto's Palace

Re: Large disappearing models - still disappearing?

Postby Rachael » Fri Aug 31, 2018 11:17 am

I'd be very surprised if he isn't, already. He's usually very much on top of things like this.
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

Re: Large disappearing models - still disappearing?

Postby Tormentor667 » Fri Aug 31, 2018 4:07 pm

Awesome since when is this in?
User avatar
Tormentor667
needs more detail
 
Joined: 16 Jul 2003
Location: Germany

Re: Large disappearing models - still disappearing?

Postby Rachael » Fri Aug 31, 2018 4:35 pm

It's been in since early 2017, possibly late 2016, just before ZDoom's development was dropped.
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004

Re: Large disappearing models - still disappearing?

Postby Ozymandias81 » Sat Sep 01, 2018 10:47 am

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
Ozymandias81
Doom is a State of Mind... Out of Control.
 
Joined: 04 Jul 2013
Location: Mount Olympus, Mars

Re: Large disappearing models - still disappearing?

Postby Rachael » Sat Sep 01, 2018 4:42 pm

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.
User avatar
Rachael
QZDoom + Webmaster
 
Joined: 13 Jan 2004


Return to General

Who is online

Users browsing this forum: Ahrefs [Bot] and 3 guests