Hi all,
I need a hand with something. I'm trying to take a super high resolution image of each of the games circuits from a 90 degree, top down perspective. This is required for an editor I'm building which will help modders obtain game coordinates, and more specifically automate the drawing of regions over the circuit which can then automatically be exported to plaintext game compatible XML files. This is currently to help development of the Safety Car Fix mod, but my tool will possibly offer other functionality and provide useful for other types of mod (I'm thinking replay camera positioning for example).
So far I've built a custom script to navigate around the scene in 3DSimEd and take screenshots, saving them to disk (
See an example here). I've then also written a Photoshop script (
Here's a preview) to combine the out put of the previous script into one huge circuit image. The scripts are basically working, minus some minor rounding issue, and I thought I was home and dry except for one thing. (
Here's a preview of one of the hires outputs of my tests)
I've done some tests with manually creating screenshots and aligning them and it appears that the way 3DSimEd renders the view, even when the angle is set to a dead on top down perspective all parts of the corresponding tiles don't align. It's as if there is some slight perspective/distortion problem.
Now, it seems that there won't really be a way to fix this, unless there is some hidden setting in 3dSimEd which I can use to set the view to use an orthographic projection or something which won't exhibit this distortion.
My only other option seems to be to try and use a different application to open/render the circuit map. The only thing that comes to mind then is 3DSMax. I don't have this software, but could download the trial (although it will take me a while.. slow internet). I'm wondering if it's possible, and if anyone has achieved, opening a circuits tracksplit.pssg in 3DSMax and having it shown complete with textures like 3dSim3D (A wire-frame is useless to me for this use case). If so, can you explain how to achieve this?
If it is possible in 3DsMax I should be able to modify my script to support a different application, so long as that application allows you to set the position of the view either via direct input. If it only supports moving the view using keys (instead of direct numerical input) that may also work (and perhaps even better) with some slight modification.
Failing that, does anyone have any other ideas. Figuring this out is crucial to the development of the tool. If this gets sorted, there's only one more hurdle which I'm slightly cautious about.
Any ideas let me know.
Thanks guys,
Wills