Anim8or Community

Please login or register.

Login with username, password and session length
Advanced search  

News:

An update to Anim8or, v1.00b, is available with a few bug fixes. Get your copy HERE. See the "ReadMe" file for details.

Author Topic: ART and textures  (Read 4261 times)

mcheccyb

  • Full Member
  • ***
  • Posts: 173
    • View Profile
ART and textures
« on: March 20, 2008, 05:20:42 pm »

objects with ART syntax don't allow you to add materials. Is this on purpose, or is it something else?
Logged

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1523
    • View Profile
Re: ART and textures
« Reply #1 on: March 20, 2008, 09: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.
Logged

mcheccyb

  • Full Member
  • ***
  • Posts: 173
    • View Profile
Re: ART and textures
« Reply #2 on: March 21, 2008, 08: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.
Logged

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Re: ART and textures
« Reply #3 on: March 21, 2008, 03:17:41 pm »

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

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: ART and textures
« Reply #4 on: March 21, 2008, 03:43:28 pm »

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]

I run windows XP, and have a Geforce 6200gt videocard.

Steve

  • Administrator
  • Hero Member
  • *****
  • Posts: 1523
    • View Profile
Re: ART and textures
« Reply #5 on: March 21, 2008, 04: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 :))
Logged

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: ART and textures
« Reply #6 on: March 21, 2008, 05:08:41 pm »

I will try, maybe only the dumpster will work.

hihosilver

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1294
    • View Profile
Re: ART and textures
« Reply #7 on: March 21, 2008, 06:50:22 pm »

Perhaps you have some flipped normals?  That's all I can think of right now.
Logged

floyd86

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 1056
    • View Profile
    • http://youtube.com/profile?user=floyd386
Re: ART and textures
« Reply #8 on: March 21, 2008, 08:20:21 pm »

No, that not and i only happens with the scene i showed. I can't reproduce it.