Studio subdivision slowness

mjc1016mjc1016 Posts: 15,001

Here's the scenerio...

Create a cube primitive, any size, 1 division. This creates a 6 poly item.

Render in 3Delight, Progressive ON, default everything else.

Now, go and turn it into a subdivided object, then click the gear on the subdivision sliders and unckeck 'Use Limits'.

Set Subdivision to 9...this turns it into over 1.5 million quads.

The first render, at base resolution,...about 7 seconds.

The second render at SubD 9, 1 min 55 seconds.

Now, leave the render settings the same, but go to Advanced and turn on "Render to RIB"

Repeat. 

Now rendering the RIBs...

First render, base resolution.  8 seconds.

Second render, SubD 9, 12 seconds...or almost 10x FASTER than rendering IN Studio!

Comments

  • cosmo71cosmo71 Posts: 3,609
    mjc1016 said:

    Here's the scenerio...

    Create a cube primitive, any size, 1 division. This creates a 6 poly item.

    Render in 3Delight, Progressive ON, default everything else.

    Now, go and turn it into a subdivided object, then click the gear on the subdivision sliders and unckeck 'Use Limits'.

    Set Subdivision to 9...this turns it into over 1.5 million quads.

    The first render, at base resolution,...about 7 seconds.

    The second render at SubD 9, 1 min 55 seconds.

    Now, leave the render settings the same, but go to Advanced and turn on "Render to RIB"

    Repeat. 

    Now rendering the RIBs...

    First render, base resolution.  8 seconds.

    Second render, SubD 9, 12 seconds...or almost 10x FASTER than rendering IN Studio!

    I do not know everything so, what means render to RIB?

  • cosmo71cosmo71 Posts: 3,609
    edited February 2016

    That SubD is raising rendertimes is possible but I saw now difference between my normal V4 and my V4 as SubD with smoothing modifier back at V4 times. The only effect a high def V4 had was that is slows down my machine during scene building.

    Post edited by cosmo71 on
  • j cadej cade Posts: 2,310
    If I remember correctly in 3delight in DS the upper level of the subd at rendertime upper limit isn't controlled by either of the subd settings, but divides indefinitely to some point. (Ie if you plug in one of those hd morphs and set the viewport and render subd levels to 1 and render it will still look the same as if you set the subd to 3). If the rib exporter behaves differently (like exporting at viewport level) that could explain the difference.
  • mjc1016mjc1016 Posts: 15,001
    edited February 2016

    Nope, the RIB export is at the level set...which is 9.

    Here's the start of the cube...

    TransformBegin  # {      Transform [ 1 0 0 0 0 1 0 0 0 0 1 0           0 0 0 1 ]       HierarchicalSubdivisionMesh "catmull-clark" [ 4 4 4 4 4 4 ]       [ 0 1 2 3 4 5 6 7 5 0 3 6 1 4 7 2 3 2           7 6 5 4 1 0 ]         [ "interpolateboundary" "facevaryinginterpolateboundary" "faceedit" ] [ 1 0 0 1 0 0 12 0 3 ] [ 1 1 1 0 1 1 1 2 1 3 1 4 1 5 ] [ ] [ "attributes" "shapematerial_Default_5196_144b_resource" "shading" ] 

    Here's part of the stats...

     item                       current   peak    unprocessed gprim              0       0    gprim                          0       0    gprim (polygons)               0       0    gprim (subdiv)               391 K   391 K    gprim (curves)                 0       0    gprim variables             8216    7976 K

    And here's the 'base'

        item                       current   peak    unprocessed gprim              0       0    gprim                          0       0    gprim (polygons)             280     280    gprim (subdiv)                 0       0    gprim (curves)                 0       0    gprim variables              664    7576 K

    Basically, it is amounting to something IN Studio is impacting the way SubD is being rendered. 


    Just noticed that what is being passed to the RIB exporter is Catmull-Clark and the default in Studio is Catmark. 

    So I just did a Studio render with the cube, at 9, but set to Catmull-Clark..

    Saved image: C:\temp\render\r.pngFinished RenderingTotal Rendering Time: 13.20 seconds

     

    Post edited by mjc1016 on
  • mjc1016mjc1016 Posts: 15,001
    cosmo71 said:

    I do not know everything so, what means render to RIB?

    Renderman Interface Bytestream...the 'standard' file that is passed to the renderer.  It is the configuration, shader information and geometry that 3DL reads to actually render a file.

     

  • cosmo71cosmo71 Posts: 3,609
    edited February 2016

    hmm I have turned my G3F in a catmull clark model :) one reason, the mesh is smoother but I have recognized a thing on different body parts between catmark and catmull clark, upper arms for example, the pre render they look different (if twisted) - rendered they look equal, other bodyparts look different in both, pre render and post render (hip region for example)

    Post edited by cosmo71 on
Sign In or Register to comment.