#59 Z depth level supporting composite

已關閉
caryoscelus7 年之前創建 · 2 條評論

This will have to store a list of renderables like current Composite node. However, z index should be stored somewhere near related nodes. One possible idea would be to have simple ZIndex {Renderable source, Real index} node and store list of them in ZComposite.

This will have to store a list of renderables like current Composite node. However, z index should be stored somewhere near related nodes. One possible idea would be to have simple ZIndex {Renderable source, Real index} node and store list of them in ZComposite.
caryoscelus commented 6 年之前
所有者

And, as extension, pseudo-3D composite:

!Pseudo3D
  scale: true
  camera: (x, y, z)
  content:
    - !Pseudo3DElement
      source: ...
      position: (x, y, z)
    ...

~

!List/Renderable
  - !Transform
    source: ...
    transform: !Scale
      source: !Translate
        ...

Depth-of-field blur can also be applied in similar manner.

And, as extension, pseudo-3D composite: ``` !Pseudo3D scale: true camera: (x, y, z) content: - !Pseudo3DElement source: ... position: (x, y, z) ... ``` ~ ``` !List/Renderable - !Transform source: ... transform: !Scale source: !Translate ... ``` Depth-of-field blur can also be applied in similar manner.
caryoscelus commented 6 年之前
所有者

Z depth implementation via sorting:

!Sort
  source: !List/ZDepthElement
    -
      source: ...
      z_depth: xxx
  sort_node: "ZDepthLess"
Z depth implementation via sorting: ``` !Sort source: !List/ZDepthElement - source: ... z_depth: xxx sort_node: "ZDepthLess" ```
caryoscelus 在代碼提交 6 年之前 中引用了該問題
Sign in to join this conversation.
正在加載...
取消
保存
尚未有任何內容