Jump to content
Fourty7

Creating/Exporting a Spheremap in game

Recommended Posts

Hey all,

 

   Recently I've been working on a 3D model which I intend to create a short video with as an intro for a friend's ArmA videos. The object is reflective metal, and I can use a spheremap to get the reflections on said object without needing it to be in the world / engine.

 

   Here is the thing I'm working on using a few different spheremap images (Real life not ArmA) I had already https://imgur.com/a/Gy1Nu

   For reference, a spheremap is a 2:1 image made using a camera that has an FOV of 360 degrees horizontal by 180 degrees vertical (Captures everything in all directions), then applied to a sphere (with default sphere UV mapping) which surrounds the camera/scene.

   For reference, here's what a spheremap looks like https://imgur.com/a/T0NCf

 

   I tried my own hack-job method, by setting the FOV manually in my .Arma3Profile to the following settings;

#SpheremapBorken (180 x 287.99)
fovTop=3.141592;
fovLeft=5.026547;

   Since my main display is 16:10 I figured I'd try to set the vertical FOV to 180, take two screenshots (using splendid camera + backspace) in opposite directions and do some cropping + scaling in photoshop, but the FOV wasn't actually 180 degrees after going into the game and you can't manually set the angles for the camera (to my knowledge) other than mouse (inaccurate).

 

   I'm thinking there could be a way to control the camera with the debug menu, but I only know about 1/100th of arma scripting language :P

 

   Anybody have any ideas?... Or is there potentially a tool that exists for this already in the engine?

 

   Thanks for your time either way!

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×