Anim8or Community

General Category => Anim8or v0.98 Discussion Forum => Topic started by: mcheccyb on March 20, 2008, 01:20:42 pm

Title: ART and textures
Post by: mcheccyb on March 20, 2008, 01:20:42 pm
objects with ART syntax don't allow you to add materials. Is this on purpose, or is it something else?
Title: Re: ART and textures
Post by: Steve on March 20, 2008, 05:10:17 pm
What specifically are you trying to do?

Not all raytracing materials support all textures.  The dielectric and transparent classes only support alpha channel textures but even that is not a physically realistic.  That would require 3D textures.  Other properties like diffuse color don't make any sense in those classes since they are surface properties and can't be integrated throughout the material like the solid diffuse color can.

The glossyreflector class doesn't support diffuse textures but it should because that class only needs surface properties.

The base Anim8or class should support all textures, however.
Title: Re: ART and textures
Post by: mcheccyb on March 21, 2008, 04:48:29 am
i wasn't specifically trying to do anything, i was just toying with ART.

what i wanted to do was add the default checks to a sphere, and have it reflect other objects.

It dosn't matter too much as i wasn't using it for any particular purpose, but it might be cool.
Title: Re: ART and textures
Post by: hihosilver on March 21, 2008, 11:17:41 am
You can do that.  You just need to use the anim8or class materials.  That means the new attribute you create, instead of typing 'class' you type 'specular', then in the 'string' input type 'reflection' or 'glossy', whichever you want.  All texture maps work with the anim8or classes.
Title: Re: ART and textures
Post by: floyd86 on March 21, 2008, 11:43:28 am
I had a problem too with ART and textures. When i render this scene with some reflection added at the windows of the back building, I noticed there where some parts still grey. This doesnt happens when i render the same scene with scanline.

Here is a picture of what mean, look at the red circle:
[img=http://img410.imageshack.us/img410/2222/deadendroad007paintam8.th.jpg] (http://img410.imageshack.us/my.php?image=deadendroad007paintam8.jpg)

I run windows XP, and have a Geforce 6200gt videocard.
Title: Re: ART and textures
Post by: Steve on March 21, 2008, 12:31:17 pm
That looks like a bug.  If you can reproduce it with a simpler example can you send it to me?  (Or even the full project but that's harder to debug :))
Title: Re: ART and textures
Post by: floyd86 on March 21, 2008, 01:08:41 pm
I will try, maybe only the dumpster will work.
Title: Re: ART and textures
Post by: hihosilver on March 21, 2008, 02:50:22 pm
Perhaps you have some flipped normals?  That's all I can think of right now.
Title: Re: ART and textures
Post by: floyd86 on March 21, 2008, 04:20:21 pm
No, that not and i only happens with the scene i showed. I can't reproduce it.