Announcement

Collapse
No announcement yet.

VRayPhysicalCamera and PowerNURBS

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

  • VRayPhysicalCamera and PowerNURBS

    I currently deal with a lot of engineering data from Alias Studio Tools and Rhino, and I use PowerTranslators to get it into Max.

    When I render a scene from a standard max camera or a perspective view, the objects are tesselated depending on their distance from the camera, so they always appear perfectly smooth.
    However, when using the new VRayPhysicalCamera or when overriding the camera in the render settings, it doesn't seem to tesselate them, and just renders the coarse models I see in the viewport.

    I don't know if this is a VRay problem or a PowerNURBS problem, or just something I'm going to have to put up with, but it'd be nice to be able to use the physical camera with nurbs data if at all possible.

    Is there anything I can do, short of converting every surface in the scene to an editable poly, to get them looking smooth through the physical camera?

    Cheers,

    John
    Website
    Behance
    Instagram

  • #2
    Can you show the image examples you are talking about. Thanks.

    Best regards,
    nikki Candelero
    .:: FREE Your MINDs, LIVE Your IDEAS ::.

    Comment


    • #3
      Well then turn off viewdependent mesh. Make tesselation constant. Or you can leave viewdependant option, but increase "Max Edge" to... mmm 0.7 Play around it...

      OR check "render viewport mesh".
      I just can't seem to trust myself
      So what chance does that leave, for anyone else?
      ---------------------------------------------------------
      CG Artist

      Comment


      • #4
        Nikki:

        Give me a little while, and I'll render off an example or two and find somewhere to upload them.

        Paul:

        Thanks for the suggestions.

        I've tried checking 'render viewport mesh', having gone through every object and setting the viewport display settings to far higher values. But this means (a) I've got to go through loads (sometimes hundreds) of objects in each scene just to use the vray camera and (b) it slows the viewports down to a crawl.

        Also, importing them as a size-dependant mesh still seemed to create quite blocky meshes when rendered.

        Your suggestions would be really helpful in a small scene with only a few nurbs objects in it, but if I'm working with the cad data for a production car, for example, I don't want to have to go through every object and set the tesselation values for each one individually, because it would take me days. I'm trying to write a maxscript to do it for me, but I've never really done any scripting before, so I'm not getting anywhere fast.

        It all seems like a lot of work just to use a camera with a few more features than the standard one, but it would be nice to be able to.

        Cheers,

        John
        Website
        Behance
        Instagram

        Comment


        • #5
          Here's an example of the problem.
          Image 1 is using a standard camera. Image 2 is using the VRay Physical Cam.

          1


          2
          Website
          Behance
          Instagram

          Comment


          • #6
            Well in this case - I think powernurbs can handle iges groups (just don't remember). Group your objects, and import 'em in groups, I think there won't nessesary to adjust EVERY object. Instead - every group
            I just can't seem to trust myself
            So what chance does that leave, for anyone else?
            ---------------------------------------------------------
            CG Artist

            Comment


            • #7
              I currently join the iges files in Rhino and bring the polysurfaces into Max.
              But even that leaves way more objects than I want to go through!
              Website
              Behance
              Instagram

              Comment


              • #8
                Be easiest to get Vlado to make the vrayphysical camera class like a max camera or to get the powernurb guys to allow any object to be picked as the tessellation node.
                Eric Boer
                Dev

                Comment


                • #9
                  well...read the docs of powernurbs :P no need to use the viewport meshes. you can tune rendertesselation without using view dependant tesselation. if you switch to size dependant tesselation you have to retune your tesselation settings. And you can do that on all of the objects at once. Simply select them all and use the "PowerNrb" button in the Powernurbs Tools 1. (NOT the PwrEditNrb ) Then the navigator pops up and generel settings in the modifier rollouts. setting options there will change all selected objects. I'd suggest playing with ONE object first tho to find good settings, as it can be pretty slow otherwise.

                  Thorsten

                  Comment


                  • #10
                    Well it's another way, but grouping makes it easier in future
                    I just can't seem to trust myself
                    So what chance does that leave, for anyone else?
                    ---------------------------------------------------------
                    CG Artist

                    Comment


                    • #11
                      Thanks very much Thorsten. That's done the trick. And yes, I should've read the manual!

                      Thanks to everyone for all the replies. Much appreciated.

                      Cheers,

                      John
                      Website
                      Behance
                      Instagram

                      Comment


                      • #12
                        So, does the Vray camera use the viewport or the render mesh settings for rendering? I haven't been able to use 1.5 yet (long boring story) and see for myself.
                        Surreal Structures
                        http://surrealstructures.com/blog

                        Comment


                        • #13
                          It uses the render mesh settings.
                          It just doesn't appear to take the camera position into account when it renders with view-dependant tesselation, so the objects close to the camera aren't tesselated any more than those further away.

                          Cheers,

                          John
                          Website
                          Behance
                          Instagram

                          Comment


                          • #14
                            Originally posted by Wilyman
                            It uses the render mesh settings.
                            It just doesn't appear to take the camera position into account when it renders with view-dependant tesselation, so the objects close to the camera aren't tesselated any more than those further away.

                            Cheers,

                            John
                            I hope Vlado can fix that. View-dependant tesselation is a major advantage.
                            Surreal Structures
                            http://surrealstructures.com/blog

                            Comment


                            • #15
                              Originally posted by Frances
                              I hope Vlado can fix that. View-dependant tesselation is a major advantage.
                              I'll look into it, but it may be that this is for the PowerNURBS guys to fix. When using regular NURBS in 3dsmax, view-dependent tesselation works fine with VRayPhysicalCamera. I suppose that PowerNURBS may have been specifically coded for the standard 3dsmax camera.

                              [edit] There was indeed a problem with the VRayPhysicalCamera which is corrected for the next RC. Hopefully, it will fix this problem too.

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

                              Comment

                              Working...
                              X