Don't apply rendering optimizations to cars and helicopters#271
Conversation
b5d3114
into
themrdemonized:all-in-one-vs2022-wpo
|
@OneMorePseudoCoder, was this purely your idea or you saw that in my fork / new upstream OGSR? It's somewhat strange you reached out to me with some interest to my code and then this PR appears. I mean, you can take whatever you want, but I'd love to see the original authorship / credits then. |
|
@solbjorn Oh, sorry man. Yeah, I took inspiration from your fork. I played Anomaly recently with geometry optimization turned on and noticed that all helis look messed up. I instantly remembered that you had fix to this and also that birds have optimization forcefully turned off in code. So I simply opened ai_crow.cpp file, copied some code, and pasted into Car.cpp and Helicopter.cpp. |
|
@OneMorePseudoCoder, ok. BTW the idea comes from the OGSR team, not me. Also I think that in case of hierarchy visuals you don't need to traverse all the children and set optimization ignore flag for each of them (it's enough that the root visual has this flag). Have you tried just setting this flag to the base visual without iterating over the children? |
Don't apply rendering optimizations to cars and helicopters
Исправляет невидимые машины (и по большей части вертолёты) при включённой оптимизации геометрии.