Release v0.44.0#389
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
v0.44.0
Breaking Changes
hw_raytracercargo feature. The hardware ray-query backend is now selected automatically at runtime when the GPU supports it, otherwise the compute backend is used.Lightgained a publiclayers: u32field (lighting channels). Code that builds aLightwith a struct literal must set it (defaults tou32::MAX); theLight::point(..)/with_layers(..)builders are unaffected.eguifeature now also enables therfddependency (native file dialogs used by the inspector).gltf1.4 andwesl0.4.New Features
glTF, skinning & animation
SceneNode3d::add_gltf/add_gltf_from_memory(orloader::gltf::load/load_from_slice), returning aGltfModel(a scene node plus anAnimationPlayerholding every clip in the file).Skin3d) and morph targets (Object3d::set_morph_weights, up to 64 targets) — both run on the web backend too.AnimationPlayer,AnimationClip,AnimationChannel,Interpolation.gltf.Materials
Object3d/SceneNode3d:set_clearcoat,set_anisotropy,set_reflectance, and volumetricset_attenuation/set_thickness.AlphaMode(Opaque/Mask/Blend/Premultiplied) viaset_alpha_mode.set_height_map/set_height_map_from_file,set_parallax_scale,set_parallax_layers,set_parallax_method(ParallaxMethod).material_pbr,parallax,fog,transmission.Lighting & shadows
Light::with_layers/Light.layersand per-objectObject3d::set_light_layers, to confine a light to a subset of objects.set_casts_shadows(false).Window::set_shadow_softness.Window::set_ambient_color) and distance fog (Window::set_fog,light::Fog/FogMode).clustered_lights.Reflections & screen-space effects
Window::add_reflection_probe,capture_reflection_probe,set_reflection_probe_image,set_reflection_capture_layers.Window::set_ssr_enabled/ssr_settings_mut, with per-objectObject3d::set_ssr(SsrMaterial).SceneNode3d::add_reflector,Object3d::set_reflectorandset_reflector_*.Window::set_ssao_enabled/ssao_settings_mut.Window::set_transmission_enabled/transmission_settings_mut.reflections,mirror,mirror_sphere.Camera, exposure & post-processing
camera::Projection,OrbitCamera3d::set_projection/projection.camera::Exposure(from_physical/from_exposure), applied withWindow::set_exposure_value.Window::set_skybox_from_file/set_skybox_from_memory/set_skybox_image/set_skybox_orientation/clear_skybox.Window::hdr_settings_mut(ColorGrading,auto_exposure*fields).Window::set_dof_enabled/dof_settings_mut(DofSettings,DepthOfFieldMode).Window::set_samples(NumSamples).post_processing::Fxaa,Cas) plus a pixel-inspectionLoupe(LoupeCorner).Object3d::set_render_layers,OrbitCamera3d::set_render_layers.Window::set_vsync.camera_modes,skybox,color_grading,depth_of_field,antialiasing.Tooling & internals
window::Inspector+Window::draw_inspector(toggle effects, edit materials/lights/cameras, switch between the rasterizer and path tracer). Example:inspector.Window::render_timings(RenderTimings).rt_switcherfeature: drive both backends throughrender_3dfor side-by-side rasterizer/ray-tracer comparison.