Announcement

Collapse
No announcement yet.

Camera projected texture wont line up in cpu & has float errors

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

  • Camera projected texture wont line up in cpu & has float errors

    I'm having an issue with vray 3.6. I am projecting my image through the camera and it wont line up in cpu rendering. I am linking the projection to the camera and I see float errors popping up in the script editor (below). When I render using cpu the texture is not lined up, basically looks the same as no camera linked. If I render with cuda it is lined up. Problem is I need to bake a texture of image on geoand when I turn on bake the rendering isn't lined up again. Does anyone know if this is a bug on 3.6 or what the cause is? Workaround?

    Here is the error I'm seeing "Cannot find camera 'ut vec3 e); vec4 frexp(vec3 x, out vec3 e);vec4 lit(float NdotL, float..." blah blah blah...
    The other error I was seeing were "Error: Cannot find camera `xJ~uNO'!

    Thanks much! Issue has me stuck!

    Maya 2016 and tried in 2018 as well. Only thing I can think of is to try uninstall vray and try 3.4.
    Last edited by pollack; 08-10-2017, 05:27 PM.

  • #2
    Hi,
    I'm not reproducing this on a simple scene, I do get the error but the image seems to be lined up correctly if possible can you share a scene so we could check the issue?
    Last edited by shaio; 09-10-2017, 01:24 AM.
    Ivan Shaykov
    chaos.com

    Comment


    • #3
      Hi Shaio! I made one and am waiting for IT to put it into the public network. Thank you for your response!

      Comment


      • #4
        Here is an example scene. The image plane should exactly match the geometry. When I render with cpu it does not. When I render with CUDA it does. It appears the image plane in viewport is lined up. Thanks so much!
        Attached Files

        Comment


        • #5
          There is indeed a difference between CUDA and CPU. I'll look a bit more in to the scene and if there is a bug I'll report it and will get back to you with some more information or if there is a workaround for this. It has nothing to do with the errors you're getting though, it's probably a completely different issue and I already reported it in our system.
          Thank you for your feedback.
          Ivan Shaykov
          chaos.com

          Comment


          • #6
            Thank you VERY much. I'm going to work on some other shots and hopefully you have a glorious workaround. I tried tests to see if it had something to do with the pixel aspect ratio of the render settings...or maybe the camera's film aspect ratio... I couldn't find a combination that made it work... however I've done this process a lot so it's very confusing. One thing to note in this test scene, is if you bake textures with CUDA as the renderer the bake is wrong. Is that because you can't bake with CUDA or because the alignment is wrong when that occurs due to the same issue? Don't know.

            Comment


            • #7
              HI,
              I've reported the issue to our system. Unfortunately I didn't find any workaround for this, sorry about that. I'll let you know as soon as the issue is fixed.
              Ivan Shaykov
              chaos.com

              Comment


              • #8
                Do you have an idea as to why the CPU render is not aligning?
                Should the GPU render and bake texture lineup be the same?
                I haven't tried baking with GPU before.

                Comment


                • #9
                  Originally posted by pollack View Post
                  Do you have an idea as to why the CPU render is not aligning?
                  No, we will be looking in to it and hopefully will find out soon.

                  Should the GPU render and bake texture lineup be the same?
                  If you bake them on the GPU yes they should aligned.
                  Ivan Shaykov
                  chaos.com

                  Comment

                  Working...
                  X