Hi Greg, hi list,

I just wanted to use a BSDF material with an XML-file created by genBSDF,
but rvu throws the following error:

*rvu: fatal - File format error: BSDF "./test.xml" [error near line 1]:
root tag missing*

I could trace back the problem to line 499 in common/ezxml.c from where the
error
is returned:

* if (! *s) return ezxml_err(root, s, "root tag missing");*

The problematic call to the function *ezxml_parse_str* is the one in line
655. I checked
if using the else-branch there (i.e. "mmap failed, read file into memory")
solves the problem --
yes and no. The process throws other errors then:

*rvu: warning - Illegal argument: BSDF "test": unsupported
IncidentDataStructure for BSDF "tst"*
(for a Klems matrix BSDF)

*rvu: warning - Illegal argument for BSDF "test"*
(for a variable resolution BSDF isotropic and anisotropic)

The line numbers refer to the current head version...

Any clue what's going on here??

Cheers,
David
_______________________________________________
Radiance-dev mailing list
Radiance-dev@radiance-online.org
http://www.radiance-online.org/mailman/listinfo/radiance-dev

Reply via email to