1
- % Embree: High Performance Ray Tracing Kernels 3.13.1
1
+ % Embree: High Performance Ray Tracing Kernels 3.13.2
2
2
% Intel Corporation
3
3
4
4
Embree Overview
@@ -79,7 +79,7 @@ Windows MSI Installer
79
79
---------------------
80
80
81
81
You can install the Embree library using the Windows MSI installer
82
- [ embree-3.13.1 -x64.vc14.msi] ( https://github.com/embree/embree/releases/download/v3.13.1 /embree-3.13.1 .x64.vc14.msi ) . This
82
+ [ embree-3.13.2 -x64.vc14.msi] ( https://github.com/embree/embree/releases/download/v3.13.2 /embree-3.13.2 .x64.vc14.msi ) . This
83
83
will install the 64-bit Embree version by default in `Program
84
84
Files\Intel\Embree3`.
85
85
@@ -94,13 +94,13 @@ Files\Intel\Embree3`.
94
94
To uninstall Embree, open ` Programs and Features ` by clicking the
95
95
` Start button ` , clicking ` Control Panel ` , clicking ` Programs ` , and
96
96
then clicking ` Programs and Features ` . Select `Embree
97
- 3.13.1 x64` and uninstall it.
97
+ 3.13.2 x64` and uninstall it.
98
98
99
99
Windows ZIP File
100
100
-----------------
101
101
102
102
Embree linked against Visual Studio 2015 are provided as a ZIP file
103
- [ embree-3.13.1 .x64.vc14.windows.zip] ( https://github.com/embree/embree/releases/download/v3.13.1 /embree-3.13.1 .x64.vc14.windows.zip ) . After
103
+ [ embree-3.13.2 .x64.vc14.windows.zip] ( https://github.com/embree/embree/releases/download/v3.13.2 /embree-3.13.2 .x64.vc14.windows.zip ) . After
104
104
unpacking this ZIP file, you should set the path to the ` lib ` folder
105
105
manually to your ` PATH ` environment variable for applications to find
106
106
Embree. To compile applications with Embree, you also have to set the
@@ -114,13 +114,13 @@ Linux tar.gz Files
114
114
------------------
115
115
116
116
The Linux version of Embree is also delivered as a ` tar.gz ` file:
117
- [ embree-3.13.1 .x86_64.linux.tar.gz] ( https://github.com/embree/embree/releases/download/v3.13.1 /embree-3.13.1 .x86_64.linux.tar.gz ) . Unpack
117
+ [ embree-3.13.2 .x86_64.linux.tar.gz] ( https://github.com/embree/embree/releases/download/v3.13.2 /embree-3.13.2 .x86_64.linux.tar.gz ) . Unpack
118
118
this file using ` tar ` and source the provided ` embree-vars.sh ` (if you
119
119
are using the bash shell) or ` embree-vars.csh ` (if you are using the C
120
120
shell) to set up the environment properly:
121
121
122
- tar xzf embree-3.13.1 .x86_64.linux.tar.gz
123
- source embree-3.13.1 .x86_64.linux/embree-vars.sh
122
+ tar xzf embree-3.13.2 .x86_64.linux.tar.gz
123
+ source embree-3.13.2 .x86_64.linux/embree-vars.sh
124
124
125
125
If you want to ship Embree with your application, best use the Embree
126
126
version provided in the ` tar.gz ` file.
@@ -133,7 +133,7 @@ macOS PKG Installer
133
133
134
134
To install the Embree library on your macOS system use the
135
135
provided package installer inside
136
- [ embree-3.13.1 .x86_64.pkg] ( https://github.com/embree/embree/releases/download/v3.13.1 /embree-3.13.1 .x86_64.pkg ) . This
136
+ [ embree-3.13.2 .x86_64.pkg] ( https://github.com/embree/embree/releases/download/v3.13.2 /embree-3.13.2 .x86_64.pkg ) . This
137
137
will install Embree by default into ` /opt/local/lib ` and
138
138
` /opt/local/include ` directories. The Embree tutorials are installed
139
139
into the ` /Applications/Embree3 ` directory.
@@ -155,13 +155,13 @@ macOS ZIP file
155
155
-----------------
156
156
157
157
The macOS version of Embree is also delivered as a ZIP file:
158
- [ embree-3.13.1 .x86_64.macosx.zip] ( https://github.com/embree/embree/releases/download/v3.13.1 /embree-3.13.1 .x86_64.macosx.zip ) . Unpack
158
+ [ embree-3.13.2 .x86_64.macosx.zip] ( https://github.com/embree/embree/releases/download/v3.13.2 /embree-3.13.2 .x86_64.macosx.zip ) . Unpack
159
159
this file using ` tar ` and source the provided ` embree-vars.sh ` (if you
160
160
are using the bash shell) or ` embree-vars.csh ` (if you are using the C
161
161
shell) to set up the environment properly:
162
162
163
- unzip embree-3.13.1 .x64.macosx.zip
164
- source embree-3.13.1 .x64.macosx/embree-vars.sh
163
+ unzip embree-3.13.2 .x64.macosx.zip
164
+ source embree-3.13.2 .x64.macosx/embree-vars.sh
165
165
166
166
If you want to ship Embree with your application, please use the Embree
167
167
library of the provided ZIP file. The library name of that Embree
@@ -1851,20 +1851,63 @@ The `rtcGetGeometry` function returns the geometry that is bound to the
1851
1851
specified geometry ID (` geomID ` argument) for the specified scene
1852
1852
(` scene ` argument). This function just looks up the handle and does
1853
1853
* not* increment the reference count. If you want to get ownership of
1854
- the handle, you need to additionally call ` rtcRetainGeometry ` . For this
1855
- reason, this function is fast and can be used during rendering.
1854
+ the handle, you need to additionally call ` rtcRetainGeometry ` .
1855
+
1856
+ This function is not thread safe and thus can be used during rendering.
1856
1857
However, it is generally recommended to store the geometry handle
1857
1858
inside the application's geometry representation and look up the
1858
1859
geometry handle from that representation directly.
1859
1860
1861
+ If you need a thread safe version of this function please use
1862
+ [ rtcGetGeometryThreadSafe] .
1863
+
1860
1864
#### EXIT STATUS {#exit-status}
1861
1865
1862
1866
On failure ` NULL ` is returned and an error code is set that can be
1863
1867
queried using ` rtcGetDeviceError ` .
1864
1868
1865
1869
#### SEE ALSO {#see-also}
1866
1870
1867
- [ rtcAttachGeometry] , [ rtcAttachGeometryByID]
1871
+ [ rtcAttachGeometry] , [ rtcAttachGeometryByID] ,
1872
+ [ rtcGetGeometryThreadSafe]
1873
+
1874
+
1875
+
1876
+ rtcGetGeometryThreadSafe
1877
+ ------------------------
1878
+
1879
+ #### NAME {#name}
1880
+
1881
+ rtcGetGeometryThreadSafe - returns the geometry bound to
1882
+ the specified geometry ID
1883
+
1884
+ #### SYNOPSIS {#synopsis}
1885
+
1886
+ #include <embree3/rtcore.h>
1887
+
1888
+ RTCGeometry rtcGetGeometryThreadSafe(RTCScene scene, unsigned int geomID);
1889
+
1890
+ #### DESCRIPTION {#description}
1891
+
1892
+ The ` rtcGetGeometryThreadSafe ` function returns the geometry that is
1893
+ bound to the specified geometry ID (` geomID ` argument) for the
1894
+ specified scene (` scene ` argument). This function just looks up the
1895
+ handle and does * not* increment the reference count. If you want to get
1896
+ ownership of the handle, you need to additionally call
1897
+ ` rtcRetainGeometry ` .
1898
+
1899
+ This function is thread safe and should NOT get used during rendering.
1900
+ If you need a fast non-thread safe version during rendering please use
1901
+ the [ rtcGetGeometry] function.
1902
+
1903
+ #### EXIT STATUS {#exit-status}
1904
+
1905
+ On failure ` NULL ` is returned and an error code is set that can be
1906
+ queried using ` rtcGetDeviceError ` .
1907
+
1908
+ #### SEE ALSO {#see-also}
1909
+
1910
+ [ rtcAttachGeometry] , [ rtcAttachGeometryByID] , [ rtcGetGeometry]
1868
1911
1869
1912
1870
1913
0 commit comments