Commit Graph

59 Commits

Author SHA1 Message Date
Benjamin Doherty
65bbf44203 Fix line length 2018-08-07 12:15:47 -07:00
Benjamin Doherty
5e0a0820ba Add Ninja build instructions on Windows 2018-08-07 12:15:47 -07:00
Romain Guy
9f25b6c578 Update build instructions
The new build instructions match what the build scripts build.sh does. This unifies all the instructions and should make everyone's life easi.
2018-08-07 11:08:12 -07:00
Romain Guy
13ee398c63 Add documentation for Linux and Windows swap chains (#32) 2018-08-07 09:56:09 -07:00
Romain Guy
2b9a383c8b Prevent compilation error on Windows (#31)
The compiler cannot infer the type of the constructed object when
using the shorthand syntax.
2018-08-07 09:45:25 -07:00
Romain Guy
a40e053e68 Merge branch 'master' of https://github.com/google/filament 2018-08-07 09:35:20 -07:00
Romain Guy
86bfcf9afa Fix several typos in Filament.md.html 2018-08-07 09:35:19 -07:00
Mathias Agopian
4efb663015 Rename FroxelData to Froxelizer
Also match the file name to the class name.
2018-08-06 20:48:48 -07:00
Romain Guy
666df2f9b2 Document new ide folder
This folder is meant to host configuration files that can be imported
in various IDEs. We currently use only CLion
2018-08-06 19:17:08 -07:00
Mathias Agopian
9cc39a6943 refactor code a bit to make usage of DriverAPI more explicit
because DriverAPI is not thread-safe, it’s better
to make its usage more explicit — so it’s now
passed as argument of all methods that need it.

also pass Engine as parameter in internal classes
that made little use of it (i.e. no point in
storing it if we can just pass it a sa parameter).

Change-Id: I9142959437ed3d8c8ecb7bcd030ea55d9c8ef352
2018-08-06 19:00:32 -07:00
Benjamin Doherty
a32b6e7415 Output libs and binaries to consistent locations across platforms 2018-08-06 18:58:03 -07:00
Mathias Agopian
692a44350a code-style and C file header template for CLion
Change-Id: Id41f7138443915b33c9043c7a28b6f6729f9e0b1
2018-08-06 18:26:57 -07:00
Mathias Agopian
d93679d8f8 rename LightData to GpuLightBuffer
Change-Id: I0188c0810bbb4582489e3c666c9ec011adecfec4
2018-08-06 18:21:37 -07:00
Mathias Agopian
ac24fc3e30 clean-up LightData
remove unused code and fields, make it a value-object.

Change-Id: I52e611a1d64061c89a8ed82017a5da04f1880836
2018-08-06 18:21:37 -07:00
Mathias Agopian
94c3623c1c clean-up formatting
Change-Id: I2071e53cceb93cbe02d6bdfa238aa6ce770b0534
2018-08-06 18:14:11 -07:00
Philip Rideout
f9e1d58772 Add prefix to experimental Vulkan demos. 2018-08-06 17:01:41 -07:00
Damianno19
9d14f6e907 Fix error
utils\src\Profiler.cpp(61): error : no member named 'uninitialized_fill' in namespace 'std'
2018-08-06 14:44:29 -07:00
Benjamin Doherty
6a26605864 Update documentation, use x64 native tools and no debug flag 2018-08-06 11:23:16 -07:00
Tact Yoshida
ad49986245 Remove execute permissions 2018-08-06 10:36:54 -07:00
Romain Guy
a6fcdea74c Attempt to address #16 2018-08-06 10:09:26 -07:00
James Darpinian
f7ff98a0c0 Windows: Clang 7 crashes, Clang 6 is required instead. 2018-08-06 08:05:55 -07:00
Romain Guy
15fde11bb7 Update build.gradle and Android instructions 2018-08-05 15:23:44 -07:00
Romain Guy
329b361c81 Update Windows build instructions 2018-08-05 15:07:13 -07:00
Romain Guy
2c85725d9e Update build instructions for Linux 2018-08-05 01:17:09 -07:00
Romain Guy
7c60824022 Update README
Better describe what the first document is about.
2018-08-05 00:16:38 -07:00
Romain Guy
55476e97f0 Fix clear coat attenuation for direct lighting
The diffuse term was erroneously multiplied by (1-Fc)^2 after a previous refactoring. The documentation was correct.
2018-08-05 00:10:04 -07:00
Romain Guy
c9babb32e6 Fix typo in clear coat IBL docs 2018-08-04 23:43:29 -07:00
Romain Guy
ef9eabf773 Clarify the attenuation term in the clear coat model 2018-08-04 23:30:22 -07:00
Romain Guy
680ec9c796 Fix the link to the Spherical Harmonics section 2018-08-04 23:26:02 -07:00
Romain Guy
dc20c3d4a2 Fix max clear coat roughness in the documentation 2018-08-04 23:02:28 -07:00
Romain Guy
0c6590f49f Fix typos in the documentation 2018-08-04 23:00:41 -07:00
Romain Guy
a81a4221da Add more checks for Java builds 2018-08-04 19:50:44 -07:00
Fabian Terhorst
ea592e1e67 Fix typo in README 2018-08-04 18:15:01 -07:00
Romain Guy
14092f196f Add annex on spherical harmonics to docs 2018-08-04 15:30:31 -07:00
Romain Guy
3e1c9d4d91 The repo tool is not needed 2018-08-04 11:13:25 -07:00
Romain Guy
f05f855656 Make Markdeep work offline 2018-08-04 11:05:12 -07:00
Rich Wareham
a9153d9ce1 libs/image: fix structure-packing pragma warning
When compiling with clang on Linux, the following warning is generated:

../../libs/image/src/ImageDecoder.cpp:487:13: warning: unterminated '#pragma pack (push, ...)' at end of file [-Wpragma-pack]
    #pragma pack(push, 1)
            ^

According to [1], the correct pragma to pop the packing state from the
internal stack is "#pragma pack(pop)" rather than "#pragma pop()" which
is used currently. This commit replaces "#pragma pop()" with "#pragma
pack(pop)".

[1] http://gcc.gnu.org/onlinedocs/gcc-4.2.3/gcc/Structure_002dPacking-Pragmas.html
2018-08-04 09:47:01 -07:00
Jesse
fd380530c4 Fix more typos 2018-08-04 09:45:27 -07:00
Jesse
72ac897684 Fix some doc typos 2018-08-04 09:45:27 -07:00
Marshall
3252f90489 Fixed typo in the docs 2018-08-04 09:35:11 -07:00
Romain Guy
59d84e13a0 Fix typo in the docs 2018-08-03 23:58:04 -07:00
Romain Guy
23dc63da96 Update Linux documentation 2018-08-03 23:27:57 -07:00
Romain Guy
e96179e03f Tabs -> spaces v0.1.0-alpha 2018-08-03 20:31:22 -07:00
Romain Guy
2dfc93674e Update README now that Java is optional 2018-08-03 20:25:42 -07:00
Romain Guy
9a988d9401 Make Java builds optional
Use build.sh -j to disable Java builds
2018-08-03 20:21:28 -07:00
Romain Guy
d68e620eae Set the proper build generator for make 2018-08-03 19:29:50 -07:00
Romain Guy
24d990ba0f Check whether build tools are installed
Print warning/error and exit early if cmake, ninja/make cannot be found.
2018-08-03 19:27:01 -07:00
Romain Guy
dfcdea2d31 Add missing spirv-headers 2018-08-03 18:29:32 -07:00
Romain Guy
736c3da0c1 Add .gitignore 2018-08-03 18:27:28 -07:00
Romain Guy
b6b8ba32cd Add sample images to README.md 2018-08-03 18:12:58 -07:00