Repository navigation
Release 3.3.0 - #474
Merged
Merged
Release 3.3.0#474
Conversation
viroSetCameraFieldOfView(node, degrees) sets the camera's field of view across the viewport's longer side, as ViroCamera's fieldOfView does on native; 0 returns to the renderer's default.
The web input presenter made a fixed-pointer VR reticle, which drew a dot at the centre of every scene (a ring over a clickable node). The web points with a mouse or a finger, so it now has none; the shared presenter already handles a missing reticle.
viroSetMaterialTexture takes channel 6 (emission) and 7 (reflective, a cube texture), and viroSetMaterialEmissionColor sets the colour. A texture whose type does not fit its channel is refused, since VROMaterialVisual::setTexture would abort the module. A material merged onto a model carries the three too, as on iOS.
…once Material's setters are queued for the rendering thread, and ViroReact copies its materials onto nodes before that queue runs, so a channel set through them never reached the copies. setImmutableColor and setImmutableTexture set a named channel on the calling thread, as the immutable constructor does.
Web: AR point cloud on the frame, and displayPointCloud
Web: camera field of view, no reticle, and emission and reflective material channels
…al-emission # Conflicts: # CHANGELOG.md
Android: set a bridge material's emission and reflective channels at once
Dependabot: no major Gradle wrapper bumps on their own
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.
Summary
Release 3.3.0: Android materials take emission and reflective channels through the bridge, and the web build gains the AR point cloud, camera field of view, emission and reflective materials, and drops the reticle. iOS behaves as in 3.2.3.
What's in it
Material.setImmutableColor/setImmutableTexture(ViroReact only), soemissionColor,emissionTextureandreflectiveTexturereach the materials the bridge copies onto nodes (Android: set a bridge material's emission and reflective channels at once #471).wasm/):viroARSetPointCloudandviroARDisplayPointCloudwith a default point texture (Web: AR point cloud on the frame, and displayPointCloud #472);viroSetCameraFieldOfView,viroSetMaterialEmissionColorand texture channels 6 and 7, no reticle (Web: camera field of view, no reticle, and emission and reflective material channels #470).Notes
@reactvision/viro-web-renderer1.4.0 and the native build in@reactvision/react-viro3.3.0.Testing