Community
Arnold for Cinema 4D Forum
Rendering with Arnold in CINEMA 4D using the C4DtoA plug-in.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

planet atmosphere with C4DtoA

6 REPLIES 6
Reply
Message 1 of 7
Francis_Bievre
478 Views, 6 Replies

planet atmosphere with C4DtoA

Hello,


I am finding it really hard to produce a planet atmosphere with Arnold when it was easy with C4D engine.

I tried to use a volume shader on a sphere, following the documentation tutorial for Maya, but it produces a hard edge which does not look like the falloff that we should see on the outer end of an atmosphere seen from space.

I tried to plug a ramp into the density so that the atmosphere gets thinner on the outside but it does not work.

SO now I am following this HtoA tutorial that does not use volume at all ans seems to produce good results.

https://docs.arnoldrenderer.com/display/A5ARNTUT/How+to+Render+a+Planet+Atmosphere


But I can't follow this instruction : create a FacingRatio and a Range shader. Connect the FacingRatio float to Range input and the Range rgb to Standard Surface transmission_depth.


Because it looks like you can't plug anything into depth in C4DtoA.

Or maybe does it translate another way in C4DtoA ?


Thanks for your help !


Francis


Tags (1)
Labels (1)
6 REPLIES 6
Message 2 of 7

That seems to be a bug, Transmission Depth should be linkable. I'll fix this in the next release. Meanwhile you should be able to fix it locally by editing the plugins/C4DtoA/c4dtoa.mtd file. Look for this:

 [attr transmission_depth]
     min                FLOAT   0.0
     softmax            FLOAT   10.0 
     c4d.step           FLOAT   0.1
     c4d.gui_type       INT     10
     linkable           BOOL    false

and remove the line with the linkable flag.

Message 3 of 7

Thank you Peter ! It works now !

Message 4 of 7
lee_griggs
in reply to: Francis_Bievre

JFYI, there is this tutorial too.

Lee Griggs
Arnold rendering specialist
AUTODESK
Message 5 of 7
Francis_Bievre
in reply to: lee_griggs

Thank you Lee, I tried it but unfortunately there is no falloff on the outer edge of the atmosphere which makes it look quite fake

Message 6 of 7

Hello Peter,


Will it work if I send my scene with a shader using this bugfix to a farm ?

Or their Arnold is not going to be able to read my setup ?


Thanks !


Francis

Message 7 of 7

It's not gonna work until the fix is released and the farm is updated to the new version.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report