Commit Graph

91 Commits

Author SHA1 Message Date
f20119565f Run some logic only at startup 2021-01-07 02:45:58 -08:00
6ee52ac18e Fix some projection logic 2021-01-06 01:09:43 -08:00
67ccaa1dae Fix textures not updating sometimes 2021-01-05 19:02:43 -08:00
c33f5bacdd Fix symmetry 2021-01-05 16:23:15 -08:00
03d2e66543 simplify opacity cutoff and wear by using material properties 2021-01-05 16:01:26 -08:00
be3b7f791a Remove debug logging statements 2021-01-05 00:44:02 -08:00
7406fa613b Clear targets on attach 2021-01-05 00:40:30 -08:00
7b9ed99325 Cleanup of abandoned saving code 2021-01-01 14:28:30 -08:00
2f2b6fb692 Get multi-projection to work 2020-12-31 21:05:30 -08:00
eb033113b3 Merge branch 'main' into feature-multiProject 2020-12-20 01:46:16 -08:00
3173dd914a Update version and remove debug statement 2020-12-19 17:06:52 -08:00
5f6712f476 Revert changes to ModuleConformalDecal.cs 2020-12-19 16:58:15 -08:00
6b7996fdd7 Text render simplification and small optimizations 2020-12-19 16:11:56 -08:00
5feb16dcfb Only update text once per frame
Fixed text re-rendering several times in a single frame when pasting in text
2020-12-18 21:14:34 -08:00
bf8e98caf0 Fix text rendering for some non-ascii strings 2020-12-17 16:14:33 -08:00
b634eb1e8e Update version and changelog 2020-12-16 13:04:46 -08:00
dadf38acd5 go back to using temporary rendertexs 2020-12-16 01:28:57 -08:00
f42e0d78d6 Don't reuse textures, and don't keep them in RAM
Hopefully fixes #28
2020-12-16 01:11:32 -08:00
227c259e51 Cleanup and migrate to using VS 2020-12-08 16:06:01 -08:00
fc6820d73b make normal map gen less dumb 2020-12-04 17:12:41 -08:00
9dc98a6f9d Fix flag aspect ratio and font instantiation 2020-12-04 17:05:37 -08:00
35fce78616 fix flag decal NRE 2020-12-04 16:16:11 -08:00
a61a2b81a1 Cleanup refactor 2020-12-02 01:40:46 -08:00
dda988db17 Quick bugfix 2020-11-29 16:31:41 -08:00
e56278c6cb Fix stock flags being stretched 2020-11-29 16:02:45 -08:00
e6856124e7 Another attempt at fixing the planet glitch 2020-11-25 02:44:04 -08:00
8ed7a130ab Alternate rendertex handling 2020-11-22 20:18:16 -08:00
17ef93bb6e Copy other text parameters to symmetry counterparts 2020-11-16 16:45:54 -08:00
a6de537e4a ScaleRange change 2020-11-16 15:44:40 -08:00
121428414c Add input locks for text entry 2020-11-16 15:34:10 -08:00
98f774b2ae More font fixes and UI changes
- Lowered step size for decal size and depth to 1cm.
 - Changed default max size to 10m.
 - Text decals now show as a circle if they contain only whitespace.
 - Fixed font name in config and defaulted to Calibri if its missing
2020-11-16 15:05:55 -08:00
d31576fb0b Fix font saving and rendering 2020-11-16 14:44:07 -08:00
c9853049c5 Clear rendertex because KSP wont 2020-11-16 14:01:10 -08:00
06137357c1 Close windows when text part is destroyed 2020-11-14 21:15:43 -08:00
dbbc621181 Fix text decal saving and loading
Closes #25
2020-11-14 21:11:16 -08:00
981a167864 Revert "Add fallbacks to all fonts, even squad ones"
This reverts commit ac1289a46e.
2020-11-13 01:55:42 -08:00
c42e443b4b Add minimum size for text decals 2020-11-13 01:43:08 -08:00
a6e2edc475 use URL-style string escaping 2020-11-13 01:42:55 -08:00
e82b02b0e5 Fix overlapping text and add text escaping 2020-11-12 21:25:24 -08:00
ea8c069d68 Fix issues with fallback fonts
Fixed TMP subobjects being deleted, causing fallback fonts to fail in some situations.
closes #24
2020-11-12 20:10:40 -08:00
ac1289a46e Add fallbacks to all fonts, even squad ones 2020-11-12 14:55:04 -08:00
e6288942ea Cleanup and fix onVariantApplied 2020-11-09 19:34:34 -08:00
1ebed608a8 Fix corrupted text rendering
Fix text corruption when rendering text right after a scene change by delaying it by a single frame in OnLoad
2020-10-11 03:05:07 -07:00
62bdd151e1 Refactor to rearrange initialization code
• Add matrix parsing code
• Add target serialization
• Rearrange initialization to allow loading targets from config soon
2020-10-09 19:30:59 -07:00
f5af8a4d53 Merge branch 'develop' into feature-multiProject 2020-10-09 17:28:00 -07:00
98a790630e Remove call to get_dataPath from constructor
Fixes error in development build of KSP
2020-10-07 00:12:15 -07:00
df95601416 Allow toggling multiprojection in editor 2020-10-05 23:30:22 -07:00
596675ad8d Add naive implementation of multi-projection 2020-10-05 22:42:01 -07:00
5ef33b1d85 Use supported render texture format on DirectX 2020-10-04 14:59:58 -07:00
27ecd82193 Rename font file to avoid windows legacy features 2020-10-04 14:40:07 -07:00