Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

Ian Ross has just released a book on Anim8or. It's perect for a beginner and a good reference for experienced users. It contains detailed chapters on every aspect, with many examples. Get your own copy here: "Anim8or Tutorial Book"

Author Topic: Backface of two sided material not rendering in ART raytracer  (Read 7067 times)

mystman12

  • Newbie
  • *
  • Posts: 6
    • View Profile
Backface of two sided material not rendering in ART raytracer
« 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.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: Backface of two sided material not rendering in ART raytracer
« Reply #1 on: October 04, 2023, 06:30:06 am »

If you post a sample .an8 project I will take a look at it.
Logged

mystman12

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Backface of two sided material not rendering in ART raytracer
« Reply #2 on: October 04, 2023, 09:33:06 am »

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.
Logged

mystman12

  • Newbie
  • *
  • Posts: 6
    • View Profile
Re: Backface of two sided material not rendering in ART raytracer
« Reply #3 on: October 04, 2023, 04:33:31 pm »

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.
Logged