Page 1 of 1

Constant Colour Background

Posted: Sat Apr 27, 2013 11:37 pm
by ajayre
The manual demonstrates the use of a constant colour background:

http://www.indigorenderer.com/documenta ... t-settings

How do I use this feature in Indigo? When I look at the background settings I see:

- none
- environment map
- sun & sky

I am working on an exporter for a CAD program I use so at this stage I am creating the IGS file by hand. I tried the following:

Code: Select all

    <background>
        <spectrum>
            <blackbody>
                <temperature>3500</temperature>
                <gain>1.0</gain>
            </blackbody>
        </spectrum>
    </background>
This chooses "environment map" in the user interface and results in a completely blown-out image. I have to turn the ISO and EV settings all the way down to see the object and then I get a murky result.

Could this be related to the fact that my test object is very small?

My complete test file is attached. Note that for now materials have to be assigned in the user interface. Also the camera position has to be tweaked there.

Thanks, Andy

Re: Constant Colour Background

Posted: Sun Apr 28, 2013 4:45 am
by dag
You can use an emitting material as background.
Also use the emission scale.

Example:

Code: Select all

<background_settings>
	<name>Background Settings</name>
	<emission_scale>
		<measure>luminance</measure>
		<value>100</value>
		<material_uid>4294967295</material_uid>
	</emission_scale>
	<background_material>
		<material>
			<name>Background Material</name>
			<diffuse>
				<albedo>
					<constant>
						<rgb>
							<rgb>1 1 1</rgb>
							<gamma>1</gamma>
						</rgb>
					</constant>
				</albedo>
				<base_emission>
					<constant>
						<rgb>
							<rgb>1 1 1</rgb>
							<gamma>1</gamma>
						</rgb>
					</constant>
				</base_emission>
				<random_triangle_colours>false</random_triangle_colours>
				<layer>0</layer>
			</diffuse>
		</material>
	</background_material>
</background_settings>

Re: Constant Colour Background

Posted: Mon Apr 29, 2013 10:09 am
by ajayre
Thanks that helped!

Andy