Announcement

Collapse
No announcement yet.

alpha channel for .vrimg

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

  • alpha channel for .vrimg

    while rendeing high resolutions using vray Raw image, then converting them to .exr files:
    ...is it possible to save the alpha channel also?
    found this link, but i need a little more help please..
    http://www.spot3d.com/vray/help/150S..._vrimg2exr.htm

  • #2
    Re: alpha channel for .vrimg

    got it....issue closed..

    (i am new to using the command line..got help from our IT guys)
    i wish vrimg2exr could run within Vfsu itself and extract the desired channels

    Comment


    • #3
      Re: alpha channel for .vrimg

      SAF..

      Any tips and tricks you could post.. i came upon this issue in the past but could not resolve it... I was only ever to get the single image through the command line

      Thanks in advance

      J

      Comment


      • #4
        Re: alpha channel for .vrimg

        > vrimg2exr <vrimg_file> <exr_file> -channel "A"

        ?
        Please mention what V-Ray and SketchUp version you are using when posting questions.

        Comment


        • #5
          Re: alpha channel for .vrimg

          here goes...
          (i would rather be more comprehensive here..command line is too 'stone age' i think)

          1) create a folder, say in C: (C drive) which is easier to locate. Here we create a folder, say Vrimg E.g. C:\Vrimg
          using a simple name (and locating the folder way up in the directory) makes it easier, as you need to actually type the location in command prompt mode everytime.. Let's call the file to be converted as 'image.vrimg'; and assume we need to convert it to 'image.exr'
          2) copy and paste the .vrimg file you created in this folder. Also copy paste the 'vrimg2exr.exe' file (which is the software you would have downloaded from asgvis site, to convert vrimg files) in the same folder- in which you pasted the .vrimg file
          3) open command prompt (start-program-accessories- command prompt)
          4) type C: (if you have located the folder Vrimg in C drive)
          5) type 'cd vrimg', and you will enter the folder 'vrimg'. it will look like this:
          C:\vrimg>
          6) if you only need to convert the .vrimg file to .exr, type the following:
          vrimg2exr (name of the .vrimg file) (desired name of .exr file). It will look like this
          C:\vrimg>vrimg2exr image.vrimg image.exr
          (please note space in between)
          This will convert the .vrimg file to .exr file and paste it in the same folder (C:\vrimg)
          7) now is the important step, if you need alpha channel too (make sure Alpha Channel its enabled in the VFB channel settings)
          type the following:
          vrimg2exr (name of the .vrimg file) (desired name of .exr file) -channel Alpha
          It will look like this
          C:\vrimg>vrimg2exr image.vrimg image.exr -channel Alpha

          This will extract the alpha channel, and paste in in the same folder. Same can be done to extract other channels (proided they are enabled in the VFB settings). Just replace 'Alpha' with the desired channel name. (please note the spaces in between text)

          Hope this helps (phew.. command prompt IS confusing)
          worked for me...let me know if there r any issues..

          Comment


          • #6
            Re: alpha channel for .vrimg

            Hey SAF,

            Sorry to drudge this up again but I simply can't figure out what I'm doing wrong in extracting the individual channels from a vrimg using your posted method. I too am not a command line user. I've followed your steps precisely with no luck. I can successfully create the .exr file but anytime I type "-channel Alpha" my command window pops up for a half a second and then disappears and creates nothing.

            Note: I definitely have several additional channels enabled in the VFB...

            Any help is GREATLY appreciated!

            Comment

            Working...
            X