Update Files
BIN
leenkx/Assets/blue_noise64.png
Normal file
After Width: | Height: | Size: 16 KiB |
BIN
leenkx/Assets/brdf.png
Normal file
After Width: | Height: | Size: 20 KiB |
1
leenkx/Assets/clouds_base.raw
Normal file
1
leenkx/Assets/clouds_detail.raw
Normal file
BIN
leenkx/Assets/clouds_map.png
Normal file
After Width: | Height: | Size: 953 KiB |
BIN
leenkx/Assets/font_default.ttf
Normal file
BIN
leenkx/Assets/font_default_full.ttf
Normal file
202
leenkx/Assets/font_license_roboto.txt
Normal file
@ -0,0 +1,202 @@
|
||||
|
||||
Apache License
|
||||
Version 2.0, January 2004
|
||||
http://www.apache.org/licenses/
|
||||
|
||||
TERMS AND CONDITIONS FOR USE, REPRODUCTION, AND DISTRIBUTION
|
||||
|
||||
1. Definitions.
|
||||
|
||||
"License" shall mean the terms and conditions for use, reproduction,
|
||||
and distribution as defined by Sections 1 through 9 of this document.
|
||||
|
||||
"Licensor" shall mean the copyright owner or entity authorized by
|
||||
the copyright owner that is granting the License.
|
||||
|
||||
"Legal Entity" shall mean the union of the acting entity and all
|
||||
other entities that control, are controlled by, or are under common
|
||||
control with that entity. For the purposes of this definition,
|
||||
"control" means (i) the power, direct or indirect, to cause the
|
||||
direction or management of such entity, whether by contract or
|
||||
otherwise, or (ii) ownership of fifty percent (50%) or more of the
|
||||
outstanding shares, or (iii) beneficial ownership of such entity.
|
||||
|
||||
"You" (or "Your") shall mean an individual or Legal Entity
|
||||
exercising permissions granted by this License.
|
||||
|
||||
"Source" form shall mean the preferred form for making modifications,
|
||||
including but not limited to software source code, documentation
|
||||
source, and configuration files.
|
||||
|
||||
"Object" form shall mean any form resulting from mechanical
|
||||
transformation or translation of a Source form, including but
|
||||
not limited to compiled object code, generated documentation,
|
||||
and conversions to other media types.
|
||||
|
||||
"Work" shall mean the work of authorship, whether in Source or
|
||||
Object form, made available under the License, as indicated by a
|
||||
copyright notice that is included in or attached to the work
|
||||
(an example is provided in the Appendix below).
|
||||
|
||||
"Derivative Works" shall mean any work, whether in Source or Object
|
||||
form, that is based on (or derived from) the Work and for which the
|
||||
editorial revisions, annotations, elaborations, or other modifications
|
||||
represent, as a whole, an original work of authorship. For the purposes
|
||||
of this License, Derivative Works shall not include works that remain
|
||||
separable from, or merely link (or bind by name) to the interfaces of,
|
||||
the Work and Derivative Works thereof.
|
||||
|
||||
"Contribution" shall mean any work of authorship, including
|
||||
the original version of the Work and any modifications or additions
|
||||
to that Work or Derivative Works thereof, that is intentionally
|
||||
submitted to Licensor for inclusion in the Work by the copyright owner
|
||||
or by an individual or Legal Entity authorized to submit on behalf of
|
||||
the copyright owner. For the purposes of this definition, "submitted"
|
||||
means any form of electronic, verbal, or written communication sent
|
||||
to the Licensor or its representatives, including but not limited to
|
||||
communication on electronic mailing lists, source code control systems,
|
||||
and issue tracking systems that are managed by, or on behalf of, the
|
||||
Licensor for the purpose of discussing and improving the Work, but
|
||||
excluding communication that is conspicuously marked or otherwise
|
||||
designated in writing by the copyright owner as "Not a Contribution."
|
||||
|
||||
"Contributor" shall mean Licensor and any individual or Legal Entity
|
||||
on behalf of whom a Contribution has been received by Licensor and
|
||||
subsequently incorporated within the Work.
|
||||
|
||||
2. Grant of Copyright License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
copyright license to reproduce, prepare Derivative Works of,
|
||||
publicly display, publicly perform, sublicense, and distribute the
|
||||
Work and such Derivative Works in Source or Object form.
|
||||
|
||||
3. Grant of Patent License. Subject to the terms and conditions of
|
||||
this License, each Contributor hereby grants to You a perpetual,
|
||||
worldwide, non-exclusive, no-charge, royalty-free, irrevocable
|
||||
(except as stated in this section) patent license to make, have made,
|
||||
use, offer to sell, sell, import, and otherwise transfer the Work,
|
||||
where such license applies only to those patent claims licensable
|
||||
by such Contributor that are necessarily infringed by their
|
||||
Contribution(s) alone or by combination of their Contribution(s)
|
||||
with the Work to which such Contribution(s) was submitted. If You
|
||||
institute patent litigation against any entity (including a
|
||||
cross-claim or counterclaim in a lawsuit) alleging that the Work
|
||||
or a Contribution incorporated within the Work constitutes direct
|
||||
or contributory patent infringement, then any patent licenses
|
||||
granted to You under this License for that Work shall terminate
|
||||
as of the date such litigation is filed.
|
||||
|
||||
4. Redistribution. You may reproduce and distribute copies of the
|
||||
Work or Derivative Works thereof in any medium, with or without
|
||||
modifications, and in Source or Object form, provided that You
|
||||
meet the following conditions:
|
||||
|
||||
(a) You must give any other recipients of the Work or
|
||||
Derivative Works a copy of this License; and
|
||||
|
||||
(b) You must cause any modified files to carry prominent notices
|
||||
stating that You changed the files; and
|
||||
|
||||
(c) You must retain, in the Source form of any Derivative Works
|
||||
that You distribute, all copyright, patent, trademark, and
|
||||
attribution notices from the Source form of the Work,
|
||||
excluding those notices that do not pertain to any part of
|
||||
the Derivative Works; and
|
||||
|
||||
(d) If the Work includes a "NOTICE" text file as part of its
|
||||
distribution, then any Derivative Works that You distribute must
|
||||
include a readable copy of the attribution notices contained
|
||||
within such NOTICE file, excluding those notices that do not
|
||||
pertain to any part of the Derivative Works, in at least one
|
||||
of the following places: within a NOTICE text file distributed
|
||||
as part of the Derivative Works; within the Source form or
|
||||
documentation, if provided along with the Derivative Works; or,
|
||||
within a display generated by the Derivative Works, if and
|
||||
wherever such third-party notices normally appear. The contents
|
||||
of the NOTICE file are for informational purposes only and
|
||||
do not modify the License. You may add Your own attribution
|
||||
notices within Derivative Works that You distribute, alongside
|
||||
or as an addendum to the NOTICE text from the Work, provided
|
||||
that such additional attribution notices cannot be construed
|
||||
as modifying the License.
|
||||
|
||||
You may add Your own copyright statement to Your modifications and
|
||||
may provide additional or different license terms and conditions
|
||||
for use, reproduction, or distribution of Your modifications, or
|
||||
for any such Derivative Works as a whole, provided Your use,
|
||||
reproduction, and distribution of the Work otherwise complies with
|
||||
the conditions stated in this License.
|
||||
|
||||
5. Submission of Contributions. Unless You explicitly state otherwise,
|
||||
any Contribution intentionally submitted for inclusion in the Work
|
||||
by You to the Licensor shall be under the terms and conditions of
|
||||
this License, without any additional terms or conditions.
|
||||
Notwithstanding the above, nothing herein shall supersede or modify
|
||||
the terms of any separate license agreement you may have executed
|
||||
with Licensor regarding such Contributions.
|
||||
|
||||
6. Trademarks. This License does not grant permission to use the trade
|
||||
names, trademarks, service marks, or product names of the Licensor,
|
||||
except as required for reasonable and customary use in describing the
|
||||
origin of the Work and reproducing the content of the NOTICE file.
|
||||
|
||||
7. Disclaimer of Warranty. Unless required by applicable law or
|
||||
agreed to in writing, Licensor provides the Work (and each
|
||||
Contributor provides its Contributions) on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or
|
||||
implied, including, without limitation, any warranties or conditions
|
||||
of TITLE, NON-INFRINGEMENT, MERCHANTABILITY, or FITNESS FOR A
|
||||
PARTICULAR PURPOSE. You are solely responsible for determining the
|
||||
appropriateness of using or redistributing the Work and assume any
|
||||
risks associated with Your exercise of permissions under this License.
|
||||
|
||||
8. Limitation of Liability. In no event and under no legal theory,
|
||||
whether in tort (including negligence), contract, or otherwise,
|
||||
unless required by applicable law (such as deliberate and grossly
|
||||
negligent acts) or agreed to in writing, shall any Contributor be
|
||||
liable to You for damages, including any direct, indirect, special,
|
||||
incidental, or consequential damages of any character arising as a
|
||||
result of this License or out of the use or inability to use the
|
||||
Work (including but not limited to damages for loss of goodwill,
|
||||
work stoppage, computer failure or malfunction, or any and all
|
||||
other commercial damages or losses), even if such Contributor
|
||||
has been advised of the possibility of such damages.
|
||||
|
||||
9. Accepting Warranty or Additional Liability. While redistributing
|
||||
the Work or Derivative Works thereof, You may choose to offer,
|
||||
and charge a fee for, acceptance of support, warranty, indemnity,
|
||||
or other liability obligations and/or rights consistent with this
|
||||
License. However, in accepting such obligations, You may act only
|
||||
on Your own behalf and on Your sole responsibility, not on behalf
|
||||
of any other Contributor, and only if You agree to indemnify,
|
||||
defend, and hold each Contributor harmless for any liability
|
||||
incurred by, or claims asserted against, such Contributor by reason
|
||||
of your accepting any such warranty or additional liability.
|
||||
|
||||
END OF TERMS AND CONDITIONS
|
||||
|
||||
APPENDIX: How to apply the Apache License to your work.
|
||||
|
||||
To apply the Apache License to your work, attach the following
|
||||
boilerplate notice, with the fields enclosed by brackets "[]"
|
||||
replaced with your own identifying information. (Don't include
|
||||
the brackets!) The text should be enclosed in the appropriate
|
||||
comment syntax for the file format. We also recommend that a
|
||||
file or class name and description of purpose be included on the
|
||||
same "printed page" as the copyright notice for easier
|
||||
identification within third-party archives.
|
||||
|
||||
Copyright [yyyy] [name of copyright owner]
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
BIN
leenkx/Assets/font_mono.ttf
Normal file
BIN
leenkx/Assets/font_mono_full.ttf
Normal file
BIN
leenkx/Assets/hosek/hosek_radiance.hdr
Normal file
7
leenkx/Assets/hosek/hosek_radiance_0.hdr
Normal file
7
leenkx/Assets/hosek/hosek_radiance_1.hdr
Normal file
7
leenkx/Assets/hosek/hosek_radiance_2.hdr
Normal file
@ -0,0 +1,7 @@
|
||||
#?RADIANCE
|
||||
# Output from cmft.
|
||||
FORMAT=32-bit_rle_rgbe
|
||||
EXPOSURE=1
|
||||
|
||||
-Y 16 +X 32
|
||||
?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>?h<><68>Cl<43><6C>Cl<43><6C>Bl<42><6C>Bk<42><6B>Aj<41><6A>Aj<41><6A>Aj<41><6A>Aj<41><6A>Ai<41><69>@i<><69>?h<><68>>g<><67>>f<><66>>g<><67>?g<><67>?g<><67>?g<><67>?g<><67>>g<><67>>f<><66>>g<><67>?h<><68>@i<><69>@i<><69>Aj<41><6A>Aj<41><6A>Aj<41><6A>Aj<41><6A>Bk<42><6B>Bl<42><6C>Cl<43><6C>Cl<43><6C>JuĀJuÀJtÀItÀItHr<48><72>Gq<47><71>Fp<46><70>Eo<45><6F>Dn<44><6E>Dm<44><6D>Dm<44><6D>Dm<44><6D>Cl<43><6C>Bk<42><6B>Bk<42><6B>Bk<42><6B>Bk<42><6B>Cl<43><6C>Cm<43><6D>Dm<44><6D>Dm<44><6D>Dn<44><6E>Eo<45><6F>Fp<46><70>Fq<46><71>Hr<48><72>ItItÀItÀJuÀJuĀU<C480>πT<CF80>T<CE80>πS<CF80>S̀R~ˀP|ɀO{ǀNzƀMxĀMxĀLwÀLvLvKu<4B><75>Ku<4B><75>Ku<4B><75>Ku<4B><75>Kv<4B><76>LvLwÀMxĀMxĀNyŀOzǀP|ɀR~ˀS̀S<CD80>T<CE80>πT<CF80>U<CE80>πj<CF80><6A><EFBFBD>j<EFBFBD><6A><EFBFBD>i<EFBFBD><69><EFBFBD>`<60>ـ_<D980>^<5E>րe<D680>ـd<D980>c<D880>׀b<D780>րY<D680>πX<CF80>X<CE80>̀W<CD80>̀`<60>Ҁ`<60>Ҁ`<60>Ҁ`<60>ҀW<D280>̀X<CC80>̀X<CD80>̀Y<CD80>b<CE80>րc<D680>׀d<D780>d<D880>ـ^<5E>ր_<D680>`<60>ـi<D980><69><EFBFBD>j<EFBFBD><6A><EFBFBD>j<EFBFBD><6A><EFBFBD>t<EFBFBD><74><EFBFBD>t<EFBFBD><74><EFBFBD>s<EFBFBD><73><EFBFBD>r<EFBFBD><72><EFBFBD>p<EFBFBD><70><EFBFBD>p<EFBFBD><70><EFBFBD>o<EFBFBD>߀o<DF80>ހn<DE80>݀m<DD80>݀l<DD80>܀k<DC80>ۀk<DB80>ڀk<DA80>ـk<D980>ـk<D980>ـk<D980>ـk<D980>ـk<D980>ـk<D980>ڀk<DA80>ۀl<DB80>ۀm<DB80>܀n<DC80>݀n<DD80>ހo<DE80>߀p<DF80><70><EFBFBD>p<EFBFBD><70><EFBFBD>r<EFBFBD><72><EFBFBD>s<EFBFBD><73><EFBFBD>t<EFBFBD><74><EFBFBD>t<EFBFBD><74><EFBFBD>|<7C><><EFBFBD>|<7C><><EFBFBD>|<7C><><EFBFBD>{<7B><><EFBFBD>y<EFBFBD><79><EFBFBD>x<EFBFBD><78><EFBFBD>x<EFBFBD><78><EFBFBD>w<EFBFBD><77><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>u<EFBFBD>߀u<DF80>߀t<DF80>ހt<DE80>ހt<DE80>ހt<DE80>݀t<DD80>݀t<DD80>݀t<DD80>ހt<DE80>ހu<DE80>߀u<DF80>߀v<DF80><76><EFBFBD>v<EFBFBD><76><EFBFBD>w<EFBFBD><77><EFBFBD>w<EFBFBD><77><EFBFBD>x<EFBFBD><78><EFBFBD>y<EFBFBD><79><EFBFBD>{<7B><><EFBFBD>{<7B><><EFBFBD>|<7C><><EFBFBD>|<7C>瀂<EFBFBD>倁<EFBFBD>倁<EFBFBD>倁<EFBFBD>倀<EFBFBD><E58080><EFBFBD><EFBFBD><7F><EFBFBD>~<7E><><EFBFBD>}<7D><><EFBFBD>}<7D><><EFBFBD>|<7C><><EFBFBD>|<7C><><EFBFBD>|<7C><><EFBFBD>{<7B><><EFBFBD>{<7B>߀{<7B>߀{<7B>߀{<7B>߀{<7B>߀{<7B>߀{<7B><><EFBFBD>|<7C><><EFBFBD>|<7C><><EFBFBD>|<7C><><EFBFBD>|<7C><><EFBFBD>}<7D><><EFBFBD>~<7E><><EFBFBD>~<7E> <EFBFBD>、<EFBFBD>倁<EFBFBD>倁<EFBFBD>倂<EFBFBD>倅<EFBFBD>င<EFBFBD>င<EFBFBD><E18084><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<DF80>ހ<DE80>ހ<DE80>ހ<DE80>ހ<DE80>ހ<DE80>ހ<EFBFBD><DE80>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<EFBFBD><DF80>߀<EFBFBD><DF80><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>စ<EFBFBD>܀<EFBFBD><DC80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>܀<EFBFBD><DC80>܀<EFBFBD><DC80>܀<EFBFBD><DC80>܀<EFBFBD><DC80>܀<EFBFBD><DC80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>݀<EFBFBD><DD80>܀<EFBFBD><DC80>܀<EFBFBD><DC80>܀<EFBFBD><DC80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>܀<EFBFBD><DC80>׀<EFBFBD><D780>׀<EFBFBD><D780>׀<EFBFBD><D780>׀<EFBFBD><D780><EFBFBD><D880>ـ<EFBFBD><D980>ڀ<EFBFBD><DA80>ڀ<EFBFBD><DA80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>ۀ<DB80>܀<DC80>܀<DC80>݀<DD80>݀<DD80>݀<DD80>݀<DD80>݀<DD80>܀<EFBFBD><DC80>܀<EFBFBD><DC80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>ۀ<EFBFBD><DB80>ڀ<EFBFBD><DA80>ڀ<EFBFBD><DA80>ـ<EFBFBD><D980><EFBFBD><D880>׀<EFBFBD><D780>׀<EFBFBD><D780>׀<EFBFBD><D780>׀<EFBFBD><D780>ր<EFBFBD><D680>ր<EFBFBD><D680>ր~<7E>׀}<7D>}<7D><D880>ـ~<7E>ڀ~<7E>ۀ~<7E>ۀz<DB80>݀z<DD80>ހz<DE80>ހz<DE80>߀|<7C>ހ|<7C>ހ|<7C>ހ|<7C>ހz<DE80>߀z<DF80>ހz<DE80>ހz<DE80>݀}<7D>܀~<7E>ۀ~<7E>ڀ<DA80>ـ}<7D>ـ}<7D>~<7E>׀<EFBFBD><D780>ր<EFBFBD><D680>ր<EFBFBD><D680>րz<D680>ۀz<DB80>ۀz<DB80>ۀy<DB80>ۀy<DB80>܀x<DC80>݀x<DD80>ހx<DE80>߀w<DF80><77><EFBFBD>w<EFBFBD><77><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>u<EFBFBD><75><EFBFBD>u<EFBFBD><75><EFBFBD>u<EFBFBD><75><EFBFBD>u<EFBFBD><75><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>w<EFBFBD><77><EFBFBD>w<EFBFBD><77><EFBFBD>x<EFBFBD>߀x<DF80>ހx<DE80>݀y<DD80>܀y<DC80>ۀz<DB80>ۀz<DB80>ۀz<DB80>ۀv<DB80><76><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>u<EFBFBD><75><EFBFBD>u<EFBFBD><75><EFBFBD>u<EFBFBD><75><EFBFBD>t<EFBFBD><74><EFBFBD>t<EFBFBD><74><EFBFBD>t<EFBFBD><74><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>r<EFBFBD><72><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>r<EFBFBD><72><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>t<EFBFBD><74><EFBFBD>t<EFBFBD><74><EFBFBD>t<EFBFBD><74><EFBFBD>u<EFBFBD><75><EFBFBD>u<EFBFBD><75><EFBFBD>u<EFBFBD><75><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>v<EFBFBD><76><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>q<EFBFBD><71><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>q<EFBFBD><71><EFBFBD>q<EFBFBD><71><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>s<EFBFBD><73><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>r<EFBFBD><72><EFBFBD>
|
BIN
leenkx/Assets/hosek/hosek_radiance_3.hdr
Normal file
BIN
leenkx/Assets/hosek/hosek_radiance_4.hdr
Normal file
7
leenkx/Assets/hosek/hosek_radiance_5.hdr
Normal file
@ -0,0 +1,7 @@
|
||||
#?RADIANCE
|
||||
# Written by stb_image_write.h
|
||||
FORMAT=32-bit_rle_rgbe
|
||||
EXPOSURE= 1.0000000000000
|
||||
|
||||
-Y 2 +X 4
|
||||
^<5E>Z<CE80>ɀZ<C980>ɀ^<5E>y<CE80>ހv<DE80><76><EFBFBD>v<EFBFBD><76><EFBFBD>y<EFBFBD>ހ
|
7
leenkx/Assets/hosek/hosek_radiance_6.hdr
Normal file
@ -0,0 +1,7 @@
|
||||
#?RADIANCE
|
||||
# Written by stb_image_write.h
|
||||
FORMAT=32-bit_rle_rgbe
|
||||
EXPOSURE= 1.0000000000000
|
||||
|
||||
-Y 1 +X 2
|
||||
i<EFBFBD>Հi<EFBFBD>Հ
|
7
leenkx/Assets/hosek/hosek_radiance_7.hdr
Normal file
@ -0,0 +1,7 @@
|
||||
#?RADIANCE
|
||||
# Written by stb_image_write.h
|
||||
FORMAT=32-bit_rle_rgbe
|
||||
EXPOSURE= 1.0000000000000
|
||||
|
||||
-Y 1 +X 1
|
||||
i<EFBFBD>Հ
|
80
leenkx/Assets/ies/JellyFish.ies
Normal file
@ -0,0 +1,80 @@
|
||||
IESNA:LM-63-1995
|
||||
[TEST]BALLABS TEST NO. 12788.0
|
||||
[MANUFAC] INFINITY LIGHTING INC - CARTHAGE, MISSOURI
|
||||
[LUMINAIRE] 1/100W ICETRON INDUCTION 20x15"DIRECT AREALIGHT LUMINAIRE
|
||||
[LUMINAIRE] MIRO4 SPEC ALUM TYPE II OPTICS & CLEAR FLAT GLASS LENS
|
||||
[LUMINAIRE] BLACK PANEL STREET SIDE SYLVANIA # QT 1x150 ICE/UNV-T
|
||||
[LUMCAT] ICEAL2-150S-TYPE2/CG1-277
|
||||
[LAMPCAT] ICE100/QT150 2PIN
|
||||
TILT=NONE
|
||||
1 11000. 1.000000 25 21 1 1 .938 1.266 .000
|
||||
1.0000 1.0000 140.0000
|
||||
.0 5.0 10.0 15.0 20.0 25.0 30.0 35.0 40.0 45.0
|
||||
50.0 55.0 60.0 62.5 65.0 67.5 70.0 72.5 75.0 77.5
|
||||
80.0 82.5 85.0 87.5 90.0
|
||||
.0 5.0 15.0 25.0 35.0 45.0 55.0 65.0 75.0 85.0
|
||||
90.0 95.0 105.0 115.0 125.0 135.0 145.0 155.0 165.0 175.0
|
||||
180.0
|
||||
1789. 1841. 1911. 1979. 2023. 2025. 1994. 1867. 1718. 1551.
|
||||
1374. 1208. 990. 808. 637. 469. 347. 202. 89. 18.
|
||||
9. 7. 7. 6. 0.
|
||||
1789. 1831. 1908. 1969. 2013. 2018. 1983. 1865. 1701. 1548.
|
||||
1353. 1193. 981. 842. 661. 503. 352. 172. 68. 19.
|
||||
8. 6. 6. 5. 0.
|
||||
1789. 1828. 1891. 1939. 1958. 1939. 1908. 1808. 1668. 1559.
|
||||
1428. 1300. 1222. 1161. 999. 778. 580. 318. 129. 39.
|
||||
10. 7. 7. 4. 0.
|
||||
1789. 1818. 1865. 1891. 1942. 1959. 1927. 1843. 1761. 1714.
|
||||
1673. 1599. 1445. 1325. 1165. 948. 668. 400. 186. 75.
|
||||
30. 9. 7. 2. 0.
|
||||
1789. 1811. 1821. 1891. 1941. 1974. 1980. 1943. 1993. 2082.
|
||||
1963. 1808. 1621. 1601. 1424. 1166. 829. 487. 279. 152.
|
||||
65. 15. 8. 2. 0.
|
||||
1789. 1794. 1804. 1893. 1935. 1995. 2020. 2145. 2342. 2221.
|
||||
2063. 2135. 2157. 1694. 948. 340. 101. 8. 0. 185.
|
||||
94. 32. 9. 0. 0.
|
||||
1789. 1775. 1803. 1868. 1931. 1992. 2076. 2357. 2333. 2285.
|
||||
2254. 2608. 2375. 2010. 1722. 1448. 981. 661. 376. 244.
|
||||
122. 38. 8. 0. 0.
|
||||
1789. 1763. 1798. 1839. 1918. 1961. 2151. 2291. 2310. 2263.
|
||||
2575. 2700. 2380. 2075. 1792. 1483. 1102. 702. 430. 298.
|
||||
192. 67. 11. 2. 0.
|
||||
1789. 1746. 1801. 1827. 1871. 1923. 2176. 2119. 2124. 2062.
|
||||
2553. 2596. 2201. 1907. 1678. 1368. 1015. 673. 440. 303.
|
||||
178. 63. 10. 1. 0.
|
||||
1789. 1738. 1788. 1808. 1830. 1895. 2081. 2024. 1953. 1883.
|
||||
2313. 2285. 1854. 1661. 1400. 1139. 833. 577. 404. 267.
|
||||
157. 54. 12. 1. 0.
|
||||
1789. 1735. 1783. 1797. 1812. 1868. 2046. 1983. 1911. 1805.
|
||||
2191. 2151. 1759. 1513. 1288. 1033. 802. 568. 386. 243.
|
||||
134. 56. 10. 3. 0.
|
||||
1789. 1734. 1778. 1786. 1797. 1838. 2016. 1951. 1871. 1766.
|
||||
2128. 2078. 1681. 1474. 1248. 1009. 739. 523. 349. 228.
|
||||
144. 52. 13. 2. 0.
|
||||
1789. 1733. 1774. 1773. 1771. 1777. 1959. 1895. 1811. 1647.
|
||||
2034. 1957. 1595. 1293. 1118. 925. 717. 481. 319. 208.
|
||||
125. 51. 7. 1. 0.
|
||||
1789. 1738. 1763. 1755. 1744. 1704. 1880. 1794. 1752. 1541.
|
||||
1772. 1720. 1427. 1191. 1003. 795. 588. 427. 274. 166.
|
||||
98. 39. 8. 3. 0.
|
||||
1789. 1734. 1744. 1732. 1708. 1647. 1674. 1703. 1620. 1413.
|
||||
1325. 1423. 1205. 983. 808. 642. 464. 312. 192. 107.
|
||||
57. 18. 8. 3. 0.
|
||||
1789. 1735. 1714. 1725. 1673. 1590. 1481. 1511. 1373. 1230.
|
||||
982. 993. 902. 771. 626. 456. 300. 187. 112. 60.
|
||||
31. 14. 8. 4. 0.
|
||||
1789. 1736. 1681. 1700. 1617. 1511. 1381. 1252. 1210. 1043.
|
||||
875. 657. 554. 487. 398. 294. 195. 122. 70. 40.
|
||||
19. 11. 8. 3. 0.
|
||||
1789. 1737. 1666. 1641. 1577. 1471. 1333. 1172. 1015. 890.
|
||||
728. 574. 409. 326. 243. 181. 114. 72. 40. 24.
|
||||
14. 9. 7. 4. 0.
|
||||
1789. 1740. 1679. 1601. 1493. 1388. 1268. 1114. 956. 769.
|
||||
624. 481. 347. 267. 201. 141. 85. 41. 25. 16.
|
||||
10. 7. 6. 3. 0.
|
||||
1789. 1737. 1693. 1616. 1479. 1340. 1187. 1041. 896. 724.
|
||||
572. 431. 303. 233. 167. 117. 62. 29. 18. 12.
|
||||
9. 6. 6. 4. 1.
|
||||
1789. 1742. 1698. 1623. 1491. 1354. 1196. 1040. 894. 722.
|
||||
565. 421. 302. 227. 159. 108. 57. 20. 14. 10.
|
||||
8. 6. 6. 5. 0.
|
173
leenkx/Assets/ies/load_ies.py
Normal file
@ -0,0 +1,173 @@
|
||||
# Using IES profiles from http://www.derekjenson.com/3d-blog/ies-light-profiles
|
||||
# IES parser based on:
|
||||
# https://github.com/tobspr/RenderPipeline
|
||||
# Copyright (c) 2014-2016 tobspr <tobias.springer1@gmail.com>
|
||||
# Permission is hereby granted, free of charge, to any person obtaining a copy
|
||||
# of this software and associated documentation files (the "Software"), to deal
|
||||
# in the Software without restriction, including without limitation the rights
|
||||
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
||||
# copies of the Software, and to permit persons to whom the Software is
|
||||
# furnished to do so, subject to the following conditions:
|
||||
|
||||
# The above copyright notice and this permission notice shall be included in
|
||||
# all copies or substantial portions of the Software.
|
||||
|
||||
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
||||
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
||||
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
||||
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
||||
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
||||
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
||||
# THE SOFTWARE.
|
||||
|
||||
import re
|
||||
import os
|
||||
import math
|
||||
import bpy
|
||||
import random
|
||||
|
||||
def load(filepath):
|
||||
global _vertical_angles
|
||||
global _horizontal_angles
|
||||
global _candela_values
|
||||
KEYWORD_REGEX = re.compile(r"\[([A-Za-z0-8_-]+)\](.*)")
|
||||
|
||||
PROFILES = [
|
||||
"IESNA:LM-63-1986",
|
||||
"IESNA:LM-63-1991",
|
||||
"IESNA91",
|
||||
"IESNA:LM-63-1995",
|
||||
"IESNA:LM-63-2002",
|
||||
"ERCO Leuchten GmbH BY: ERCO/LUM650/8701",
|
||||
"ERCO Leuchten GmbH"
|
||||
]
|
||||
|
||||
with open(filepath, "r") as handle:
|
||||
lines = handle.readlines()
|
||||
|
||||
lines = [i.strip() for i in lines]
|
||||
|
||||
# Parse version header
|
||||
first_line = lines.pop(0)
|
||||
if first_line not in PROFILES:
|
||||
raise "Unsupported Profile: " + first_line
|
||||
|
||||
# Extracts the keywords
|
||||
keywords = {}
|
||||
while lines:
|
||||
line = lines.pop(0)
|
||||
if not line.startswith("["):
|
||||
if line != "TILT=NONE":
|
||||
continue
|
||||
lines.insert(0, line)
|
||||
break
|
||||
else:
|
||||
match = KEYWORD_REGEX.match(line)
|
||||
if match:
|
||||
key, val = match.group(1, 2)
|
||||
keywords[key.strip()] = val.strip()
|
||||
else:
|
||||
raise "Invalid keyword line: " + line
|
||||
|
||||
# Next line should be TILT=NONE according to the spec
|
||||
if lines.pop(0) != "TILT=NONE":
|
||||
raise "Expected TILT=NONE line, but none found!"
|
||||
|
||||
# From now on, lines do not matter anymore, instead everything is space seperated
|
||||
new_parts = (' '.join(lines)).replace(",", " ").split()
|
||||
|
||||
def read_int():
|
||||
return int(new_parts.pop(0))
|
||||
|
||||
def read_float():
|
||||
return float(new_parts.pop(0))
|
||||
|
||||
# Amount of Lamps
|
||||
if read_int() != 1:
|
||||
raise "Only 1 Lamp supported!"
|
||||
|
||||
# Extract various properties
|
||||
lumen_per_lamp = read_float()
|
||||
candela_multiplier = read_float()
|
||||
num_vertical_angles = read_int()
|
||||
num_horizontal_angles = read_int()
|
||||
|
||||
if num_vertical_angles < 1 or num_horizontal_angles < 1:
|
||||
raise "Invalid of vertical/horizontal angles!"
|
||||
|
||||
photometric_type = read_int()
|
||||
unit_type = read_int()
|
||||
|
||||
# Check for a correct unit type, should be 1 for meters and 2 for feet
|
||||
if unit_type not in [1, 2]:
|
||||
raise "Invalid unit type"
|
||||
|
||||
width = read_float()
|
||||
length = read_float()
|
||||
height = read_float()
|
||||
ballast_factor = read_float()
|
||||
future_use = read_float()
|
||||
input_watts = read_float()
|
||||
|
||||
_vertical_angles = [read_float() for i in range(num_vertical_angles)]
|
||||
_horizontal_angles = [read_float() for i in range(num_horizontal_angles)]
|
||||
|
||||
_candela_values = []
|
||||
candela_scale = 0.0
|
||||
|
||||
for i in range(num_horizontal_angles):
|
||||
vertical_data = [read_float() for i in range(num_vertical_angles)]
|
||||
candela_scale = max(candela_scale, max(vertical_data))
|
||||
_candela_values += vertical_data
|
||||
|
||||
# Rescale values, divide by maximum
|
||||
_candela_values = [i / candela_scale for i in _candela_values]
|
||||
generate_texture()
|
||||
|
||||
def generate_texture():
|
||||
tex = bpy.data.images.new("iestexture", width=128, height=128, float_buffer=True) # R16
|
||||
resolution_vertical = 128
|
||||
resolution_horizontal = 128
|
||||
|
||||
for vert in range(resolution_vertical):
|
||||
for horiz in range(resolution_horizontal):
|
||||
vert_angle = vert / (resolution_vertical - 1.0)
|
||||
vert_angle = math.cos(vert_angle * math.pi) * 90.0 + 90.0
|
||||
horiz_angle = horiz / (resolution_horizontal - 1.0) * 360.0
|
||||
candela = get_candela_value(vert_angle, horiz_angle)
|
||||
x = vert
|
||||
y = horiz
|
||||
i = x + y * resolution_horizontal
|
||||
tex.pixels[i * 4] = candela
|
||||
tex.pixels[i * 4 + 1] = candela
|
||||
tex.pixels[i * 4 + 2] = candela
|
||||
tex.pixels[i * 4 + 3] = 1.0
|
||||
|
||||
def get_candela_value(vertical_angle, horizontal_angle):
|
||||
# Assume a dataset without horizontal angles
|
||||
return get_vertical_candela_value(0, vertical_angle)
|
||||
|
||||
def get_vertical_candela_value(horizontal_angle_idx, vertical_angle):
|
||||
if vertical_angle < 0.0:
|
||||
return 0.0
|
||||
|
||||
if vertical_angle > _vertical_angles[len(_vertical_angles) - 1]:
|
||||
return 0.0
|
||||
|
||||
for vertical_index in range(1, len(_vertical_angles)):
|
||||
curr_angle = _vertical_angles[vertical_index]
|
||||
if curr_angle > vertical_angle:
|
||||
prev_angle = _vertical_angles[vertical_index - 1]
|
||||
prev_value = get_candela_value_from_index(vertical_index - 1, horizontal_angle_idx)
|
||||
curr_value = get_candela_value_from_index(vertical_index, horizontal_angle_idx)
|
||||
lerp = (vertical_angle - prev_angle) / (curr_angle - prev_angle)
|
||||
assert lerp >= 0.0 and lerp <= 1.0
|
||||
return curr_value * lerp + prev_value * (1.0 - lerp)
|
||||
return 0.0
|
||||
|
||||
def get_candela_value_from_index(vertical_angle_idx, horizontal_angle_idx):
|
||||
index = vertical_angle_idx + horizontal_angle_idx * len(_vertical_angles)
|
||||
return _candela_values[index]
|
||||
|
||||
filepath = "/Users/onek8/Desktop/ies/JellyFish.ies"
|
||||
load(filepath)
|
BIN
leenkx/Assets/noise256.png
Normal file
After Width: | Height: | Size: 66 KiB |
BIN
leenkx/Assets/noise64.png
Normal file
After Width: | Height: | Size: 5.6 KiB |
BIN
leenkx/Assets/noise8.png
Normal file
After Width: | Height: | Size: 1.1 KiB |
BIN
leenkx/Assets/smaa_area.png
Normal file
After Width: | Height: | Size: 22 KiB |
BIN
leenkx/Assets/smaa_search.png
Normal file
After Width: | Height: | Size: 313 B |
BIN
leenkx/Assets/water_base.png
Normal file
After Width: | Height: | Size: 410 KiB |
BIN
leenkx/Assets/water_detail.png
Normal file
After Width: | Height: | Size: 461 KiB |
BIN
leenkx/Assets/water_foam.png
Normal file
After Width: | Height: | Size: 61 KiB |