Source Filmmaker > Γενικές συζητήσεις > Λεπτομέρειες θέματος
Ferhod 30 Οκτ, 2013 @ 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:
File download source:
Tiny program used for downloading the files:
Εμφάνιση 1-9 από 9 σχόλια
< >
raptornx01 30 Οκτ, 2013 @ 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 30 Οκτ, 2013 @ 11:42πμ 
Huh, ok. There has to be a solution.
R234 30 Οκτ, 2013 @ 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 30 Οκτ, 2013 @ 2:44μμ 
Ah, ok. I will give that a try. Thanks a lot!
Ferhod 31 Οκτ, 2013 @ 3:29μμ 
Yup, it works!
R234 31 Οκτ, 2013 @ 4:22μμ 
Awesome, another confirmation :)
John Freeman™ 27 Δεκ, 2013 @ 7:01πμ 
Sorry for necro, but can someone explain how to do that?
EpicLPer 28 Σεπ, 2014 @ 6:51πμ 
"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."

Thanks for this tip, I tried to do that on the "Chromapanels" too but there is no $hboxset in the decompiled model QC. I used Crowbar to decompile.
Any other solutions for this already?
Recursive Sweatpants 30 Νοε, 2014 @ 9:08μμ 
I had a similar problem as EpicLPer, where a model was disappearing at certain angles yet its .qc file already had $hboxset commented out. It had a few additional lines of code which I deleted, and after recompiling it the problem was fixed. The lines were:

$collisionmodel "foxy_stage_physics.smd" (I only removed this block underneath the $collisionmodel line, not the $collisionmodel itself)

$mass 700
$inertia 1
$damping 0
$rotdamping 0


$surfaceprop "metal"

$contents "solid"

However, something strange happened. I went back and re-added these lines to see which one was causing the problem specifically, but when I recompiled the model with them, it was still fixed! I don't know if it was just a fluke on my part, but it's possible that simply recompiling the model (and making sure that $hboxset is commented out if it wasn't already) can fix the problem. If I come across another model with this problem I'll test this theory out if nobody can confirm or deny it before then.
Εμφάνιση 1-9 από 9 σχόλια
< >
Ανά σελίδα: 15 30 50
Ημ/νία ανάρτησης: 30 Οκτ, 2013 @ 9:33πμ
Αναρτήσεις: 9