Page 2 of 2

Re: sphere mapped sky to sky box conversion

Posted: Fri Jan 16, 2015 7:05 am
by aeffertz
So, after I run the bat file, where does it save the sky images to? I run the bat file and I see it open and close the POV program numeroous times but I have no idea where it's saving the pictures or if it even is. Searching for sky-n on my computer only comes up with skyboxes for tracks I've downloaded...

Re: sphere mapped sky to sky box conversion

Posted: Fri Jan 16, 2015 7:12 am
by aeffertz
Oh, it's not able to create them because it says it can't read the width and height from the PPM image.

Re: sphere mapped sky to sky box conversion

Posted: Fri Jan 16, 2015 7:31 am
by aeffertz
Okay, apparently Photoshop wasn't saving the PPM file correctly. Got it squared away now.

Re: sphere mapped sky to sky box conversion

Posted: Sat Nov 25, 2017 8:09 pm
by Jakob Hubbard
Is there any possible way to figure out how to find the sun vector for your lighting file?

Re: sphere mapped sky to sky box conversion

Posted: Sat Nov 25, 2017 8:11 pm
by Jakob Hubbard
Nevermind, found DJ's Tutorial.

Re: sphere mapped sky to sky box conversion

Posted: Sat Nov 25, 2017 8:35 pm
by Jakob Hubbard
Nvm that tutorial was totally useless with the method I used, anyone have any suggestions on how to get the sun vector with the google maps method?
http://forum.mxsimulator.com/viewtopic.php?t=33005

Re: sphere mapped sky to sky box conversion

Posted: Sat Nov 25, 2017 8:53 pm
by Jakob Hubbard
Yeah I give up on this custom skybox, having too many issues lol.

Re: sphere mapped sky to sky box conversion

Posted: Sat Jun 13, 2020 10:50 pm
by ColtonD719
jlv wrote:- Run "makeskybox.bat". You might have to edit the first line depending on where you have POV-Ray installed.
I am able to render the images manually one at a time, but when I try to run the batch file, I get "Possible parse error: cannot find skybox.pov" Any ideas on how to fix this?

I am using POV-Ray 3.7 on Windows 10 via Parallels on my iMac. I have edited the makeskybox.bat to point to the correct POV-Ray directory, and the makeskybox.bat, skybox.pov, and spheremap are all in the same folder.

Thanks!

Re: sphere mapped sky to sky box conversion

Posted: Sun Jun 14, 2020 2:17 am
by jlv
ColtonD719 wrote:
jlv wrote:- Run "makeskybox.bat". You might have to edit the first line depending on where you have POV-Ray installed.
I am able to render the images manually one at a time, but when I try to run the batch file, I get "Possible parse error: cannot find skybox.pov" Any ideas on how to fix this?

I am using POV-Ray 3.7 on Windows 10 via Parallels on my iMac. I have edited the makeskybox.bat to point to the correct POV-Ray directory, and the makeskybox.bat, skybox.pov, and spheremap are all in the same folder.

Thanks!
Your current directory has to be the folder where you extracted the zip. So for Windows, first "cd c:\wherever\you\unzipped\skybox" then "makeskybox.bat".

If you're on a Mac the shell script (makeskybox.sh) will probably work. Just edit the "povray=/opt/povray/bin/povray" line to point to where you have POV-Ray installed, then "cd /wherever/you/unzipped/skybox" then "./makeskybox.sh".