Announcement

Collapse
No announcement yet.

How do I use "VrayMultiSubTex" with Particles to add 2 different colors to them?

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

  • How do I use "VrayMultiSubTex" with Particles to add 2 different colors to them?

    I've scattered some objects onto another object with Particle Flow and the "Vray Instancer" object. Now I want each particle to have either blue or red color randomly so I use "VrayMultiSubTex" map in the diffuse slot in the material. However, I can't seem to find out how to make the particles receive one of these 2 colors randomly. In the "Get ID From:" parameter of "VrayMultiSubTex" I chose "Random by Particle ID" but all my particles render red.

    Please check the attached screenshot:

    Click image for larger version

Name:	vray_particles.jpg
Views:	1
Size:	423.8 KB
ID:	882720
    Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
    AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB (rendering) | GeForce GTX 1080 Ti FE 11GB (display) | GPU Driver 546.01 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

  • #2
    It works fine for me >
    Click image for larger version

Name:	2015-08-31 12_33_37}.jpg
Views:	1
Size:	132.7 KB
ID:	858201

    Can you try to add a few more IDs to the V-Ray MultisubTex map ?
    Which V-Ray version is that?
    Tashko Zashev | chaos.com
    Chaos Support Representative | contact us

    Comment


    • #3
      I just tried but it still doesn't apply the colors. Vray version is 3.20.03. Can you check the new screenshot and see if I'm missing something?

      Click image for larger version

Name:	pf_test.jpg
Views:	1
Size:	390.1 KB
ID:	858204
      Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
      AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB (rendering) | GeForce GTX 1080 Ti FE 11GB (display) | GPU Driver 546.01 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

      Comment


      • #4
        Please find attached my Max file below

        Instancer_RandomColor.zip

        Can you perform a test render and see if you are getting the same result.
        Tashko Zashev | chaos.com
        Chaos Support Representative | contact us

        Comment


        • #5
          Thanks, it worked! I realized that I've been scattering my object directly from the PF Source with the "Shape Instance" operator instead of doing it with the Vray Instancer object.
          Max 2023.2.2 + Vray 6 Update 2.1 ( 6.20.06 )
          AMD Ryzen 7950X 16-core | 64GB DDR5 RAM 6400 Mbps | MSI GeForce RTX 3090 Suprim X 24GB (rendering) | GeForce GTX 1080 Ti FE 11GB (display) | GPU Driver 546.01 | NVMe SSD Samsung 980 Pro 1TB | Win 10 Pro x64 22H2

          Comment


          • #6
            Glad to hear that.
            Tashko Zashev | chaos.com
            Chaos Support Representative | contact us

            Comment


            • #7
              Wow this is great, how did I miss this? Very cool.

              Comment

              Working...
              X