Announcement

Collapse
No announcement yet.

Filter Maps option doesn't affect filtering

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • Filter Maps option doesn't affect filtering

    I would expect "Filter Maps" in the "Global Options" to remove filtering on texture file maps. It doesn't seem to make any difference.
    I've also tried turned off all filtering in the file texture node itself with no visible difference made to the renders. Is there something I am missing or is this function not working at present?

  • #2
    Works for me... the texture is not filtered, but it is still interpolated between pixels (i.e. you won't get a pixelated result - you can get this too if you need, but in a somewhat different way).

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      Thanks Vlado.
      How would I get the pixelated result?
      I thought if I turned off all filtering on a texture with a hard black white edge I would get it pixelated.
      Rich Spence

      Comment


      • #4
        You can use the pre-render Python callback, with something like this:
        Code:
        from vray.utils import *
        
        p=findByName('*file1*')
        b=p[0].get('bitmap')
        
        b.set('filter_type', -1)
        Replace file1 with the name of the File texture you need to be unfiltered.

        Best regards,
        Vlado
        I only act like I know everything, Rogers.

        Comment


        • #5
          Is there another way to do this? Everytime I run that script maya crasches.

          Comment


          • #6
            Which V-Ray version are you using? Works fine for me...

            In any case for the newer nightly builds you can add V-Ray texture filtering attributes to the File nodes where you can change this with a GUI.

            Best regards,
            Vlado
            I only act like I know everything, Rogers.

            Comment


            • #7
              vray 2, but I dont know which build, I guess it´s rather recent as we have lens effects. No filtering attributes though, guess I'll wait until we update, good to know about it though

              Comment


              • #8
                I'm using Vray Version 2.25.01-20121120 and that python script is also crashing my machine. The p=findByName('*file1*') seems to be the line that crashes it.
                As I am only changing one texture file do I need an array of nodes? Is there another way of setting filter_type as I can't find the documentation on this attribute.
                I simply need a pixelated texture file so any way of achieving this would be appreciated.
                Thanks.

                Comment


                • #9
                  Here is a solution to get blocky/pixelated textures:

                  http://forums.chaosgroup.com/showthr...res-on-purpose

                  Comment

                  Working...
                  X