Skip to content

Commit

Permalink
feat(pkgBSDF): Added spectral conversion for MGF materials
Browse files Browse the repository at this point in the history
  • Loading branch information
Gregungory committed Dec 8, 2024
1 parent 4baa4d1 commit 236a4ea
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/cv/pkgBSDF.c
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
#ifndef lint
static const char RCSid[] = "$Id: pkgBSDF.c,v 2.8 2018/12/01 19:45:43 greg Exp $";
static const char RCSid[] = "$Id: pkgBSDF.c,v 2.9 2024/12/08 18:33:23 greg Exp $";
#endif
/*
* Take BSDF XML file and generate a referencing Radiance object
Expand Down Expand Up @@ -63,11 +63,11 @@ geomBSDF(const SDData *bsp)
close(fd);
/* set up command */
if (do_instance) {
sprintf(command, "mgf2rad %s | oconv -f - > %s.oct",
sprintf(command, "mgf2rad -s %s | oconv -f - > %s.oct",
tmpfile, bsp->name);
} else {
fflush(stdout);
sprintf(command, "mgf2rad %s", tmpfile);
sprintf(command, "mgf2rad -s %s", tmpfile);
}
if (system(command)) {
fprintf(stderr, "Error running: %s\n", command);
Expand Down

0 comments on commit 236a4ea

Please sign in to comment.