Announcement

Collapse
No announcement yet.

Problem - vrscene seq

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

  • #31
    im not sure how can vray know when to load vrscene file and in what moment?

    ill try tomorrow and will see, but i dont think this will work..

    Comment


    • #32
      It won't work.
      Can you send us a naiad files we ca use to do some testing?
      V-Ray developer

      Comment


      • #33
        yes sure, let me upload them

        thx for your time

        here you go

        http://www.sendspace.com/file/t4fcyc
        Last edited by bazuka; 18-04-2013, 02:15 AM.

        Comment


        • #34
          Thank you.

          Here is the new version of the tool: https://ftp.chaosgroup.com/vlado/vra...ne20130418.zip
          I've added another parameter at the end which controls the target frame.

          You have to convert the frames with commands like this:
          Code:
          naiad2vrscene input_file001.emp frame001.vrscene Particles 0.1 24 1
          naiad2vrscene input_file002.emp frame002.vrscene Particles 0.1 24 2
          naiad2vrscene input_file003.emp frame003.vrscene Particles 0.1 24 3
          naiad2vrscene input_file004.emp frame004.vrscene Particles 0.1 24 4
          ...
          Then in maya you have to use python code like this:
          Code:
          from vray.utils import *
          
          for ii in range(1, 10):
          	frame='frame%03d.vrscene' % (ii)
          	frame='path to the output files'+frame
          	print 'loading:', frame
          	appendSceneContent(frame)
          
          particles=findByName('Particles')
          node=findByName('pCubeShape1@node')
          
          if len(node)>0 and len(particles)>0:
              node[0].set('geometry', particles[0])
          Using this workflow I was able to render animated sequence with Maya.
          V-Ray developer

          Comment


          • #35
            Originally posted by t.petrov View Post
            Thank you.

            Here is the new version of the tool: https://ftp.chaosgroup.com/vlado/vra...ne20130418.zip
            I've added another parameter at the end which controls the target frame.

            You have to convert the frames with commands like this:
            Code:
            naiad2vrscene input_file001.emp frame001.vrscene Particles 0.1 24 1
            naiad2vrscene input_file002.emp frame002.vrscene Particles 0.1 24 2
            naiad2vrscene input_file003.emp frame003.vrscene Particles 0.1 24 3
            naiad2vrscene input_file004.emp frame004.vrscene Particles 0.1 24 4
            ...
            Then in maya you have to use python code like this:
            Code:
            from vray.utils import *
            
            for ii in range(1, 10):
            	frame='frame%03d.vrscene' % (ii)
            	frame='path to the output files'+frame
            	print 'loading:', frame
            	appendSceneContent(frame)
            
            particles=findByName('Particles')
            node=findByName('pCubeShape1@node')
            
            if len(node)>0 and len(particles)>0:
                node[0].set('geometry', particles[0])
            Using this workflow I was able to render animated sequence with Maya.

            thx T, you are the man

            cheers

            Comment


            • #36
              T,

              i have a question, is it possible to render these particles as points not as spheres?

              thx

              Comment


              • #37
                there are some probl in converting process

                i could upload them all and when u have time to take a look at them?
                Last edited by bazuka; 21-04-2013, 12:51 PM.

                Comment


                • #38
                  Originally posted by bazuka View Post
                  i have a question, is it possible to render these particles as points not as spheres?
                  Yes,
                  You can set the renderType of the GeomParticleSystem plugin to 6 using the python callback. See here:
                  Code:
                  render_type: integer = 7, 3 - multipoints; 4 - multistreak; 6 - points; 7 - Spheres; 8 - Sprites; 9 - Streak.Everything else gives a warning and renders as spheres.
                  Originally posted by bazuka View Post
                  there are some probl in converting process

                  i could upload them all and when u have time to take a look at them?
                  What problems, I'm not good at guessing?
                  V-Ray developer

                  Comment


                  • #39
                    We could extend the appendSceneContent() call to work with wildcards, if you think it will help... so you could write appendSceneContent('my.*.vrscene') and it would load all matching files...

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

                    Comment


                    • #40
                      Originally posted by vlado View Post
                      We could extend the appendSceneContent() call to work with wildcards, if you think it will help... so you could write appendSceneContent('my.*.vrscene') and it would load all matching files...

                      Best regards,
                      Vlado

                      great vlado, thx

                      Comment


                      • #41
                        Originally posted by t.petrov View Post
                        Yes,
                        You can set the renderType of the GeomParticleSystem plugin to 6 using the python callback. See here:
                        Code:
                        render_type: integer = 7, 3 - multipoints; 4 - multistreak; 6 - points; 7 - Spheres; 8 - Sprites; 9 - Streak.Everything else gives a warning and renders as spheres.

                        What problems, I'm not good at guessing?
                        i will upload some screens and ull see

                        thx

                        Comment


                        • #42
                          Originally posted by t.petrov View Post
                          Yes,
                          You can set the renderType of the GeomParticleSystem plugin to 6 using the python callback. See here:
                          Code:
                          render_type: integer = 7, 3 - multipoints; 4 - multistreak; 6 - points; 7 - Spheres; 8 - Sprites; 9 - Streak.Everything else gives a warning and renders as spheres.

                          What problems, I'm not good at guessing?

                          T, i dont understand this 1st part about render type? why do i define radius when i convert emp2vrscene?

                          here is a mov, watch it frame by frame and ull see what i was talking about

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

                          Comment


                          • #43
                            This might be a V-Ray issue, but we will need some way to reproduce it here.

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

                            Comment


                            • #44
                              that was quick vlado,

                              im uploading emp files so u can try convert them and see if u can reproduce bug there, should be UP in a few min

                              Comment


                              • #45
                                Originally posted by vlado View Post
                                This might be a V-Ray issue, but we will need some way to reproduce it here.

                                Best regards,
                                Vlado
                                can u just tell me is it possible to convert emp particles in something else then spheres, so user could define later in render what he would like to use?

                                Comment

                                Working...
                                X