Add examples for Ray Portal BSDF #104813

Merged
Brecht Van Lommel merged 4 commits from Alaska/blender-manual:ray-portal-example into blender-v4.2-release 2024-06-06 14:48:20 +02:00
3 changed files with 29 additions and 28 deletions
Showing only changes of commit d80b9a1218 - Show all commits

Binary file not shown.

View File

@ -58,41 +58,42 @@ One use case for the *Ray Portal BSDF* is to connect two spaces together to
create effects like a portal to an alternative dimension, or "impossible spaces" create effects like a portal to an alternative dimension, or "impossible spaces"
where something is bigger or smaller on the inside than expected. where something is bigger or smaller on the inside than expected.
.. figure:: /images/render_shader-nodes_ray-portal-bsdf_gateway-example.jpg
:width: 760px
To set up a *Ray Portal BSDF* for a technique like this, augment the To set up a *Ray Portal BSDF* for a technique like this, augment the
*Position* and *Incoming* outputs of the *Position* and *Incoming* outputs of the
:doc:`Geometry node </render/shader_nodes/input/geometry>` to set the exit point :doc:`Geometry node </render/shader_nodes/input/geometry>` to set the exit point
and direction of the ray through the portal. Here is an example node setup: and direction of the ray through the portal. Here are some examples:
Alaska marked this conversation as resolved Outdated

setup -> set up

you should argument -> augment

setup -> set up you should argument -> augment
.. list-table:: Simple Offset
-------------
* - .. figure:: /images/render_shader-nodes_ray-portal-bsdf_simple-ray-offset-nodes.jpg .. figure:: /images/render_shader-nodes_ray-portal-bsdf_simple-ray-offset-nodes.jpg
:width: 320px
This simple node setup offsets the ray position.
In this example, the ray is offset 0 units along the X axis,
4 units along the Y axis, and 5 units along the Z axis.
- .. figure:: /images/render_shader-nodes_ray-portal-bsdf_ray-augmentation-nodes.jpg This simple node setup offsets the ray position.
:width: 320px In this example, the ray is offset 0 units along the X axis,
4 units along the Y axis, and 5 units along the Z axis.
Alaska marked this conversation as resolved Outdated

is used for offsetting -> offsets

is used for offsetting -> offsets
Alaska marked this conversation as resolved

the ray 0 units -> the ray is offset 0 units

the ray 0 units -> the ray is offset 0 units
In this example, the *Location of Portal Target* and *Rotation of Portal Target* Portal
vectors are obtained from a target portal object using ------
:doc:`Drivers </animation/drivers/introduction>`.
.. figure:: /images/render_shader-nodes_ray-portal-bsdf_gateway-example.jpg
.. figure:: /images/render_shader-nodes_ray-portal-bsdf_ray-augmentation-nodes.jpg
In this example, the *Location of Portal Target* and *Rotation of Portal Target*
Alaska marked this conversation as resolved Outdated

Drivers</ -> Drivers </

`Drivers</` -> `Drivers </`
vectors are obtained from a target portal object using
:doc:`Drivers </animation/drivers/introduction>`.
Alaska marked this conversation as resolved Outdated

allowing the creation of -> for

allowing the creation of -> for
Camera Feed
-----------
Along with augmenting rays, the ray position and ray direction can be replaced, Along with augmenting rays, the ray position and ray direction can be replaced,
For effects like a camera feed on a screen. for effects like a camera feed on a screen.
.. list-table:: .. figure:: /images/render_shader-nodes_ray-portal-bsdf_portal-to-screen-example.jpg
Alaska marked this conversation as resolved Outdated

Using -> Using the

Using -> Using the
* - .. figure:: /images/render_shader-nodes_ray-portal-bsdf_portal-to-screen-example.jpg Using the Ray Portal BSDF to replicate the effect of a camera feed on a screen.
:width: 320px
Using the Ray Portal BSDF to replicate the effect of a camera feed on a screen. .. figure:: /images/render_shader-nodes_ray-portal-bsdf_portal-to-screen-nodes.jpg
- .. figure:: /images/render_shader-nodes_ray-portal-bsdf_portal-to-screen-nodes.jpg Node setup for replicating a camera feed like effect on a screen.
:width: 320px
Node setup for replicating a camera feed like effect on a screen.