c47edit icon indicating copy to clipboard operation
c47edit copied to clipboard

is there any way to edit how the culling behaves?

Open Entityexist opened this issue 2 years ago • 6 comments

Hello i unexpectetly found your project of making c47 edit and its like a miracle for me cause im working on RTX Remix Remaster Project and im in a bit of pickle cause culling in glacier engine causes me a headache and i would love to know if there is a way to edit or disable it by any chance and not only for C47 but for hitman 2 that appears to work on the same engine

by the way i love your project and work

cant wait to any respond

Best Regards Entity

Entityexist avatar Aug 12 '23 11:08 Entityexist

Hi, By culling I assume you mean the drawing distance?

If you want to increase the draw distance, I suggest looking at the Hitman Unlocker project which lets you configure the draw distance during gameplay by installing a single file.

If it does not work, you can also use c47edit to change the draw distance: simply open a valid scene zip file, then go to Tools > ZDefines. There you can change the camera's near/far distance as well as the FOV. However doing so would only apply to the scene where you changed the values, so you would have to change the values of every single scene, which can take time.

AdrienTD avatar Aug 12 '23 17:08 AdrienTD

culling i would like to render whole game plus all objects that are behind the camera view

Entityexist avatar Aug 13 '23 12:08 Entityexist

Yes, in that case use the Hitman Unlocker, or with c47edit change the Camera Far Distance in the ZDEFINES to make more objects appear at far distance. However, be careful that putting a very large far distance can decrease performance, especially in large areas like Columbia.

AdrienTD avatar Aug 13 '23 15:08 AdrienTD

what about the frustrum of the camera can i force to get more objects loaded from behind camera?

Entityexist avatar Aug 09 '24 21:08 Entityexist

Honestly I don't know. Maybe you could change the near distance to a negative value, but I think that would break the game?

There is also a cheat code to enable rendering rooms when they are covered ( key Y after enabling debug mode ), but not sure if that will also render rooms behind the camera.

AdrienTD avatar Aug 10 '24 11:08 AdrienTD

it will shutdown ZGates and game will render everything whats in frustrum of camera

you might be only single person i can ask questions about this game

don't worry if you cant answer my questions

i found that some fof the code is connected to ZGEOM and FOV and Len

image

im looking for help cause im trying to work on hitman projects with path traced lighning via RTX Remix Runtime

and there is big issue with light leaking into culled scene ;D

i have this Variables is there any way to push them to the game and change their values?

Entityexist avatar Aug 10 '24 15:08 Entityexist