ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/rt/renderopts.c
(Generate patch)

Comparing ray/src/rt/renderopts.c (file contents):
Revision 2.20 by greg, Wed Oct 19 23:10:34 2022 UTC vs.
Revision 2.22 by greg, Tue Aug 15 01:19:37 2023 UTC

# Line 20 | Line 20 | char   RFeatureList[2048] =    /* newline-separated feature
20                  "SourceVisibility\nAmbientModifierSelection\n"
21                  "PathTracing\nRussianRoulette\nLowDiscrepancySeq\n"
22                  "SpecularSampling\nMaterialMixtures\nAntimatter\nBackFaceVisibility\n"
23 <                "ParticipatingMedia=Mist\nScatteringModels=WGMD,Ashikhmin-Shirley\n"
23 >                "ScatteringModels=WGMD,Ashikhmin-Shirley\n"
24                  "TabulatedBSDFs=DataFile,KlemsXML,TensorTreeXML,+ViewPeakExtraction\n"
25                  "Instancing=Octree,TriangleMesh\nAliases\n"
26   #if !defined(SHADCACHE) || SHADCACHE > 0
# Line 74 | Line 74 | match_subfeatures(     /* check if subfeatures are support
74                  *cp = '\0';
75                  n = cp - subfeat;
76                  if (!(cp = strstr(mysublist, subfeat)) ||
77 +                                (cp[-1] != ',') & (cp[-1] != '=') ||
78                                  (cp[n] != ',') & (cp[n] != '\n'))
79                          return(0);      /* missing this one! */
80          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines