mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-04-03 17:56:21 +03:00
Existing OCCT path tracing engine used very simple additive material (BSDF) model, so it was possible to reproduce behavior only of very basic materials such as metal, glass, or plastic. However, some important in CAD industry materials like car paint or ceramic could not be modeled well. In this patch, OCCT BSDF was significantly improved by replacing additive model with two-layered scattering model. Therefore, we have base diffuse, glossy, or transmissive layer, covered by one glossy/specular coat. The layers themselves have no thickness; they can simply reflect light or transmits it to the layer under it. Balancing different combinations of layer properties can produce a wide range of different effects. At the same time, disabling the first (coat) layer allows to keep full compatibility with previously supported scattering model. All new parameters are available via 'vbsdf' command. Location of new sample for few material examples: samples\tcl\pathtrace_materials.tcl Fix shader compilation issue. Fix test case sample_ball_alpha. Shaders_PathtraceBase_fs.pxx - regenerate resource from origin
83 lines
1.6 KiB
Plaintext
83 lines
1.6 KiB
Plaintext
.gitattributes eol=lf
|
|
.gitignore eol=lf
|
|
*.txt eol=lf
|
|
*.h eol=lf
|
|
*.c eol=lf
|
|
*.inl eol=lf
|
|
*.cpp eol=lf
|
|
*.cxx eol=lf
|
|
*.gxx eol=lf
|
|
*.hxx eol=lf
|
|
*.ixx eol=lf
|
|
*.jxx eol=lf
|
|
*.lxx eol=lf
|
|
*.pxx eol=lf
|
|
*.cl eol=lf
|
|
*.cdl eol=lf
|
|
*.edl eol=lf
|
|
*.yacc eol=lf
|
|
*.lex eol=lf
|
|
*.mm eol=lf
|
|
*.el eol=lf
|
|
*.sh eol=lf
|
|
*.csh eol=lf
|
|
*.tcl eol=lf
|
|
*.workspace eol=lf
|
|
*.cbp eol=lf
|
|
*.svg eol=lf
|
|
*.xib eol=lf
|
|
*.plist eol=lf
|
|
*.java eol=lf
|
|
*.igs eol=lf
|
|
*.iges eol=lf
|
|
*.stp eol=lf
|
|
*.step eol=lf
|
|
*.brep eol=lf
|
|
*.rle eol=lf
|
|
*.vrml eol=lf
|
|
*.md eol=lf
|
|
*.natvis eol=lf
|
|
*.fs eol=lf
|
|
*.vs eol=lf
|
|
*.glsl eol=lf
|
|
FILES eol=lf
|
|
PACKAGES eol=lf
|
|
EXTERNLIB eol=lf
|
|
UDLIST eol=lf
|
|
tests/* eol=lf
|
|
tests/*/* eol=lf
|
|
tests/*/*/* eol=lf
|
|
adm/upgrade.dat eol=lf
|
|
*.bat eol=crlf
|
|
*.cmd eol=crlf
|
|
*.rc eol=crlf
|
|
*.cs eol=crlf
|
|
*.def eol=crlf
|
|
*.iss eol=crlf
|
|
*.ini eol=crlf
|
|
*.lng eol=crlf
|
|
*.vcproj eol=crlf
|
|
*.csproj eol=crlf
|
|
*.vcxproj* eol=crlf
|
|
*.sln eol=crlf
|
|
*.res eol=crlf
|
|
*.resx eol=crlf
|
|
*.dll binary
|
|
*.so binary
|
|
*.dylib binary
|
|
*.7z binary
|
|
*.pdf binary
|
|
*.png binary
|
|
*.jpg binary
|
|
*.bmp binary
|
|
*.gif binary
|
|
*.xwd binary
|
|
*.ico binary
|
|
*.icns binary
|
|
*.std binary
|
|
*.gz binary
|
|
*.doc binary
|
|
*.rgb binary
|
|
*.mft binary
|
|
*.stl binary
|