Anim8or Community

General Category => Anim8or v0.98 Discussion Forum => Topic started by: Water Music on September 20, 2008, 02:35:39 am

Title: Two-Sided Materials
Post by: Water Music on September 20, 2008, 02:35:39 am
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?

Title: Re: Two-Sided Materials
Post by: hihosilver on September 20, 2008, 06: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.
Title: Re: Two-Sided Materials
Post by: floyd86 on September 20, 2008, 06: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.
Title: Re: Two-Sided Materials
Post by: Water Music on September 21, 2008, 02:02:45 am

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.
Title: Re: Two-Sided Materials
Post by: Steve on September 21, 2008, 10: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.
Title: Re: Two-Sided Materials
Post by: Water Music on September 22, 2008, 12:17:00 am

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.