#59 Z depth level supporting composite

Затворени
отворен преди 7 години от caryoscelus · 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 коментира преди 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 коментира преди 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 години
Впишете се за да се присъедините към разговора.
Зареждане...
Отказ
Запис
Все още няма съдържание.