Announcement

Collapse
No announcement yet.

Light not passing through surface

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

  • Light not passing through surface

    I have a massive problem in that I can't get light to pass through an object. I have a sphere with thickness with a clear glass shader on. Inside this is another sphere with a simple diffuse texture on. I have affect shadows on and pretty much everything else I should. Does VRay not raytrace shadows or something. Someone please help. I just want to be able to see the object inside lit. Surely this is normal?
    KEITH ROGERS

    Learn the rules like a pro so you can break them as an artist.

    http://www.3layersofparallax.com/

  • #2
    The only way I seem to be able to see the surface properly beneath in tuning off visible in refl and refrac of the other ball. Which is good but not right.
    KEITH ROGERS

    Learn the rules like a pro so you can break them as an artist.

    http://www.3layersofparallax.com/

    Comment


    • #3
      Turning off generate and recieve gi for the outer bubble seems to be working. I'll just answer my own problem I guess.
      KEITH ROGERS

      Learn the rules like a pro so you can break them as an artist.

      http://www.3layersofparallax.com/

      Comment


      • #4
        Hi bobvelocity,

        Can you post a sample render or a screenshot of your shader settings? What shader are you using on the outer sphere?

        Best regards,
        yolov
        Alex Yolov
        Product Manager
        V-Ray for Maya, Chaos Player
        www.chaos.com

        Comment


        • #5
          Thanks for your reply Yolov but I don't have time to sort a sample out at the moment. I have something that's working for now but will come come back to you on this next week for sure. I need to get the bottom of it. It seems like the GI won't pass through the glass surface. Anyway, like I say hold tight till next week.
          KEITH ROGERS

          Learn the rules like a pro so you can break them as an artist.

          http://www.3layersofparallax.com/

          Comment


          • #6
            U sure you have enought ray trace depth? Hard to suggest what to fix if we dont have technical details...
            CGI - Freelancer - Available for work

            www.dariuszmakowski.com - come and look

            Comment


            • #7
              I've now attached an image of my problem. Same glass shader on both spheres. The red sphere is behind then inside on the right. Sphere inside goes dark. GI not passing through glass.


              Click image for larger version

Name:	SHADER_PROBLEM.jpeg
Views:	1
Size:	234.3 KB
ID:	846551
              KEITH ROGERS

              Learn the rules like a pro so you can break them as an artist.

              http://www.3layersofparallax.com/

              Comment


              • #8
                Hi,

                Here's a quick example: Click image for larger version

Name:	test1.jpeg
Views:	1
Size:	169.3 KB
ID:	846552. I'm guessing that's the result you're after. On the outer sphere I used VRayMtl with pure white for reflection and refraction, Fresnel reflections and affect shadows "on" for refractions. What shader are you using?

                Best regards,
                yolov
                Alex Yolov
                Product Manager
                V-Ray for Maya, Chaos Player
                www.chaos.com

                Comment


                • #9
                  That's what I want yes. I've done exactly the same as you. But my inner sphere still goes dark. Maybe my VRay is broken?
                  KEITH ROGERS

                  Learn the rules like a pro so you can break them as an artist.

                  http://www.3layersofparallax.com/

                  Comment


                  • #10
                    Mine is the same when I turn off GI.
                    KEITH ROGERS

                    Learn the rules like a pro so you can break them as an artist.

                    http://www.3layersofparallax.com/

                    Comment


                    • #11
                      Can you post a screenshot of the shader settings for the glass material or post a sample scene that doesn't render as expected on your end? Also any info on the Maya/VRay versions will be helpful?

                      Edit: Come to think of it, you mentioned disabling "generate/receive GI" in the vrayProperties on the outer sphere before. Are those options still off ?

                      Best regards,
                      yolov
                      Last edited by yolov; 18-12-2012, 11:34 AM.
                      Alex Yolov
                      Product Manager
                      V-Ray for Maya, Chaos Player
                      www.chaos.com

                      Comment


                      • #12
                        Did your do yours with GI on Yolov?
                        KEITH ROGERS

                        Learn the rules like a pro so you can break them as an artist.

                        http://www.3layersofparallax.com/

                        Comment


                        • #13
                          My glass shader is out of the box created the same as yours. Receive and generate GI are still on in the object properties. Normals are correct and the geo has some thickness. I'm not doing anything out of the ordinary really. I'm using maya 2012 sp2 VRay 2.20 and have been for the last couple of years and never noticed this problem before. The glass doesn't need the GI I guess but having to turn this off on loads of different objects is a bit of a pain. Is this just the way it has to be?

                          Regards

                          Keith
                          KEITH ROGERS

                          Learn the rules like a pro so you can break them as an artist.

                          http://www.3layersofparallax.com/

                          Comment


                          • #14
                            Yes, I used GI for the sample image. Another possible reason for this that comes to mind is, that the inner ball has the same radius as the outer ball's inner part - the geometry is intersecting - in this case the inner (red) ball would be a bit darker. Here's an example:

                            Intersecting geometry:Click image for larger version

Name:	intersecting.jpeg
Views:	1
Size:	169.2 KB
ID:	846553

                            Red inner ball is slightly smaller than the outer glass ball: Click image for larger version

Name:	red_ball_slightly_smaller.jpeg
Views:	1
Size:	169.1 KB
ID:	846554

                            Is that the case in your scene?

                            I hope this helps.

                            Best regards,
                            yolov
                            Alex Yolov
                            Product Manager
                            V-Ray for Maya, Chaos Player
                            www.chaos.com

                            Comment


                            • #15
                              My inner ball in smaller. Where can I upload my scene for you?
                              KEITH ROGERS

                              Learn the rules like a pro so you can break them as an artist.

                              http://www.3layersofparallax.com/

                              Comment

                              Working...
                              X