The essential steps are the following:How exactly do I properly utilize sr2 ksy? I would like to use it but I am unfamiliar with Kaitai.
You're in luck, I found it yesterday, and it's in the git repo. Note that I'm not sure how reliable it is yet. Don't trust anything beyond light_names at least, though I think I commented it out anyway. If you run into trouble somewhere, do ping me.Also do you know if chunk files contain light source data?
I moved this fence 10 (metres?) along world x axis. Weirdly enough it culls if I look away from it's original position and not the new one.
View attachment 29446
I pulled this knowledge from my ass with a hex editor so something's probably inaccurate.
Oh it's awesome to see Volition staff! The struct contains transform and model id. Way further in the file, I found another type that has among other stuff the cull box + render distance.Iirc, that's symptomatic of one of two things:
1. The object's center is considered far enough off screen by the renderer that it doesn't need to draw, which then decides to cull it.
2. My memory is more fuzzy on thsi one, but if I remember right, the object's bounding box is too big and the renderer also culls it.
Oh sweet.Oh it's awesome to see Volition staff! The struct contains transform and model id. Way further in the file, I found another type that has among other stuff the cull box + render distance.