11
$\begingroup$

I want to use the displacement node in cycles node editor, i was wondering whether subdividing an object or using sub surf modifier makes any difference, if so which one I should go for in order to get a TRUE displacement effect when Experimental render set enabled. thanks

$\endgroup$
19
$\begingroup$

Cycles doesn't support true displacement yet in Supported feature set. The displacement input of Material Node will only do bump mapping in that case.

With Experimental feature set the True displacement option is available under Material settings in versions 2.78 and up (for older Blender versions see edits of this answer):

enter image description here

This will not change the number of vertices or polygons in the scene and will not raise memory much (only the extra displacement texture). From left to right on 20k polycount sphere - No displacement, Bump, True:

enter image description here

For adaptive displacement you need to use a Subdivision modifier for each object and set the Adaptive tag and set the micro-polygon pixel size under render settings:

enter image description here

This will subdivide all the polygons of the whole object adaptively to meet the desired micro-polygon pixel-size. Each object can be adjusted differently with the Dicing Scale ratio.

Objects/polygons further away from camera will be subdivided less and objects/polygons closer will be subdivided more.

This will increase the memory size of the scene while rendering significantly (based how much you need to subdivide). The sphere above with 20k polys took 201MB of VRAM with no adaptive and 2271MB for adaptive micro-polygons of 1px size (the default render setting).

I was wondering whether subdividing an object or using sub surf modifier makes any difference

Subdividing with subdivision modifier and subdividing in edit-mode take the same amount of render memory.

But the adaptive subdivision will save memory, because objects in distance will be less subdivided.

Now you will get true displacement effect with both subdivision methods (material or displacement + subdivision modifiers).

It is worth noting that the experimental render kernel takes more VRAM than Supported kernel.

$\endgroup$
  • $\begingroup$ well, correct me if I misunderstand but under the experimental render feature set with a TRUE option chosen under object data panel, I can get it, however I wasn't sure if it is more efficient to use subdivided one or sub surf modified object, as higher sub surf modifier requires a lot of calculation time. $\endgroup$ – ideorium Jan 29 '16 at 9:29
  • $\begingroup$ @ideorium Well yeah, it's experimental. And full of bugs and limitations. It displaces the faces individually leaving gaps in the mesh and doesn't subdivide adaptively so it produces the same number of faces as modifier subdivision.. Hopefully soon it will be polished and under Supported features. I'll add details to the answer. $\endgroup$ – Jaroslav Jerryno Novotny Jan 29 '16 at 10:04
  • $\begingroup$ thanks @Jerryno yes it doesn't give good results at the mom, hope they can improve it soon. please please add more details to your answer :) just in case what I was trying to with this displacement is this blender.stackexchange.com/questions/45875/… $\endgroup$ – ideorium Jan 29 '16 at 10:08
  • $\begingroup$ thanks for the edit, this new feature of adaptive displacement is going to be very useful, can't wait to use it in my projects $\endgroup$ – ideorium Sep 17 '16 at 21:40

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.