Hello guys,
I need some help :/
For a project i want to render a 360° view model. And everything is working fine but when i try to render it i have problems with my shadows...
My english isn't that good so i guess a little picture is better than a long talk ^^
As you can see on my screenshoot here is my 2 renders one by one but when i paste them together, shadows are different and it's not a "clean" 360 view. We can see that the left part is darker then the right one.
Any idea how to fix this ??
Since i'm a beginner with this software sorry if i don't understand everything you'll ask me x)
Here my right render
(https://zupimages.net/up/21/28/g76x.jpg)
Here my left one
(https://zupimages.net/up/21/28/kmpd.jpg)
Then here when i paste both of it
(https://zupimages.net/up/21/28/x1un.png)
I don't think many people will click your links, so if you're genuine, upload images into the post as jpg.
Thx i changed it ^^
Hope it'll help :D
Surely, thanks. A lot of spam here with mysterious links, so this is way better. You'll probably get an answer soon.
Have a look here on how to make spherical panoramas from images: https://photo.stackexchange.com/questions/42941/how-to-make-spherical-360-panoramic-image-with-21-aspect-ratio
Would the spherical option under camera, and setting your render output to your desired size (eg1920 x 1080) get the desired result?
attached is a quick render of an old image. first is a 360 degree spherical pano, the second is the same with just two extra copies added to show it is a perfect 306 image and the ends do match
Hope this is some help
Best
simon
It would. Definitely, but the spherical camera, cause of its use in HDRI is a pro feature only.
ahhh I've been using that version so long I forgot ha ha.
Thanks
Quote from: Balletdude on July 16, 2021, 01:42:18 PMahhh I've been using that version so long I forgot ha ha.
Thanks
Haha
PS you'll probably not want to use GISD with something like this, as the borders and stitching area may receive different GISD then it would in a open setup (like spherical camera).
I forgot to mention that i don't want one single image with panorama view.
To be more complet, the project is to do a skybox for a Counter Strike Global Offensive map.. And for that i need 6 render of each face : Front, left side, right side, back, top and bottom. So my main goal isn't to get 1 render with 360 view but 6 with each one it own part of the model...
And if i paste it all together it's supposed to do a 360 view into a cube.
Final result is more something like this :
(https://zupimages.net/up/21/28/z713.png)
So i know it's kinda tricky but my render are "correct" everything fit well (Not on this screenshoot cuz i tried to fix bug shadow so only re-render 2 faces and not the 6 /±30min by render/ And if i still have bug with 2 of them no need to try the 4 others if you know what i mean XD)
But if i do the sixth faces it fit well (i mean on textures like mountains, trees, grass etc etc) BUT i still have problems with my shadow and i can't understand where it come from :/
Im pretty sure the renders for those skyboxes uses fisheye lenses to warp perspective so it comes out looking right. I think fisheye checkbox may be available in non pro.
they don't, i can link you the site where i find this tutorial, and i already done one without terrain, just to get a skybox with full sky ^^
But it wasn't as good as i wanted so i tryed to push it a bit more further to get a nice one :D
(Here is the link for the tutorial : https://www.mapcore.org/topic/19547-tutorial-make-your-own-skybox-for-csgo/ )
I don't know if i can send exterioral link here, so if i can't just say it to me and i remove it ofc ^^
At least, Thx a lot for the answer, i didn't expect to get a so quickly one
Edit : i forgot to mention, when i tryed to to do it without any terrains i didn't have the shadow problem cuz ofc i had nothing in front of my sunlight" so no shadow at all x)
With solid gradients and clouds I could see how perspectives would work alright but I dont think that would be true for terrain, because it is perspective. So you will have shadows in perspective to each FOV
If you think of the final cube with images mapped, it will be a perspective per face so other faces would be out of perspective.
I dont know too much about cube maps but you'd think you'd want perspective warped at the borders so its not obvious you're living in a cube.
Maybe try this out
I didn't disable GISD and stuff, just setup some cameras.
See here, how Celestia does 6 90 FOV fisheye renders, to create the cube map, which then can be translated to a equirectangular spherical map, thus providing the right perspective for a cube map/spherical.
http://paulbourke.net/panorama/celestiasphere/
The lighting issues are caused by one or two things.
1. GI cache may be slightly different between each render, and this can be solved by using GI caches files:
https://planetside.co.uk/forums/index.php/topic,20533.0.html
2. It could also be that the geometry of the shadows is being optimized too heavily for each view, in which case you can solve this by going to the Advanced tab on the renderer, and changing "Ray detail region" to "360 degree detail (optimal)" or "360 degree detail (highest)"
https://planetside.co.uk/wiki/index.php?title=Render_Node_(TG4)#Advanced_Tab
Quote from: Matt on July 16, 2021, 03:28:06 PMThe lighting issues are caused by one or two things.
1. GI cache may be slightly different between each render, and this can be solved by using GI caches files:
https://planetside.co.uk/forums/index.php/topic,20533.0.html
2. It could also be that the geometry of the shadows is being optimized too heavily for each view, in which case you can solve this by going to the Advanced tab on the renderer, and changing "Ray detail region" to "360 degree detail (optimal)" or "360 degree detail (highest)"
https://planetside.co.uk/wiki/index.php?title=Render_Node_(TG4)#Advanced_Tab
Would 0 cache work like what is seen in that tutorial? Im actually unsure why he did that. I guess speed?
Cache file is probably help self the spot lighting issue between renders.
Thx a lot i'll try it out and come back to u after that :D ;)
Quote from: Matt on July 16, 2021, 03:28:06 PMThe lighting issues are caused by one or two things.
1. GI cache may be slightly different between each render, and this can be solved by using GI caches files:
https://planetside.co.uk/forums/index.php/topic,20533.0.html
2. It could also be that the geometry of the shadows is being optimized too heavily for each view, in which case you can solve this by going to the Advanced tab on the renderer, and changing "Ray detail region" to "360 degree detail (optimal)" or "360 degree detail (highest)"
https://planetside.co.uk/wiki/index.php?title=Render_Node_(TG4)#Advanced_Tab
First i would like to thx you a LOT for this :D It was close to exactly what i was looking for ^^
Then let's be honnest, the result is more enought for what i need to do as you can see, no more shadow bugs and everything fit well
(https://zupimages.net/up/21/28/6i1v.png)
But like i'm someone a bit curious i'd like to know why with this solution some objects are disapearing ? I mean, i don't see my grass anymore and for the trees behind as you can see some are INSIDE the ground ^^ and less than when i do a normal render :x
Like i said if you don't have any idea it's pretty fine for me, the result is really close to what i wanted ^^
But if i can understand a bit more this software it's always good to take :D
Did you make a cache file before populating the grass and stuff?
Nop, populating everything THEN make a cache file ^^
Oh. Hmm. And they aren't set to hold out or invisible or something?
No, and i can see it on the "models" view before render :
(https://zupimages.net/up/21/28/7ygz.png)
I am honestly not sure. There is nothing else you did besides creating a cache file?
Nothing, i open my project, populate everything, then i made a first cache file with the render on spherical camera, then render again my cams one by one with the cache file i just took before.