|
10256f556c
|
Implemented automatic lod checks against the active camera. Can be turned off with the new auto_lod property. Also tweaked the default distance values.
|
2021-08-12 18:45:12 +02:00 |
|
|
fb9513c911
|
Implemented lod level switching support for PropInstanceMerger. Also implemented toggling the meshes with visibility.
|
2021-08-12 17:56:38 +02:00 |
|
|
cb3aa0b1b0
|
Now the editor can properly handle without a restart when an already existing PropData gets re-serialized with the scene conversion tool.
|
2021-08-11 20:33:41 +02:00 |
|
|
1d4e05b5a1
|
Finished light baking.
|
2021-08-11 19:12:03 +02:00 |
|
|
5dd5db80ec
|
Use the proper transform in _prop_preprocess for the meshes aswell.
|
2021-08-11 18:30:46 +02:00 |
|
|
db6171c48f
|
Addes api for lights to PropInstancePropJob. Also now PropInstanceMerger will process lights.
|
2021-08-11 18:29:52 +02:00 |
|
|
51ee053eed
|
Now PropLights can be added into the mesher.
|
2021-08-11 18:20:29 +02:00 |
|
|
00536c9596
|
Renamed the world position property to just position in PropLight.
|
2021-08-11 18:18:03 +02:00 |
|
|
a5ab7ca180
|
Added a new PropLight class.
|
2021-08-11 17:10:41 +02:00 |
|
|
cbbedf9128
|
Added a new bake_colors methods to PropMesher. Contains commented out code for now.
|
2021-08-11 17:04:17 +02:00 |
|
|
fb2e63702f
|
Removed the now unneeded build flags from PropMesher.
|
2021-08-11 16:48:48 +02:00 |
|
|
3d1faef5ac
|
Reimplement get_random_ao in PropMesher. Now it just returns the RAO value for that position.
|
2021-08-11 16:44:49 +02:00 |
|
|
308d8e0baf
|
Re-implemented/fixed collider support. Also fixed the debug draw colliders option.
|
2021-08-10 17:34:17 +02:00 |
|
|
80f5a3ee86
|
Fix texture processing for sub props.
|
2021-08-10 17:12:55 +02:00 |
|
|
21379908e5
|
Fix re-baking meshes after prop data assing.
|
2021-08-10 17:10:05 +02:00 |
|
|
498b289c36
|
Implement NOTIFICATION_TRANSFORM_CHANGED.
|
2021-08-10 16:40:46 +02:00 |
|
|
6e5836a859
|
Fixed more issues. Now meshes actually get built.
|
2021-08-10 15:06:10 +02:00 |
|
|
36663e46ae
|
Actually use the vector write proxy in PropMesher's build_mesh.
|
2021-08-10 12:31:28 +02:00 |
|
|
924b32e70a
|
Fixed quite a few issues with the prop instance merger's logic.
|
2021-08-10 12:23:53 +02:00 |
|
|
6a4c4ad1aa
|
Also clear the nodes if _prop_data is not valid.
|
2021-08-10 10:55:49 +02:00 |
|
|
9320f0c3c4
|
Reset the meshes even if _prop_data is not valid.
|
2021-08-10 10:53:22 +02:00 |
|
|
4ee6f2b033
|
Remove private _prop_data property.
|
2021-08-10 10:41:14 +02:00 |
|
|
ccc94053d6
|
Fix ref's type.
|
2021-08-10 10:40:56 +02:00 |
|
|
ef7b217b6a
|
Actually queue the build in queue_build.
|
2021-08-10 10:29:52 +02:00 |
|
|
8e9c865285
|
Fix build.
|
2021-08-10 10:20:27 +02:00 |
|
|
7c815f26b0
|
Removed the merge_textures property from PropInstanceMerger.
|
2021-08-10 10:19:03 +02:00 |
|
|
0d4d55278f
|
Set up job steps in PropInstanceMerger.
|
2021-08-10 10:13:16 +02:00 |
|
|
33cc53c881
|
Implement initial_setup_default for PropMaterialCache and PropMaterialCachePCM.
|
2021-08-10 10:06:13 +02:00 |
|
|
5477c38e3f
|
Added missing material_get to PropCache.
|
2021-08-10 10:01:41 +02:00 |
|
|
387c6fdedd
|
Set cache to the job and implement cache initialization for in PropInstanceMerger's _build.
|
2021-08-10 09:57:37 +02:00 |
|
|
604d895ac9
|
Improve stage logic a bit.
|
2021-08-10 09:49:22 +02:00 |
|
|
6ec8e40ea0
|
Get the material from the material cache.
|
2021-08-10 09:46:59 +02:00 |
|
|
34492756cd
|
Removed the old (commented out) lod generation code, and the mesh setup code. phase_steps handles this .
|
2021-08-10 09:45:25 +02:00 |
|
|
64e6447d9c
|
Removed the texture packer from PropInstancePropJob. The code now uses the material cache instead.
|
2021-08-10 09:39:18 +02:00 |
|
|
35cf1962d0
|
Undef PROPS_PRESENT just in case.
|
2021-08-10 09:29:08 +02:00 |
|
|
8805d63f4a
|
Added a material_cache property to PropInstancePropJob.
|
2021-08-10 09:28:06 +02:00 |
|
|
f526e99239
|
Fix error message copy paste.
|
2021-08-10 09:22:13 +02:00 |
|
|
d670f8a968
|
Implement material_cache_unref and material_cache_custom_key_unref aswell.
|
2021-08-10 09:21:32 +02:00 |
|
|
9ea2951c66
|
Added ensure_materials_loaded method to PropCache.
|
2021-08-09 21:05:36 +02:00 |
|
|
cbad187673
|
Implement material loading.
|
2021-08-09 21:01:46 +02:00 |
|
|
4bde4a4638
|
Prop cache now also can store the materials themselves.
|
2021-08-09 20:55:40 +02:00 |
|
|
f9d5a4c29a
|
Added a material_paths property to the PropCache, can be used to store resource paths to the materials.
|
2021-08-09 20:43:53 +02:00 |
|
|
d59047eb7c
|
Added texture packer options for PropMaterialCachePCM to the PropCache singleton. It reads default values from the project settings.
|
2021-08-09 20:35:28 +02:00 |
|
|
145e67481b
|
Fix build.
|
2021-08-09 20:34:28 +02:00 |
|
|
f3d1e5278c
|
Added initial_setup_default virtual to prop material cache.
|
2021-08-09 20:24:29 +02:00 |
|
|
7a3e3b20d4
|
Added a mutex with a public api to the material cache.
|
2021-08-09 17:21:19 +02:00 |
|
|
11b82bded3
|
Removed the old TexturePacker based api from PropCache.
|
2021-08-09 17:16:05 +02:00 |
|
|
b15ac01225
|
Added an api to get MaterialCaches from the PropCache singleton. Also changed toe default_prop_material_cache_class property's type to stringname.
|
2021-08-09 16:56:11 +02:00 |
|
|
e0db2189be
|
Added default_prop_material_cache_class property to the PropCache singleton.
|
2021-08-09 16:18:34 +02:00 |
|
|
e34649c44f
|
Don't check for PROPS_PRESENT in the props module.
|
2021-08-09 16:10:15 +02:00 |
|