Geometry and Rendering
RAMAL-EBX keeps scientific geometry and PHITS source authoritative while treating meshes, previews, and GPU resources as derived views.
Authority
- A Design’s PHITS input owns solver content. Structured authoring and direct source editing operate on that same document.
- Unrecognized PHITS content is preserved for direct inspection and editing even when RAMAL-EBX cannot mesh or edit it structurally.
- CSG meshes are bounded viewport approximations. A missing filled mesh does not remove or invalidate preserved PHITS content.
- Identity-independent PHITS output readers remain available to rendering code without owning an execution or publication workflow.
- Analyze packs a validated Result's uniform rectilinear source grid into a 3D display texture, capped at 2048 texels per axis; partial LOD blocks remain registered to their true source coordinates. Source samples still own exact probes, slices, profiles, and statistics. Transfer color and opacity run in the shader, so editing them does not reupload the field. Analyze uses full cell boundaries with translucent contextual geometry, including enclosed selected structures.
- Shader source is HLSL under
shaders/src; rendering loads compiled assets fromshaders/compiled.
Source map
- Geometry and PHITS translation:
geometry.odin,phits.odin,phits_document.odin,design_phits.odin - Geometry editing:
design_geometry_edit.odin,editor_design_geometry_ui.odin - CSG meshes and caches:
csg_mesh.odin,csg_mesh_cache.odin,preview_mesh_job.odin - Viewport interaction and overlays:
editor_viewport_interaction.odin,editor_viewport_overlays.odin - Rendering and fields:
renderer.odin,renderer_cells.odin,renderer_preview.odin,dose_field.odin