Anim8or Community
General Category => General Anim8or Forum => Topic started by: mystman12 on October 03, 2023, 02:37:13 pm
-
Currently I'm trying to create a model that utilizes both a sphere where only the back faces are visible via a two sided material where the front is entirely transparent and the back isn't, and some other objects with ART raytracer attributes. Unfortunately I've run into a problem where the back faces of the sphere aren't visible in the ART raytracer renderer, and of course the attributes don't work in the scanline renderer.
Is there a solution to this problem? I feel like there should be some workaround here, but I've been unsuccessful in finding one so far. I don't necessarily need to use a two sided material, I just need to find a way to have it so that only the back faces of the sphere are visible in the ART raytracer, such that an object inside of it is visible, but not an object behind it.
-
If you post a sample .an8 project I will take a look at it.
-
Sure! Here's a sample demonstrating the issue. The large sphere is using a two sided material where the front is totally transparent and the back is green. Inside the sphere is a small blue sphere which can be seen from any angle. If you render the image with the scanline renderer, it appears as expected. With the ART raytracer however, the front of the material is used on both sides of the polygons and so the entire sphere is invisible.
-
Posting an update to say that I ended up finding a pretty decent solution by cutting a sphere in half and then setting it to always face the camera in Scene renders. Not as ideal as the two sided material method, but it doesn't have any issues with with the ART renderer.