Constant Colour Background

General questions about Indigo, the scene format, rendering etc...
Post Reply
3 posts • Page 1 of 1
ajayre
Posts: 2
Joined: Sat Apr 27, 2013 11:32 pm

Constant Colour Background

Post by ajayre » Sat Apr 27, 2013 11:37 pm

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
Attachments
Test.igs
Test IGS file containing rectangular block assigned to the null material
(3.22 KiB) Downloaded 184 times

User avatar
dag
Posts: 189
Joined: Tue Feb 02, 2010 2:28 am

Re: Constant Colour Background

Post by dag » Sun Apr 28, 2013 4:45 am

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>

ajayre
Posts: 2
Joined: Sat Apr 27, 2013 11:32 pm

Re: Constant Colour Background

Post by ajayre » Mon Apr 29, 2013 10:09 am

Thanks that helped!

Andy

Post Reply
3 posts • Page 1 of 1

Who is online

Users browsing this forum: Ahrefs [Bot] and 44 guests