# Rendering with subD's

**URL:** <https://forums.chaos.com/t/rendering-with-subds/23297>\
**Category:** General\
**Created:** [March 1, 2010, 3:23pm UTC](https://forums.chaos.com/t/rendering-with-subds/23297 "2010-03-01T15:23:06Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![diegovfx](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/diegovfx/32/46273_2.png) [@diegovfx](https://forums.chaos.com/u/diegovfx)\
**Post date:** [March 1, 2010, 3:23pm UTC](https://forums.chaos.com/t/rendering-with-subds/23297/1 "2010-03-01T15:23:06Z")

</div>

Hi,

I have been doing some tests rendering a sphere with motion blur and different methods of smoothing the model.

Doing these tests I have noticed that using sub division conversion on the maya model makes the render time 3 times slower.  
Is this normal or am I missing something here.  
If I use the maya smooth option it renders much faster than the subD alternative.

Render times

subD = 46 sec  
smooth = 19 sec  
no smooth or subD = 15 sec

Thanks  
Diego

---

<div class="post-metadata">

**Author:** ![vladimir.nedev](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/vladimir.nedev/32/59224_2.png) [@vladimir.nedev](https://forums.chaos.com/u/vladimir.nedev)\
**Post date:** [March 1, 2010, 3:58pm UTC](https://forums.chaos.com/t/rendering-with-subds/23297/2 "2010-03-01T15:58:02Z")

</div>

I would say this is normal. When you use are using the Maya smooth node ( I think it is called polySmoothFace), V-Ray treats the triangles differently compared to using the subd option.

The subd option will cause V-Ray to use a special BSP tree, that can dynamically load/unload geometry when needed. Subsequently this tree is slower than the tree used when you have normal meshes without subdivsion (since their triangles are known in advance, the tree can be better optimized).

Also depending on your settings, using the subd option may be outputting a lot more triangles compared to the Maya smooth command.

Greetings,  
Vladimir Nedev

---

<div class="post-metadata">

**Author:** ![diegovfx](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/diegovfx/32/46273_2.png) [@diegovfx](https://forums.chaos.com/u/diegovfx)\
**Post date:** [March 1, 2010, 4:05pm UTC](https://forums.chaos.com/t/rendering-with-subds/23297/3 "2010-03-01T16:05:00Z")

</div>

Hi Vlado,

Thanks for the reply, what you say makes sense it just seemed like a huge difference.  
I am only rendering a sphere, so it makes me think how long will a character take to render with subD’s like we typically do with prman.

Cheers  
Diego

---

<div class="post-metadata">

**Author:** ![shadevfx](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@shadevfx](https://forums.chaos.com/u/shadevfx)\
**Post date:** [March 1, 2010, 6:53pm UTC](https://forums.chaos.com/t/rendering-with-subds/23297/4 "2010-03-01T18:53:14Z")

</div>

by default the max sub-d tessellation is set to 256… which is really high. You can try adding sub-d attributes and limiting the max tessellation which should speed things up.

---

<div class="post-metadata">

**Author:** ![diegovfx](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/diegovfx/32/46273_2.png) [@diegovfx](https://forums.chaos.com/u/diegovfx)\
**Post date:** [March 2, 2010, 10:23am UTC](https://forums.chaos.com/t/rendering-with-subds/23297/5 "2010-03-02T10:23:27Z")

</div>

I will try this.  
I see the option for controling the number of subdivisions.  
I assume you add both attributes to the object, one to enable and they other to control the level?  
Or does the subD displacement node do both?

Thanks

---

<div class="post-metadata">

**Author:** ![diegovfx](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/diegovfx/32/46273_2.png) [@diegovfx](https://forums.chaos.com/u/diegovfx)\
**Post date:** [March 2, 2010, 11:46am UTC](https://forums.chaos.com/t/rendering-with-subds/23297/6 "2010-03-02T11:46:33Z")

</div>

Ok a couple of things I have noticed.  
If I enable mblur on the camera shape under Extra Vray Attributes, but have it turned off in the render Settings I still get motion blur.

Also I noticed on a simple sphere the following  
subD and 6 Max substeps = 49sec  
subD and 256 Max substeps = 51sec

:roll:

---

<div class="post-metadata">

**Author:** ![shadevfx](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@shadevfx](https://forums.chaos.com/u/shadevfx)\
**Post date:** [March 2, 2010, 6:03pm UTC](https://forums.chaos.com/t/rendering-with-subds/23297/7 "2010-03-02T18:03:39Z")

</div>

how much memory do you have on your system, and what is your memory limit set to in the globals?

By default its super low… like 500… we have 16 gigs of ram on our machines so we set it to the max of 8000.

Displacement and sub-Ds and proxies all use a dynamic memory system that works really fast (assuming you have enough memory, and have allowed vray to access it all).

---

<div class="post-metadata">

**Author:** ![diegovfx](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/diegovfx/32/46273_2.png) [@diegovfx](https://forums.chaos.com/u/diegovfx)\
**Post date:** [March 2, 2010, 6:19pm UTC](https://forums.chaos.com/t/rendering-with-subds/23297/8 "2010-03-02T18:19:46Z")

</div>

The machine I am currently testing in is only 8 gig.  
But a sphere with 1 subdivision takes the same as 256 this is the thing I don’t understand.

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [March 2, 2010, 6:29pm UTC](https://forums.chaos.com/t/rendering-with-subds/23297/9 "2010-03-02T18:29:22Z")

</div>

Setting the max. subdivisions to 256 does not mean that V-Ray will always subdivide it 256 times, it is just a maximum value. There should be visible difference between lower values though (e.g. 1 and 8).

Anyways, I agree that this is one area where we can optimize things further. The internal builds already have some optimizations in that regard.

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![diegovfx](https://dub1.discourse-cdn.com/chaosprd/user_avatar/forums.chaos.com/diegovfx/32/46273_2.png) [@diegovfx](https://forums.chaos.com/u/diegovfx)\
**Post date:** [March 2, 2010, 8:44pm UTC](https://forums.chaos.com/t/rendering-with-subds/23297/10 "2010-03-02T20:44:08Z")

</div>

Hi Vlado,

Yes there was a visual difference between 1 and 8  
Just letting you guys know about the speed hit.

I will also try it on one of our characters to see what sort of render time differences I get.

Cheers  
Diego
