Upscaled props fading at obscure angles problem

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
Hey guys, I'm having some trouble with recompiled stock props that I scaled up with the $scale qc command
They are disappearing in plain sight and I don't know what to do for solving that issue.
I'm not well-versed with how models work in source so I ask if any of you guys know anything I can do to solve the issue?

i5l7fiX.png


 

BigfootBeto

Party Time 2.0!
aa
Jun 8, 2016
496
847
Looks to me like the prop stops rendering whenever you can't see the prop origin anymore. My guess is that it's a graphics settings issue, but I'm really not sure. Something else to investigate probably.
 

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
Looks to me like the prop stops rendering whenever you can't see the prop origin anymore. My guess is that it's a graphics settings issue, but I'm really not sure. Something else to investigate probably.

I tried a max quality fps to see if it's the graphics settings but no it still stops rendering so I think what you said about the origin might be it. Anything I could use to force it to stay visible regardless?
 

Crowbar

Spiritual preprocessor
aa
Dec 19, 2015
1,455
1,297
Every model has a bounding box that the engine uses for, among other things, culling the model out of a player's view.
Usually when compiling a model, this bounding box is defined automatically, but decompile tools for models generate QC's that manually define this box, and it doesn't change when you scale your model up, so the engine will try to cull the model as if it were much smaller. To get rid of this, redefine the bounding box yourself using the BBox and CBox sections, or (simpler) remove them altogether as Alligator tells you.
 
Mar 23, 2013
1,013
347
Also iirc the $scale command only affects things behind it (or before? ) so alternativly you could probably just have rearanged the commands in the QC. Well it doesnt matter anymore as you solved the problem but I think it may be useful to know that the $scale command works this wsy
 
Last edited:

Fragancia

L2: Junior Member
Feb 22, 2013
91
33
Also iirc the $scale command only affects things behind it (or before? ) so alternativly you could probably just gave rearanged the commands in the QC. Well it doesnt matter anymore as you solved the problem but I think it may be useful to know that the $scale command works this wsy

I'm aware that you have to specify the $scale command before any .smd references otherwise the prop won't scale up.
Thank you anyways.