Indigo for Cinema 4D 3.2.12

Announcements, requests and support regarding the Cinema 4D exporter
Post Reply
14 posts • Page 1 of 1
User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Indigo for Cinema 4D 3.2.12

Post by fused » Tue Apr 24, 2012 11:51 pm


User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Re: Indigo for Cinema 4D 3.2.12

Post by CoolColJ » Thu Apr 26, 2012 12:45 pm

Been a while since I used the exporter.

Anyway i tried to render a scene with this new version, and I got an error message, which I never had before.
This scene uses my tabulated spectrum data for water.


Error: Scene parsing error: start_wavelength must be <= 0.7e-6 m (700 nm). (In element 'regular_tabulated', around line 198, column 25)


This is what the exported scene file reads as for the water medium

Code: Select all

	<medium>
			<uid>9</uid>
			<name>MedWater with ISL displacement</name>
			<precedence>5</precedence>
			<basic>
				<ior>1.3300000429153442</ior>
				<cauchy_b_coeff>0.0030000000260770</cauchy_b_coeff>
				<step_size>0.1000000000000000</step_size>
				<absorption_coefficient>
					<constant>
						<regular_tabulated>
							<start_wavelength>0.0000000000000000</start_wavelength>
							<end_wavelength>0.0000000000000000</end_wavelength>
							<num_values>83</num_values>
							<values>0.03250 0.02640 0.02040 0.01800 0.01560 0.01350 0.01140 0.01070 0.01000 0.00940 0.00880 0.00790 0.00700 0.00600 0.00560 0.00520 0.00540 0.00610 0.00640 0.00690 0.00830 0.00950 0.01100 0.01200 0.01220 0.01250 0.01430 0.01300 0.01570 0.01680 0.01850 0.02130 0.02420 0.03000 0.03820 0.04620 0.04740 0.04850 0.05050 0.05270 0.05510 0.05940 0.06540 0.06900 0.07150 0.07430 0.08040 0.08900 0.10160 0.12350 0.14870 0.18180 0.24170 0.27950 0.28760 0.29160 0.30470 0.31350 0.31840 0.33090 0.33820 0.35130 0.35940 0.38520 0.42120 0.43110 0.43460 0.43900 0.45240 0.46900 0.49290 0.53050 0.62290 0.75220 0.86550 1.04920 1.26900 1.52530 1.96240 2.53040 2.76800 2.83380 2.84840 </values>
						</regular_tabulated>
					</constant>
				</absorption_coefficient>
			</basic>
		</medium>

It appears the exporter is not putting in the correct start and end wavelength numbers. Which are 100 and 700


The same medium output from an older exporter

Code: Select all

    <medium>
        <name>MedWater_with_ISL_displacement_mid2</name>
        <precedence>5</precedence>
        <basic>
            <ior>1.330000</ior>
            <cauchy_b_coeff>0.003000</cauchy_b_coeff>
            <absorption_coefficient_spectrum>
                <regular_tabulated>
                    <start_wavelength>3.4e-007</start_wavelength>
                    <end_wavelength>7.5e-007</end_wavelength>
                    <num_values>83</num_values>
                    <values>0.0325 0.0264 0.0204 0.018 0.0156 0.0135 0.0114 0.0107 0.01 0.0094 0.0088 0.0079 0.007 0.006 0.0056 0.0052 0.0054 0.0061 0.0064 0.0069 0.0083 0.0095 0.011 0.012 0.0122 0.0125 0.0143 0.013 0.0157 0.0168 0.0185 0.0213 0.0242 0.03 0.0382 0.0462 0.0474 0.0485 0.0505 0.0527 0.0551 0.0594 0.0654 0.069 0.0715 0.0743 0.0804 0.089 0.1016 0.1235 0.1487 0.1818 0.2417 0.2795 0.2876 0.2916 0.3047 0.3135 0.3184 0.3309 0.3382 0.3513 0.3594 0.3852 0.4212 0.4311 0.4346 0.439 0.4524 0.469 0.4929 0.5305 0.6229 0.7522 0.8655 1.0492 1.269 1.5253 1.9624 2.5304 2.768 2.8338 2.8484</values>
                </regular_tabulated>
            </absorption_coefficient_spectrum>
        </basic>
    </medium>

User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Re: Indigo for Cinema 4D 3.2.12

Post by CoolColJ » Thu Apr 26, 2012 1:23 pm

Were the camera values on export changed from older versions?

Because exporting some old scenes rendered way brighter than the same scenes files I already had.
I had to knock down the EV values by 5!

User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Re: Indigo for Cinema 4D 3.2.12

Post by CoolColJ » Thu Apr 26, 2012 1:29 pm

Ok I think I spotted another bug

Exposure duration in C4D is at 0.05, but in the scene file it shows 20
<exposure_duration>20.0000000000000000</exposure_duration>

In an old copy of the same scene <exposure_duration>0.050000</exposure_duration>

User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Re: Indigo for Cinema 4D 3.2.12

Post by CoolColJ » Thu Apr 26, 2012 3:39 pm

I forgot to add I'm using C4D R11.5

It would appear that some of the issues are because I'm loading scenes that use older versions of the Cindigo exporter

User avatar
Zom-B
1st Place 100
Posts: 4700
Joined: Tue Jul 04, 2006 4:18 pm
Location: ´'`\_(ò_Ó)_/´'`
Contact:

Re: Indigo for Cinema 4D 3.2.12

Post by Zom-B » Thu Apr 26, 2012 6:34 pm

CoolColJ wrote:Were the camera values on export changed from older versions?

Because exporting some old scenes rendered way brighter than the same scenes files I already had.
I had to knock down the EV values by 5!
CoolColJ wrote:Ok I think I spotted another bug

Exposure duration in C4D is at 0.05, but in the scene file it shows 20
<exposure_duration>20.0000000000000000</exposure_duration>

In an old copy of the same scene <exposure_duration>0.050000</exposure_duration>

You answered your First question by the second "bug" you've found ^^
Indigos Exposure Duration is now seconds = 1 / value!
It still loads the "old" values when that variable was used different internally in old scenes, so you end up with a long exposure duration if ya had 0.05 seconds set before, since 1/0.05 = 20 seconds!

I also found that start/end bug in tabulated data usage, was reported silently some days ago...
polygonmanufaktur.de

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Indigo for Cinema 4D 3.2.12

Post by fused » Fri Apr 27, 2012 12:00 am

Hi CoolColJ,

I am sorry but you will need to reimport materials using the tabulated spectrum (or alternatively you could open the material in question in C4D and fix the start and end wavelength manually).
Cindigo 3.2.9.2
---------------------
* Fixed remaining issues with regular tabulated. Might break existing materials (sorry) but is a big improvement over how it was.

User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Re: Indigo for Cinema 4D 3.2.12

Post by CoolColJ » Fri Apr 27, 2012 10:19 am

Thanks

Are exports from this version of exporter compatible with Indigo V2?

It seems like if I have more than one version of Cindigo in the C4D plugins folder only one gets used, usually the earliest version

User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Re: Indigo for Cinema 4D 3.2.12

Post by CoolColJ » Fri Apr 27, 2012 10:47 am

Another issue

With C4D R10, didn't try yet with 11 or 11.5, when I dragged the Sun position into the Indigo render settings environment sun direction, it worked OK. But when I changed the time, so Sun position, the changes didn't register in Indigo. Even when I redragged the sun object back onto the sun direction slot

user error or bug?

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Indigo for Cinema 4D 3.2.12

Post by fused » Fri Apr 27, 2012 11:29 am

CoolColJ wrote:Thanks

Are exports from this version of exporter compatible with Indigo V2?

It seems like if I have more than one version of Cindigo in the C4D plugins folder only one gets used, usually the earliest version
Exports from Cindigo/Indigo for Cinema 4D 3.2.9+ are not easily usable in Indigo 2.x, due to changes in the scene file format.

You can have only one version of any plugin installed at the same time.
CoolColJ wrote:Another issue

With C4D R10, didn't try yet with 11 or 11.5, when I dragged the Sun position into the Indigo render settings environment sun direction, it worked OK. But when I changed the time, so Sun position, the changes didn't register in Indigo. Even when I redragged the sun object back onto the sun direction slot

user error or bug?
Seems to work here (11.5). What kind of object did you use for the sun? C4D's sun object?
Will try in R10 in the office tomorrow.

User avatar
CoolColJ
Posts: 1738
Joined: Mon Jun 25, 2007 1:47 pm

Re: Indigo for Cinema 4D 3.2.12

Post by CoolColJ » Fri Apr 27, 2012 5:41 pm

I used the C4D sun object. Nulls don't seem to work anymore

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Indigo for Cinema 4D 3.2.12

Post by fused » Sat Apr 28, 2012 12:32 am

CoolColJ wrote:I used the C4D sun object. Nulls don't seem to work anymore
Hi CoolColJ,

both the sun and null object seem to work fine here in R10. Note that I changed the behavior of the sun direction to not be the vector from the object to the scene origin, but to use the direction of the Z axis (blue) of the object set in the sun direction field (but that was quite a while ago, during 2.x iirc).

See attached scene:
Exit Portals and SunSky.zip
(657.1 KiB) Downloaded 257 times
If you still have problems to get it to work, could you send me a c4d scene file that has this problem?

Cheers!

User avatar
pdavid
Posts: 3
Joined: Sun Mar 25, 2012 12:31 am
Location: norway

Re: Indigo for Cinema 4D 3.2.12

Post by pdavid » Sat Apr 28, 2012 5:46 am

hey

i am a new user of indigo full version

can you save a indigo matrial as matrial preset in cinema 4d browser.

because a got a bugreport from cinema 4d
cinema 4d 11.5|indigo renderer 3.x full|980x|node(1)2600k|node(2) 920

User avatar
fused
Developer
Posts: 3648
Joined: Fri Sep 22, 2006 7:19 am
Location: Berlin, Germany
3D Software: Cinema 4D

Re: Indigo for Cinema 4D 3.2.12

Post by fused » Sat Apr 28, 2012 6:34 am

pdavid wrote:hey

i am a new user of indigo full version

can you save a indigo matrial as matrial preset in cinema 4d browser.

because a got a bugreport from cinema 4d
Hi pdavid,

this is a known issue and it is fixed for the next version. I will release it as soon as possible.

Kind regards,
Yves

Post Reply
14 posts • Page 1 of 1

Who is online

Users browsing this forum: No registered users and 40 guests