Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to change the camera into the Orthophoto projection ? #52

Open
Taotaoxu opened this issue Nov 22, 2021 · 0 comments
Open

how to change the camera into the Orthophoto projection ? #52

Taotaoxu opened this issue Nov 22, 2021 · 0 comments

Comments

@Taotaoxu
Copy link

Thanks for your Great work!

Your code helps me a lot!
When I create a new camera, I find that the resulting camera works with the Central projection.
Now, I want to create a new camera with the Orthophoto projection.
How can I change the code to do that?

  • I guess there must be a function in the CAM namespace that can solve this problem, but I can't find it.

  • Meanwhile, I am not sure of the mean of the parameters of the function:

        static Cam CREATE_CAM(char* camName, BOOL p1) { return invoke<Cam>(0xC3981DCE61D9E13F, camName, p1); } // 0xC3981DCE61D9E13F 0xE9BF2A7D
	static Cam CREATE_CAM_WITH_PARAMS(char* camName, float posX, float posY, float posZ, float rotX, float rotY, float rotZ, float fov, BOOL p8, int p9) { return invoke<Cam>(0xB51194800B257161, camName, posX, posY, posZ, rotX, rotY, rotZ, fov, p8, p9); } // 0xB51194800B257161 0x23B02F15
	static Cam CREATE_CAMERA(Hash camHash, BOOL p1) { return invoke<Cam>(0x5E3CF89C6BCCA67D, camHash, p1); } // 0x5E3CF89C6BCCA67D 0x5D6739AE
	static Cam CREATE_CAMERA_WITH_PARAMS(Hash camHash, float p1, float p2, float p3, float p4, float p5, float p6, float p7, BOOL p8, Any p9) { return invoke<Cam>(0x6ABFA3E16460F22D, camHash, p1, p2, p3, p4, p5, p6, p7, p8, p9); } // 0x6ABFA3E16460F22D 0x0688BE9A
  1. what is the mean of ''BOOL p1" of CREATE_CAM?
  2. what is the mean of '' BOOL p8, int p9" of CREATE_CAM_WITH_PARAMS?

Please help.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant