Source Filmmaker > Általános témák > Téma részletei
Ferhod 2013. okt. 30. @ de. 9:33
Models disappearing from certain angles
Models imported from Gmod, completely vanishes when I look at them from certain angles. I found out that it happens if I look far away from the origin (not the root). Therefore, it seems like this is because the engine thinks the object is not within the camera view.

The objects still have their shadows when the they disappear.
I have already tried moving the root within the view - No success.


Any help is highly appreciated.

If you're interested in checking out the models yourself here are the links:
Gmod MBilliards mod: http://facepunch.com/showthread.php?t=1054212
File download source: http://mbilliards.googlecode.com/svn/trunk/
Tiny program used for downloading the files: http://downloadsvn.codeplex.com/
17/7 megjegyzés mutatása
< >
raptornx01 2013. okt. 30. @ de. 10:13 
I think this is a known glitch with some models. I recently came across a model of a wall that i think is in sfm by default that disappears when you get close to it. I'm not sure waht causes this or how to fix it without decompiling the model (if it can be fixed that way)
Ferhod 2013. okt. 30. @ de. 11:42 
Huh, ok. There has to be a solution.
R234 2013. okt. 30. @ du. 2:25 
Yeah, it's due to a process called frustum culling, which makes it so that when a model is off-screen, it isn't rendered to save on GPU power. Very useful in video games, not so much in a CG movie program, especially when it's buggy, which it often is with Gmod models in SFM.

From what I can gather, commenting out "$hboxset" in the model's QC file is the only way to fix that. So yes, it needs to be decompiled.
Ferhod 2013. okt. 30. @ du. 2:44 
Ah, ok. I will give that a try. Thanks a lot!
Ferhod 2013. okt. 31. @ du. 3:29 
Yup, it works!
R234 2013. okt. 31. @ du. 4:22 
Awesome, another confirmation :)
NieOrginalny™ 2013. dec. 27. @ de. 7:01 
Sorry for necro, but can someone explain how to do that?
17/7 megjegyzés mutatása
< >
Laponként: 15 30 50
Küldés ideje: 2013. okt. 30. @ de. 9:33
Hozzászólások: 7