Page 1 of 2

problem rendering to displacement

Posted: Thu Apr 05, 2012 3:40 am
by SCHMUMS
Hi all,
I have a concern about an object that I modeled in zbrush and then export to C4D (r12) with maps of displacement and normal maps. I tried to convert the material and then to launch a report on indigo, but it does not work. No detail is not apparent. How can I fix it and what type of setting should I do? thank you in advance for your help.
I will put you in copying the model of screen captures in zbrush, and rendered via cinema4d (AR3)

Re: problem rendering to displacement

Posted: Thu Apr 05, 2012 7:13 am
by SCHMUMS
here's what I get when I run a report on the setting here indigo.t matter in C4D.
Thank you for your help.

Re: problem rendering to displacement

Posted: Thu Apr 05, 2012 9:02 am
by Zom-B
Hey Schmums,

first of all check your export scene scale to be correct, you'll find it under the environment tab in the Indigo renderer settings.
If you export your Dragon as 200m big, a 2.5cm displacement will not be visible ;)

Next you need to subdiv your basemesh! Do so by using C4Ds Hypernurbs or Indigos subdiv modifier by right-clicking on the mesh in the object tree > Cindigo Tags > Indigo subdivision Tag.
Using Indigo subdiv modifier disable phong angle breaks (unchecking on top box of C4Ds Phong Tag)

I hope that helps :)

Re: problem rendering to displacement

Posted: Thu Apr 05, 2012 9:31 am
by SCHMUMS
Thank you s much!
It's very clear i'm try it

Re: problem rendering to displacement

Posted: Thu Apr 05, 2012 9:22 pm
by SCHMUMS
Hello, I followed the steps that you indicated to me. However I have a recurring error message that prevents me enough to run a report (see the error message). And impossible to see where it comes from I'm looking in the settings of indigo c4d. I can not find or it's coming

Re: problem rendering to displacement

Posted: Thu Apr 05, 2012 10:41 pm
by fused
Hi SCHMUMS,

which version of Cindigo and which version of Indigo are you using? They need to match (for Cindigo 3.2.1, for example, you should at least use Indigo 3.2.1 or newer, not older).

Regards,
Yves

Re: problem rendering to displacement

Posted: Thu Apr 05, 2012 10:42 pm
by Zom-B
If you encounter errors or bugs, first thing to do always, is to use the latest version of exporter & Indigo:
Indigo 3.2.9: http://www.indigorenderer.com/forum/vie ... =1&t=11481
Cindigo 3.2.9.1: http://www.indigorenderer.com/forum/vie ... 10&t=11491

Regarding your scene setup:

- the dragon needs a C4D phong Tag as described in my previous post!
- the subdiv tag needs to ckeck smoothing, to smoth the mesh like a C4D Hypernurb would do
- play with viewdependet settings for some saving in triangle count and RAM usage in Indigo
(Not suported if your mesh is in quads, then it gets ignored!)

Re: problem rendering to displacement

Posted: Thu Apr 05, 2012 10:56 pm
by SCHMUMS
Ah yes ... actually last night I downloaded version 3.2.9.1 of cindigo (osx) and did not do the update INDIGO which remained in 3.0.10 ...

Zom-B sorry I had understood the need to disable the phong tag ...
Sorry for bad English (I'm french guy)

Re: problem rendering to displacement

Posted: Thu Apr 05, 2012 11:02 pm
by Zom-B
SCHMUMS wrote:Zom-B sorry I had understood the need to disable the phong tag ...
disabling the checkbox only, so no angle limitation happens.
SCHMUMS wrote:Sorry for bad English (I'm french guy)
No problem mate ;)

Re: problem rendering to displacement

Posted: Fri Apr 06, 2012 12:11 am
by SCHMUMS
I think I did as you had indicated to me previously. I metsz all my settings as the result it gives me something very inflated ...

Re: problem rendering to displacement

Posted: Fri Apr 06, 2012 12:25 am
by Zom-B
for the phong tag disable the "Angle maximum" checkbox, that I was referring to previously. because by that on angles higher then 80° Indigos displacement disconnects polygons and causes black holes in your mesh!

Your displacement map is center based with RGB 128 grey collor a zero point. to use such displacement & bump maps you need to lower the c value to half of b value.
In your settings it would be:
a: 0
b: 0.6
c: -0.3

Re: problem rendering to displacement

Posted: Fri Apr 06, 2012 1:02 am
by SCHMUMS
AC seems to work!
Thank you for your help and patience

Re: problem rendering to displacement

Posted: Fri Apr 06, 2012 1:15 am
by Zom-B
SCHMUMS wrote:AC seems to work!
Thank you for your help and patience
Be so nice and reward my effort with a rendering :)

Re: problem rendering to displacement

Posted: Fri Apr 06, 2012 1:16 am
by SCHMUMS
And last question, is that I can combine (as in c4d) of my displacement map and normal map? If so in what channel is what I have to put

Re: problem rendering to displacement

Posted: Fri Apr 06, 2012 1:24 am
by CTZn
SCHMUMS wrote:And last question, is that I can combine (as in c4d) of my displacement map and normal map?
There no support for normal maps in Indigo, the question was asked 3 days ago: http://www.indigorenderer.com/forum/vie ... 14#p114014

You will probably find a related topic into the Bugs and Requests subforum if you want to add your voice in.