Questions to the materials previews.
Questions to the materials previews.
decided to do to set up the materials - a preview.
Here's how to configured scene for this:
-At the beginning of configured through EXR. when attempting to run the preview error has occurred - no light.
-In the preview does not display anything. no background, no environment.
-In a last attempt to make a scene, lit by two light sources. The result - I am sad.
Here's how to configured scene for this:
-At the beginning of configured through EXR. when attempting to run the preview error has occurred - no light.
-In the preview does not display anything. no background, no environment.
-In a last attempt to make a scene, lit by two light sources. The result - I am sad.
Re: Questions to the materials previews.
last attempt. (illuminated by light cone)
Last edited by N.G. on Thu Dec 27, 2012 10:37 pm, edited 1 time in total.
Re: Questions to the materials previews.
-have the opportunity to sew in the scene settings INDIGO? and under what the parameters working of the standard viewing of materials? I wanted to sew in number of samples render, but not coming out.
-How can illuminate only preview EXR? or for this is to rewrite the connector?
(sorry for bad english)
-How can illuminate only preview EXR? or for this is to rewrite the connector?
(sorry for bad english)
Re: Questions to the materials previews.
Question. How did you set up your own material preview? Do you have a step by step?
Re: Questions to the materials previews.
Final lay out here.
Re: Questions to the materials previews.
create a scene. cone light all illuminated. save in a folder ...( CINEMA 4D R13\library\materialpreview )... restart Cinema4D check.forgeflow wrote:Question. How did you set up your own material preview? Do you have a step by step?
- wlf_alex
- Posts: 99
- Joined: Tue Aug 28, 2012 9:26 pm
- Location: Russia-Moscow, Spain-Alicante
- Contact:
Re: Questions to the materials previews.
I do not understand only one thing. Indigo does not support "light cone" or Spot Light! Only the Infinite Light and Area Light. Or am I wrong?N.G. wrote:create a scene. cone light all illuminated. save in a folder ...( CINEMA 4D R13\library\materialpreview )... restart Cinema4D check.forgeflow wrote:Question. How did you set up your own material preview? Do you have a step by step?
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D
- wlf_alex
- Posts: 99
- Joined: Tue Aug 28, 2012 9:26 pm
- Location: Russia-Moscow, Spain-Alicante
- Contact:
Re: Questions to the materials previews.
is an interesting question! I would like to get the answers.N.G. wrote:-have the opportunity to sew in the scene settings INDIGO? and under what the parameters working of the standard viewing of materials? I wanted to sew in number of samples render, but not coming out.
-How can illuminate only preview EXR? or for this is to rewrite the connector?
(sorry for bad english)
ArchiCAD 14, Cinema 4D r13, IndigoRender, VrayforC4D
Re: Questions to the materials previews.
Sorry for the late reply on this one.
Currently Indigo for C4D does some modifications to the C4D preview scenes so they render a bit better with Indigo. Some things are hardcoded and can't be changed.
Here's what Indigo for C4D does to the previews:
- Inserts a new Indigo Renderer Settings object to the render data, so already having one in the scene could have some nasty side effects, depending on which C4D thinks is the actual one. I could change it so it looks for an existing one to be modified instead.
It then sets a few things:
- Removes "Environment" material, if found.
- Removes "Sky" object, if found.
- Finds the 2 light sources (usually c4d preview scenes have 2 light sources) and applies a Light tag to them, sets emission to blackbody. Also set the light type to area and sets the width and height to 400.
- Finds the background plane (by name, is called "Polygon") and, if found, moves it further to the back (because in the standard c4d scenes the second light is behind the background plane, ignoring the background plane)
- Finds the active camera and applies a camera tag to it.
- Finds the background material "Floor" and replaces the shader with a texture.
It is of course possible to skip any of these modifications by somehow detecting if a scene was meant to be used with Indigo (for example checking if Indigo Render Settings are present).
Let me know what would be most convenient for you.
Cheers!
Currently Indigo for C4D does some modifications to the C4D preview scenes so they render a bit better with Indigo. Some things are hardcoded and can't be changed.
Here's what Indigo for C4D does to the previews:
- Inserts a new Indigo Renderer Settings object to the render data, so already having one in the scene could have some nasty side effects, depending on which C4D thinks is the actual one. I could change it so it looks for an existing one to be modified instead.
It then sets a few things:
Code: Select all
data->SetBool(RENDER_AUTO_CHOOSE_THREADS, TRUE);
data->SetLong(RENDER_MAXDEPTH, 100);
data->SetLong(RENDER_MODE, PATHTRACER);
data->SetBool(RS_IS_PREVIEW, TRUE);
data->SetBool(RENDER_SAVEIGI, FALSE);
data->SetReal(RENDER_IMAGESAVEPERIOD, 1000000.0);
- Removes "Sky" object, if found.
- Finds the 2 light sources (usually c4d preview scenes have 2 light sources) and applies a Light tag to them, sets emission to blackbody. Also set the light type to area and sets the width and height to 400.
- Finds the background plane (by name, is called "Polygon") and, if found, moves it further to the back (because in the standard c4d scenes the second light is behind the background plane, ignoring the background plane)
- Finds the active camera and applies a camera tag to it.
- Finds the background material "Floor" and replaces the shader with a texture.
It is of course possible to skip any of these modifications by somehow detecting if a scene was meant to be used with Indigo (for example checking if Indigo Render Settings are present).
Let me know what would be most convenient for you.
Cheers!
Who is online
Users browsing this forum: No registered users and 32 guests