Quick Tips & Tricks

Post a reply

This question is a means of preventing automated form submissions by spambots.
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:

BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON

Topic review

Expand view Topic review: Quick Tips & Tricks

Re: Quick Tips & Tricks

by Martin » Wed Feb 14, 2018 1:51 am

10 - Easily Control Normal Direction in Normal Node

Quite the same as one above, but worth to mention.
Blender has this very useful sphere in the Normal node and we have input fields what is very difficult to use.
No more. Add Mapping node and the null into it, preview Dot output, rotate the Null instead of sliders.
Direction of the normal.gif
Direction of the normal.gif (559.11 KiB) Viewed 1269 times
Example.jpg (56 KiB) Viewed 1269 times

Re: Quick Tips & Tricks

by Martin » Mon Jan 29, 2018 12:50 am

09 - Quickly Rotate Environment in Viewport

A very useful little trick that Mario showed us some time ago:
1. Drag cyEnvironment (or Null) into the Mapping Node > Mapping from Object
2. Rotate cyEnvironment Object (or Null) in the viewport.
Null.jpg (77.39 KiB) Viewed 1454 times
Null.gif (1.25 MiB) Viewed 1454 times

Re: Quick Tips & Tricks

by Jonas Schmidt » Sun Jan 28, 2018 10:36 pm

08 - cyEnvironment IBL Light Path Split

Ghirardo asked in this following Post
Is there any way to have an environment image (not seen by camera)
with a different Background (seen by camera)
The solution is very simple so Mario asked me to share my solution here in the Shared uploads section as well :D

Maybe you guys have other ideas with the Light Path node, too :-)
Guess there are many node secrets to be uncovered :lol: Feel free to share.
First of all you need two environment textures.
Then use the versatile light path node as a factor in the mix shader to split the texture information.

To make it work use the Light Path output "Is Camera Ray".

Now you have one environment which is just seen in the reflection channel, the other one is seen as the background.
Nice effect ;-)
Cy4D_HDRI_Split_JS.jpg (366.43 KiB) Viewed 1459 times

As an Environment Shader I used the 2x IBL Controller made by Martin Wall.
You can find the node in the Shared Upload section:

Please also have a look at my node setup & the c4d file.
You just need to replace the missing HDRI texture files in the environment nodes.
Cy4D_HDRI_Split_JS-Node_Setup.jpg (283.19 KiB) Viewed 1459 times
And here the Cinema 4D scene incl. cyEnvironment Material:
(310.52 KiB) Downloaded 46 times

Re: Quick Tips & Tricks

by heyBear » Wed Jan 10, 2018 11:22 pm

Stumbled across this in another thread from Mario:
Mario Tran Phuc wrote:
Wed Jan 10, 2018 5:01 pm

here a list of render optimisations I usually try to reduce memory usage. Maybe some of them might help with your scene:

- use render instances / cyinstance tag and enable render instance in mograph objects cloner,matrix)
- split foreground, midground, background and composite them after. The holdout shader creates transparent objects.
- use AO bounce & Texture Limit in the Rendersettings
- set Clamp Direct and Clamp Indirect to "0"
- disable Reflective and Refractive Caustics
- Set Volume Step Size higher and max Steps to lower try 24 on both
- Increase Subdivision Rate
- Reduce Curve Subdivisions
- deactivate Multiple Importance Sampling in the object materials when using GPU
- Use large Rendertiles when using GPU (split the renderresolution into the amount of GPUs)
- Render without Motionblur
- use translucent material setups instead of SSS / avoid SSS on instances
- avoid denoising
- change spline objects to have lesser segments



Re: Quick Tips & Tricks

by Martin » Sat Jan 06, 2018 1:47 am

07 - Mixing two shaders depending on camera distance.
Example.gif (1.06 MiB) Viewed 1682 times
Setup.png (24.15 KiB) Viewed 1682 times

Re: Quick Tips & Tricks

by heyBear » Fri Jan 05, 2018 7:27 pm

These are great tips. Cool idea! Should be pinned.

Re: Quick Tips & Tricks

by Martin » Fri Jan 05, 2018 12:52 am

06 - Fake HDRI reflections per object
Fake Reflections.jpg
Fake Reflections.jpg (223.16 KiB) Viewed 1446 times
HDRI_reflections.png (425.18 KiB) Viewed 1733 times

Re: Quick Tips & Tricks

by Martin » Fri Jan 05, 2018 12:37 am

05 - Camera Ray tip
Blue material is seen for everything in the scene except the camera.
Camera Ray.png
Camera Ray.png (287.01 KiB) Viewed 1737 times

Re: Quick Tips & Tricks

by Martin » Fri Jan 05, 2018 12:27 am

04 - Fake immersion
Fake Immersion.c4d
(241.08 KiB) Downloaded 41 times
Fake Immersion.png
Fake Immersion.png (343.02 KiB) Viewed 1738 times

Re: Quick Tips & Tricks

by Martin » Fri Jan 05, 2018 12:26 am

03 - Shadeless material
Mix Transparent shader with other shader and Camera Ray as a factor.
Shadeless.png (375.22 KiB) Viewed 1738 times

Re: Quick Tips & Tricks

by Martin » Fri Jan 05, 2018 12:24 am

02 - Specular map as mixing factor
Example01.png (394.05 KiB) Viewed 1739 times
Example02.png (400.89 KiB) Viewed 1739 times

Re: Quick Tips & Tricks

by Martin » Fri Jan 05, 2018 12:22 am

01 - Infinite Floor

1. Floor plane
2. Background plane rotated 45° angle and moved away from the camera
3. AO shader added to both planes
Infinite Floor.png
Infinite Floor.png (214.19 KiB) Viewed 1739 times

Quick Tips & Tricks

by Martin » Fri Jan 05, 2018 12:20 am

Let's start the thread for super quick and useful tips & tricks.
Doesn't matter if already known ones or very obvious.
This will help all of us and most of all beginners.

Fewer nodes and very simple setups, short explanation, screenshot and example file.
Please add a tip or trick number and title, I will add to the content in the first post.

1. Infinite Floor
2. Specular map as mixing factor
3. Shadeless material
4. Fake Immersion
5. Camera Ray tip
6. Fake HDRI reflections per object
7. Mixing two shaders depending on camera distance
- Some render optimization steps from Mario to reduce memory usage
8. Fake HDRI reflections
9. Quickly Rotate Environment Texture in Viewport
10 - Easily Control Normal Direction in Normal Node