why fog dont cover skybox image ?
- jan1
- Thread is marked as Resolved.
Reminder: If you encounter any issues with Enscape or your subscription please reach out to our dedicated support team through the Help Center or by using the Feedback button as detailed here.
-
-
anybody from enscape team ?
-
just another bump ......
-
-
jan1 sorry for the delay. The reason is that the distance to the "objects" on the skybox is unknown, thus we cannot calculate fog density.
But the "maximum" distance to the edge of the modeled geometry is known.
If for some reason it isn't possible to take it from that, can there be another slider within the fog settings that pops up like the "Fog Height" that controls the effect of the fog on the skybox?
BTW the fog seems to work on the preset skybox options, so could it be a bug with the imported skyboxes?
-
what if it will be a option to make an object as a boundary or fence /circle/ and from that point it will calculate fog , ofc with 100% cover /another objects + free space = alpha/
-
But the "maximum" distance to the edge of the modeled geometry is known.
"Maximum" can be 2 meters away from the camera, while skybox "objects" distance may be 15 meters away. Having max fog density at e.g. 50 meters, either assumption (2 or 50 meters) will be incorrect.
BTW the fog seems to work on the preset skybox options, so could it be a bug with the imported skyboxes?
We know for sure that our preset horizon plates have objects far away enough to assume full fog density. We cannot be for sure in case of custom skyboxes. Thus giving initially incorrect image is not the best option.
-
so what result is from this problem ? did i something irregullar or what ?
-
so what result is from this problem ? did i something irregullar or what ?
No you did not No fog over custom skybox is by design.
-
And now we need a solution and shouldn't stop here until the next user post the problem. Please.
-
yes pls
-
Concrete idea: instead no shadow for custom skyboxes there is a diameter option needed, per default it could be set for example at 1000m.
-
Scheduled internal discussion about it. Thank you for the feedback.
-
"Maximum" can be 2 meters away from the camera, while skybox "objects" distance may be 15 meters away. Having max fog density at e.g. 50 meters, either assumption (2 or 50 meters) will be incorrect.
Note that the slider is in percentile - we have no control over the distance in m. (...But I really wish we did: currently 100% does not mean that the background is completely obscured and I think it should. Personally I think 100% should equate to 1/2 of the model bounding box size with the BG fully obscure. And the slider should be able to go beyond that so that you could set it to eg 2m).
If there is a technical reason for not automatically setting the distance then it makes sense to have some sort of user input to determine how far away from the centre of the model the background image is.
-
Conclusion: there will be no fog over custom skybox due to the reasons mentioned here earlier.
-
Concrete idea: instead no shadow for custom skyboxes there is a diameter option needed, per default it could be set for example at 1000m.
I think a diameter slider for the skybox is a good idea. I would hope it can grow to be larger than 1km though since we often make city large renderings
-
In previous Enscape versions, fog affected the skybox with a similar metric that has been proposes here.
This has led to various bug reports and complaints because the fog forms an edge at the horizon since we have no information about geometry in the skybox. This horizon edge/gradient does not look good at all, so we removed it. The fog should now be used to make enscape resemble the weather conditions in your skybox, but changing skyboxes from within enscape is almost imoossible due to missing geometric information.
The same applies for the request to move inside the skybox (change the position of camera) instead of having the skybox infinitely far away. This is not possible unless you project it to a sphere which creates weird distortions.