Is there a shader for this?

KGKG Posts: 0
edited December 1969 in The Commons

I want to achieve some pixelated renders like those in the following image, specially the largest one:

http://www.daz3d.com/forums/discussion/22193/P180

Is this type of render/shader available in DAZ Studio ?

One way suggested by M F M was to set the render settings to 64x64 or lower, but I need the image to be bigger than that,
but still look pixelated

Thanks!

Comments

  • srieschsriesch Posts: 4,241
    edited December 1969

    If the effect is what you want but the size is too small, you can simply resize it larger (after rendering it small) in Photoshop or whatever your image editor is.

  • M F MM F M Posts: 1,388
    edited December 1969

    Sorry JorgeMR, I did not mean to leave you hanging.

    Yes, as Sean said above, after rendering out your image "very small", then scaling it up in an image editor (without no interpolation) was the final step. Below is a quick sample, with and without an extra grid laid on top - I rendered at 128x128, then scaled it up 4x to be 512x512. Did you want to do this for a still image, or for an animation? (it's a bit handraulic at the moment - quite tedious if you wanted the animated effect...).

    quickAiko3_grid.png
    512 x 512 - 38K
    quickAiko3_noGrid.png
    512 x 512 - 17K
  • Charlie JudgeCharlie Judge Posts: 12,725
    edited June 2014

    Photoshop (and probably some other image editing programs) has a built-in Pixilate filter. In Photoshop under filters select Pixilate>Mosaic and experiment with cell size to fit your needs. (Maybe try something like 10 or 15 cell size to start).

    Charlie

    My_Freind_Pixelated.jpg
    1206 x 839 - 170K
    Post edited by Charlie Judge on
  • M F MM F M Posts: 1,388
    edited June 2014

    In GIMP 2.8, there's Filters -> Blur -> Pixelize, as well as Filters -> Distort -> Mosaic... and if you have the "G'MIC" addon, there's a "GMIC -> Arrays & Tiles -> Grid" as well (shown in order in the attachments below). All of these work on a render at the "master" size (as opposed to making a small render and scaling it up).

    jorgeTest2_grid.png
    512 x 512 - 16K
    jorgeTest2_mos.png
    512 x 512 - 15K
    jorgeTest2_pix.png
    512 x 512 - 10K
    Post edited by M F M on
  • KGKG Posts: 0
    edited December 1969

    Thanks a lot for sharing! and thanks for the comprehensive examples M F M !

    Actually, I was thinking on making a short animated clip, so doing this procedure would be a lot of work,
    30fps * 60sec * 5mins would be a lot of images to edit...

    If there is no other way, so be it :)

  • MorganRLewisMorganRLewis Posts: 233
    edited December 1969

    JorgeMR said:
    Thanks a lot for sharing! and thanks for the comprehensive examples M F M !

    Actually, I was thinking on making a short animated clip, so doing this procedure would be a lot of work,
    30fps * 60sec * 5mins would be a lot of images to edit...

    If there is no other way, so be it :)

    Batch process.

    If you're doing the same thing to each image, you should be able -- depending on software (I know Paint Shop Pro could, I presume Photoshop can) -- to set up a script or macro with the pixellation settings you want, and then run a batch process on all your images.

  • M F MM F M Posts: 1,388
    edited June 2014

    JorgeMR said:
    Thanks a lot for sharing! and thanks for the comprehensive examples M F M !

    Actually, I was thinking on making a short animated clip, so doing this procedure would be a lot of work,
    30fps * 60sec * 5mins would be a lot of images to edit...

    If there is no other way, so be it :)


    There's always another way ;-). If you have a directory called "JorgeDir" full of rendered .png files, then (in Win7, in a DOS shell) using ImageMagick will be the simplest and least effort:

    cd JorgeDir
    for %n in ( *.png ) do @convert -scale 10% -scale 1000% %n ..\FxDir\%n
    

    That will convert all the .png files in the JorgeDir\ into a directory FxDir\ - 1000s upon 1000s of files will be completed in the time it takes for you to get a coffee (various other combinations and effects are possible). If you need to do it multiple times, or want to re-render, the above can be placed in a batchfile for convenience. Below is an example of what the ImageMagick effect will be. The command under Linux and OSX is similar - sorry I don't recall what sort of computer you have <(^_^).</p>
    jorgeTest2_im.png
    510 x 510 - 8K
    Post edited by M F M on
  • KGKG Posts: 0
    edited December 1969

    This is great! Thanks a lot! :D

Sign In or Register to comment.