Commit Graph

60 Commits

Author SHA1 Message Date
गोपालः शर्माः
99301c6287 Fixed typo (#571)
* Removed extra slash

* Fixed typo
2018-12-03 12:30:55 -08:00
गोपालः शर्माः
97dfd1ea95 Removed extra slash (#570) 2018-12-03 12:13:41 -08:00
Philip Rideout
9192280339 KTX-ify some of our sample environments.
- Nuke office and desert
- Add pillars and venetian_crossroads
- Regenerate white_furnace
- Keep the diagnostic environments (uv2, uv8, and uv128) as-is
2018-11-30 17:15:10 -08:00
Romain Guy
79a2685f3c Update README.md 2018-11-30 17:01:04 -08:00
Romain Guy
e6cb4d0dfa Update sample screenshots in README 2018-11-28 11:43:13 -08:00
Philip Rideout
e90b53fdce Introduce resgen tool for embedding binary blobs.
This tool can be used to replace inc files for built-in materials. The
inc files are unfriendly to IDE's and do not extend to non-material
resource types such as baked texture data.

The tool aggregates a sequence of binary blobs, each of which becomes a
"resource" whose id is the basename of the input file. It produces the
following set of files:

    resources.h ......... declares sizes and offsets for each resource
    resources.S ......... small assembly file with incbin directive
    resources.apple.S ... ditto but with different rodata name
    resources.bin ....... the aggregated binary blob
    resources.c ......... large xxd-style array (only for WASM)

We did an experiment to test the incbin directive on a variety of
platforms in PR #510.
2018-11-21 17:18:21 -08:00
Romain Guy
55dd612c64 Add screenshots to Android samples' README (#513)
This change also optimizes the size of existing images using squoosh.app.
This should make the main README a lot lighter and faster to load (it saves
several MiBs).
2018-11-21 14:16:21 -08:00
Philip Rideout
84d2fb222b Flesh out JS bindings a bit. 2018-11-16 17:21:44 -08:00
Philip Rideout
75ffbe13be Fix typos. 2018-11-07 16:28:57 -08:00
Philip Rideout
5f05180d0f Update "Directory structure" in toplevel README.
I don't think it's useful to indent the entire tree, so this removes
the redundant root. More importantly, it adds the "web" folder. :)
2018-11-07 10:48:22 -08:00
Philip Rideout
7ea04957d2 Introduce versioning scheme and npm package definition. 2018-11-06 12:48:56 -08:00
Philip Rideout
fffb2c8c97 Add samples to the new web directory. 2018-11-01 17:05:30 -07:00
Ben Doherty
29119c7248 Add iOS support to Filament (#360) 2018-10-18 12:42:13 -07:00
Romain Guy
e6435a7431 Update README 2018-10-17 16:30:30 -07:00
Philip Rideout
9e5f44bd34 Consolidate two filamesh readers into a lib. 2018-10-16 13:31:16 -07:00
Jonas Karlsson
76035711f4 Fix documentation typo (#368) 2018-10-11 08:53:51 -07:00
prideout
c55333b7b5 Add WebGL mention, remove duplicated links. 2018-09-25 13:40:58 -07:00
prideout
ee47255c83 Improve the build instructions for WebAssembly and Linux.
Fixes #249
2018-09-17 11:14:15 -07:00
Romain Guy
e0de488a0e Update Windows build instructions 2018-09-07 16:02:08 -07:00
Romain Guy
193cfb0fdd Change web badge icon 2018-09-06 16:06:53 -07:00
Romain Guy
d31076e558 Add Web build badge 2018-09-06 15:56:54 -07:00
Romain Guy
0097fc404e Automatically rebuild materials from Gradle (#183)
* Automatically rebuild materials from Gradle

* Share Gradle tasks
2018-08-30 10:36:54 -07:00
Romain Guy
4002498438 Add new HDR environment maps in third_party (#182)
These are much better than the ones we had in assets/
2018-08-29 14:22:58 -07:00
Romain Guy
775c53f62c Wrap long line 2018-08-29 09:19:17 -07:00
Romain Guy
34c170d4da Add Android sample app (#181)
* Add Android sample app

It’s a simple rotating triangle but provides a good overview of how to use Filament on Android

* Remove unnecessary files
2018-08-29 09:01:28 -07:00
Philip Rideout
4dd6479a6c Add README instructions for web samples. (#173) 2018-08-28 11:33:47 -07:00
Romain Guy
abf4cfba44 Add downloads section 2018-08-24 19:07:17 -07:00
Romain Guy
8cfdf187c5 Add link to build artifacts 2018-08-24 18:48:14 -07:00
Philip Rideout
1dbe386268 Add WebAssembly to the build. (#145)
This does not add any samples or continuous integration, but it at least
allows developers to do a "-p webgl" and check if an actual wasm file
for the core Filament library can be succesfully built.
2018-08-24 17:18:12 -07:00
Romain Guy
0dd89ef309 Update instructions for Java based systems (#143) 2018-08-24 16:44:20 -07:00
Romain Guy
b467bb0339 Update README 2018-08-24 12:37:11 -07:00
Romain Guy
f9fbb6aef1 Add Windows badge 2018-08-24 10:26:35 -07:00
Romain Guy
8f1d9bcd26 Remove Windows build status for now 2018-08-23 18:20:04 -07:00
Romain Guy
8dbc6b41e7 Add build status to README (#132) 2018-08-23 18:17:14 -07:00
Philip Rideout
e45e7b256d Introduce mipgen frontend. (#120)
* Introduce mipgen frontend.

For now this is fairly simple although it does let you choose a filter.
Another cool feature is that an HTML file is generated which makes it
easy to review the generated miplevels.

This does not expose the Boundary enum to users because it has not yet
been implemented in the core Image library.

* Fix up mipgen per code review.
2018-08-21 17:54:27 -07:00
Philip Rideout
d12021a196 Fix args to update-alternatives. (#117) 2018-08-20 15:37:52 -07:00
Romain Guy
0b914d2ad3 Filament is a real-time renderer 2018-08-20 11:48:22 -07:00
Romain Guy
df146c3cba Update build instructions
Explain how to skip building the Java bindings
2018-08-16 11:40:29 -07:00
Romain Guy
45b36e9306 Add link to Python bindings 2018-08-13 12:23:52 -07:00
Philip Rideout
1f380a6ec6 Introduce new image library, Phase I. (#80)
* Overhaul the image library, Phase I.

The preps for our upcoming mipgen command line tool by adding filtering
capabilities and unit tests for a new LinearImage class, which will
subsume Image (deprecated).

Filament's new image library is composed of three components:

- LinearImage....simple 3D tensor of floats
- ImageOps.......free functions for simple transforms
- ImageSampler...high quality filtering

The old Image class was a simple untyped data blob and is now
deprecated. The new LinearImage class is always float32, and always
stores pixels in packed scanline order. This makes it easier to
implement image-based algorithms because they can be agnostic of the
underlying format.

Remaining refactorings:
- Phase  II will migrate imageio to LinearImage
- Phase III will migrate all downstream tools to LinearImage
- Phase  IV will remove old the Image class

* Image library code review feedback.
2018-08-13 10:39:57 -07:00
Romain Guy
70391fa16b Fedora needs libcxx-devel 2018-08-09 10:21:59 -07:00
Ben Doherty
b8a2457e28 Revert "Don't require Python to build (#51) (#55) 2018-08-09 09:53:35 -07:00
Romain Guy
da03ef2378 Compile shaders in a separate static library (#34)
* Update build instructions

* Compile shaders in a separate static library

Each shader string is now part of a separate .o file, which should make recompiling filamat/matc a tad more enjoyable.

* Shaders.h belongs to filamat, not filament
2018-08-07 12:47:52 -07:00
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
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
Benjamin Doherty
6a26605864 Update documentation, use x64 native tools and no debug flag 2018-08-06 11:23:16 -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