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: Two-Sided Materials  (Read 9883 times)

Water Music

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Two-Sided Materials
« on: September 19, 2008, 10:35:39 pm »

I am encountering some issues using two-sided materials while the View -> Preferences -> Use Shaders option is on.  The materials will either not show at all (either side) or will steal transparency/bump/etc. mapping from other materials.  I haven't been able to make this happen with Use Shaders off, or having Use Shaders on while only using one-sided materials.  Also, this only happens in working views; rendering the image always displays it properly.  It happens to me in the newest 97c as well as the March build.  Just me?

« Last Edit: September 19, 2008, 10:39:49 pm by Water Music »
Logged

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Re: Two-Sided Materials
« Reply #1 on: September 20, 2008, 02:11:40 am »

Is this using the ART raytracer?  If so that's because it doesn't render the backs of faces at all since it's not truly realistic.
Logged

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: Two-Sided Materials
« Reply #2 on: September 20, 2008, 02:47:21 pm »

I also noticed a similar thing with ART. I tried to create a bit of a cartoony look and used a black outline. This material was two-sided and it didn't even show up on the render. The object i applied the outline to just wasn't there. It's probably what hiho says that it didn't rendered the back of the faces.

Water Music

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Two-Sided Materials
« Reply #3 on: September 20, 2008, 10:02:45 pm »


Nothing quite so complicated as yet, I just mean adding textures to simple objects in Object Mode.  Here are two quick examples, both with all the goodies turned on under View -> Preferences:

!) I create a box with the default material; I make a second box with a new double-sided material where the transparency of the front side is less than one.  The result is that I can always see the first box but I can't see the second box unless I select Render -> "Render Image."  The rendered image displays both properly.

2) I create a box with a new material that has "Checks" selected for its transparency map; I create a second box with a simple two-sided texture as before.  The result is that in the working view the front face of the second box has the "Checks" transparency map as well even though its material makes no reference to it at all.  Again the rendered image displays both properly.
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 2126
    • View Profile
Re: Two-Sided Materials
« Reply #4 on: September 21, 2008, 06:23:08 pm »

Two sided materials are an old OpenGL hack that could be very useful back when graphics hardware wasn't as powerful as it is today.  I don't think it's worth the effort to try and may them work any better in the ART ray tracer.
Logged

Water Music

  • Jr. Member
  • **
  • Posts: 86
    • View Profile
Re: Two-Sided Materials
« Reply #5 on: September 21, 2008, 08:17:00 pm »


No worries.  I just came across it while experimenting with some game character designs and just thought I'd throw it out there.  I already have a work-around so I'm good on that score personally and I doubt it'll ever be an issue for the majority of users.  I'm just happy to see the fury with which you've been doing general updates recently.
Logged