Announcement

Collapse
No announcement yet.

Problem - vrscene seq

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

  • #16
    no i couldnt make it anything work

    also im not sure i understand how to appendSceneContent all frames?

    could you plz write few lines of code?


    about, the 2nd thing,

    i tried this with single frame, when i write everything into py translate post script and i export whole scene as vrscene (again), vrscene that im loading via post script is hard coded into new vrscene, i hope this is more clear, be cause i was expecting to see in this new vrscene just a link to other proxy vrscene

    thx
    Last edited by bazuka; 17-04-2013, 05:23 AM.

    Comment


    • #17
      @Bazuka:

      Quick explanation:

      For rendering we only use VRay standalone, nothing is rendered from Maya.

      With Yeti we had the problem that only in the first frame the fur was visible, if we there rendering a sequence with only one .vrscene exported.
      The problem was that the exporter only triggered the Yeti expression/prerender script once.
      So inside the .vrscene we hat something like:
      Yeticache.0001.fur which only worked for the first frame.
      After switching to one single .vrscene for each frame the cache was exported properly for all frames.
      lke
      vray.0001.vrscene / Yeticache.0001.fur
      vray.0002.vrscene / Yeticache.0002.fur ...

      Does this help?
      VFX Supervisor @ www.parasol-island.com personal website www.dryzen.com latest reel http://vimeo.com/23603917

      Comment


      • #18
        yes i understand but im also doing the same thing vrscene per frame

        Comment


        • #19
          Originally posted by bazuka View Post
          also im not sure i understand how to appendSceneContent all frames?
          The idea is to append all frames to the exported vrscene and see what happens.

          It should be something like this:
          Code:
          appendSceneContent('my.001.vrscene')
          appendSceneContent('my.002.vrscene')
          appendSceneContent('my.003.vrscene')
          ...
          appendSceneContent('my.##n.vrscene')
          ...
          """here you do the plugin replacement"""
          V-Ray developer

          Comment


          • #20
            Originally posted by t.petrov View Post
            The idea is to append all frames to the exported vrscene and see what happens.

            It should be something like this:
            Code:
            appendSceneContent('my.001.vrscene')
            appendSceneContent('my.002.vrscene')
            appendSceneContent('my.003.vrscene')
            ...
            appendSceneContent('my.##n.vrscene')
            ...
            """here you do the plugin replacement"""
            this is what i was afraid of, what will happen if i have 500frames?

            thx for time and help, but you have to understand that this method is killing production, who will sit whole day and write down lines for whole seq... (i know i can make script to make py script, but again... )

            i dont know what to say, if this is the only way to make this thing work, then ill have to find way around
            Last edited by bazuka; 17-04-2013, 06:01 AM.

            Comment


            • #21
              Originally posted by t.petrov View Post
              The idea is to append all frames to the exported vrscene and see what happens.

              It should be something like this:
              Code:
              appendSceneContent('my.001.vrscene')
              appendSceneContent('my.002.vrscene')
              appendSceneContent('my.003.vrscene')
              ...
              appendSceneContent('my.##n.vrscene')
              ...
              """here you do the plugin replacement"""
              not working... still loads the last frame!

              this is a code, maybe i didnt write something right i dont know
              ------------------------------
              import vray.utils as vu
              import maya.cmds as cmds

              vu.appendSceneContent('k:/Simulations/Naiad/!vray/naiad2vrscene/vrscene/flood.0001.vrscene')
              vu.appendSceneContent('k:/Simulations/Naiad/!vray/naiad2vrscene/vrscene/flood.0002.vrscene')
              vu.appendSceneContent('k:/Simulations/Naiad/!vray/naiad2vrscene/vrscene/flood.0003.vrscene')
              vu.appendSceneContent('k:/Simulations/Naiad/!vray/naiad2vrscene/vrscene/flood.0004.vrscene')
              vu.appendSceneContent('k:/Simulations/Naiad/!vray/naiad2vrscene/vrscene/flood.0005.vrscene')
              nodes=vu.findByName('pCubeShape1@node')
              shapes=vu.findByName('Particle')
              if not nodes:
              cmds.warning('no nodes')
              if not shapes:
              cmds.warning('no shapes')
              if nodes and shapes:
              old=nodes[0].get('geometry')
              nodes[0].set('geometry', shapes[0])
              vu.delete(old)
              -------------------------------------
              could u plz try?

              here is a link for scene with vrscene files

              http://www.sendspace.com/file/hq52i3

              Comment


              • #22
                i have another idea, but this has to be implemented

                is there a way to do something like in 3dl works? for example

                make a box (or what ever) and add obj attrib -> Vray attrib vrscene loader?

                this way is much easier for everything, and we will skip all complications with scripting?

                thx
                Last edited by bazuka; 17-04-2013, 06:30 AM.

                Comment


                • #23
                  Originally posted by bazuka View Post
                  i have another idea, but this has to be implemented

                  is there a way to do something like in 3dl works? for example

                  make a box (or what ever) and add obj attrib -> Vray attrib vrscene loader?

                  this way is much easier for everything, and we will skip all complications with scripting?

                  thx
                  Like ribbox in Renderman ?
                  www.deex.info

                  Comment


                  • #24
                    Code:
                    for i in range(0,5):
                      vu.appendSceneContent('k:/Simulations/Naiad/!vray/naiad2vrscene/vrscene/flood.%'+ "%s".zfill(5)%i +'.vrscene', prefix='naidFlood_%s'%i)
                    nodes=vu.findByName('pCubeShape1@node')
                    shapes=vu.findByName('Particle')
                    if not nodes:
                      cmds.warning('no nodes')
                    if not shapes:
                      cmds.warning('no shapes')
                    if nodes and shapes:
                      old=nodes[0].get('geometry')
                      nodes[0].set('geometry', shapes[0])
                      vu.delete(old)
                    And this ?
                    www.deex.info

                    Comment


                    • #25
                      Originally posted by bigbossfr View Post
                      Like ribbox in Renderman ?
                      yes hehehe

                      Comment


                      • #26
                        bazuka:
                        What command are you using to convert from naiad files to vrscene?
                        The files you've sent me doesn't have keyframes in them and I guess you've forgotten to pass the -fps flag to the command.
                        Can you try to re-export the files with -fps specified.
                        Also can you send me one simple naiad file I can play with. Please keep it minimal.
                        V-Ray developer

                        Comment


                        • #27
                          Originally posted by bigbossfr View Post
                          Code:
                          for i in range(0,5):
                            vu.appendSceneContent('k:/Simulations/Naiad/!vray/naiad2vrscene/vrscene/flood.%'+ "%s".zfill(5)%i +'.vrscene', prefix='naidFlood_%s'%i)
                          nodes=vu.findByName('pCubeShape1@node')
                          shapes=vu.findByName('Particle')
                          if not nodes:
                            cmds.warning('no nodes')
                          if not shapes:
                            cmds.warning('no shapes')
                          if nodes and shapes:
                            old=nodes[0].get('geometry')
                            nodes[0].set('geometry', shapes[0])
                            vu.delete(old)
                          And this ?

                          nope not working

                          # Warning: no shapes #

                          if u have time u can dl maya scene with files from sendspace....

                          Comment


                          • #28
                            Originally posted by t.petrov View Post
                            bazuka:
                            What command are you using to convert from naiad files to vrscene?
                            The files you've sent me doesn't have keyframes in them and I guess you've forgotten to pass the -fps flag to the command.
                            Can you try to re-export the files with -fps specified.
                            Also can you send me one simple naiad file I can play with. Please keep it minimal.

                            well the vrscenes are exported from naiad, using vrscene export module...

                            let me check about the fps thing

                            Comment


                            • #29
                              uploaded new vrscenes converted with naiad2vrscene with fps 24....

                              http://www.sendspace.com/file/v3e2bq
                              Last edited by bazuka; 17-04-2013, 08:31 AM.

                              Comment


                              • #30
                                Have you tried if they work if you append all frames?
                                V-Ray developer

                                Comment

                                Working...
                                X