Yotsuba Games
Back to Node List

Iso World To Scene

iso_world_to_scene

Compile canonical IsoWorld data into the internal IsoScene render IR

Reviewed
Guide available
The node name and summary are available in English. Port, parameter, and article details are currently shown in Japanese.

Input Ports

NameTypeDescription
ćƒÆćƒ¼ćƒ«ćƒ‰
world
IsoWorld
Required
å¤‰ę›ć™ć‚‹ IsoWorld

Output Ports

NameTypeDescription
ć‚·ćƒ¼ćƒ³
scene
IsoScene
å¤‰ę›å¾Œć®ęē”»ć‚·ćƒ¼ćƒ³

Parameters

NameTypeDefaultRangeDescription / Options
ćƒ•ćƒ¬ćƒ¼ćƒ ćƒ¢ćƒ¼ćƒ‰
frame_mode
Enum
AutoFit—

IsoWorld ć‹ć‚‰ć‚·ćƒ¼ćƒ³ć®ćƒ•ćƒ¬ćƒ¼ćƒ ć‚’ę±ŗć‚ć‚‹ę–¹ę³•

  • č‡Ŗå‹•ćƒ•ć‚£ćƒƒćƒˆAutoFit
    č¦‹ćˆć¦ć„ć‚‹å†…å®¹ć«åˆć‚ć›ć¦ć‚­ćƒ£ćƒ³ćƒć‚¹ćØåŽŸē‚¹ć‚’č‡Ŗå‹•čŖæę•“ć—ć¾ć™
  • å›ŗå®šć‚­ćƒ£ćƒ³ćƒć‚¹KeepCanvas
    ć“ć“ć§ęŒ‡å®šć—ćŸć‚­ćƒ£ćƒ³ćƒć‚¹ćØåŽŸē‚¹ć‚’ćć®ć¾ć¾ä½æć„ć¾ć™
ć‚­ćƒ£ćƒ³ćƒć‚¹å¹…
width
Int
641–4096

ć‚³ćƒ³ćƒ‘ć‚¤ćƒ«å¾Œć®ć‚­ćƒ£ćƒ³ćƒć‚¹å¹…

ć‚­ćƒ£ćƒ³ćƒć‚¹é«˜ć•
height
Int
641–4096

ć‚³ćƒ³ćƒ‘ć‚¤ćƒ«å¾Œć®ć‚­ćƒ£ćƒ³ćƒć‚¹é«˜ć•

åŽŸē‚¹X
origin_x
Float
32-4096–4096 / step 0.5

ć‚³ćƒ³ćƒ‘ć‚¤ćƒ«ę™‚ć«ä½æć†ć‚¹ć‚ÆćƒŖćƒ¼ćƒ³ē©ŗé–“ć®åŽŸē‚¹X

åŽŸē‚¹Y
origin_y
Float
0-4096–4096 / step 0.5

ć‚³ćƒ³ćƒ‘ć‚¤ćƒ«ę™‚ć«ä½æć†ć‚¹ć‚ÆćƒŖćƒ¼ćƒ³ē©ŗé–“ć®åŽŸē‚¹Y

Xć‚¹ćƒ†ćƒƒćƒ—
tile_step_x
Float
10.25–16 / step 0.25

ć‚¢ć‚¤ć‚½ćƒ”Xę–¹å‘ć®ęØŖć‚¹ćƒ†ćƒƒćƒ—å€ēŽ‡

Yć‚¹ćƒ†ćƒƒćƒ—
tile_step_y
Float
0.50.25–16 / step 0.25

åŗŠč»øć®ēø¦ć‚¹ćƒ†ćƒƒćƒ—å€ēŽ‡

Zć‚¹ćƒ†ćƒƒćƒ—
z_step
Float
10.25–16 / step 0.25

é«˜ć•č»øć®ć‚¹ćƒ†ćƒƒćƒ—å€ēŽ‡

余白
padding
Int
20–128

č‡Ŗå‹•ćƒ•ć‚£ćƒƒćƒˆę™‚ć«ä½æć†ćƒ”ć‚Æć‚»ćƒ«ä½™ē™½

Overview

Converts an IsoWorld with semantic placement into the pre-render internal IsoScene, serving as the isometric equivalent of a camera. Tile pixel dimensions (tile_step), vertical step, and canvas size are all determined here.

Usage tips

  • The IsoWorld lane always ends here: ... → iso_world_compose → iso_world_to_scene → iso_scene_render / iso_scene_to_surface_geometry.
  • Tile dimensions (tile_step_x/y, z_step) are managed together here, not per block. For 2:1 isometric projection, step_x is normally the tile width and step_y is half.
  • For a still image, use the default AutoFit plus padding. Fix the frame settings when cropping a fixed-size part of a map or animating it.
  • AutoFit ignores the initial canvas dimensions and origin when deriving the final frame, including free-form paths at negative coordinates or beyond 64 cells. Only KeepCanvas uses the explicit frame.
  • Scenes larger than 4096x4096 are rejected instead of being silently cropped.
  • For lighting, do not render the Scene directly; send it through iso_scene_to_surface_geometry into Surface-family nodes.

Notes

  • In IsoWorld -> IsoScene -> Raster, this node handles the IsoWorld to IsoScene conversion.
  • The current minimal implementation lowers IsoBlock to the equivalent existing IsoExtrusion representation.
  • With the default frame_mode = AutoFit, the canvas and origin adjust automatically to the content.
  • padding controls margins during automatic fitting.
  • Adjust tile_step_x, tile_step_y, and z_step together here; they are not stored on IsoBlock.

Related nodes

  • iso_world_compose — combine worlds before conversion
  • iso_scene_render — rasterize the Scene
  • iso_scene_to_surface_geometry — connect to the Surface lighting path
  • iso_scene_compose — combine at the Scene stage (advanced)
Back to Node List
Iso World To Scene — PixPipeline Node Reference