Voxel cone tracing doesn't work on 4.4.0-beta 5

オープン
#3,374 コメント 8 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
活発
技術スタック
csharp

調査の方向性

添付された MyGame2 プロジェクトで、Voxel Cone Tracing Forward レンダラーと Voxel lighting を使用して失敗を再現します。sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs の 1286 行目にある Stride.Shaders.Parsing.SDSL.AST.AccessorChainExpression.CompileHelper から開始し、その後、報告されているシンボル処理の呼び出しを追跡します。4.4.0-beta 5 で NotImplementedException なしにシーンがレンダリングされれば完了です。

索引モデルが issue の本文から書いたものです。

説明

area-Graphics area-Shaders bug regression

Release Type: Beta

Version: 4.4.0-beta 5 (works on 4.3.0.2507 and previous versions)

Platform(s): Windows 11 25H2 26200.9168

Describe the bug
The scene does't render, instead it pops up the following error message:

Error: One or more errors occurred. (One or more errors occurred. (Error: The method or operation is not implemented.. System.NotImplementedException: The method or operation is not implemented.
   at Stride.Shaders.Parsing.SDSL.AST.AccessorChainExpression.CompileHelper(SymbolTable table, CompilerUnit compiler) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs:line 1286
   at Stride.Shaders.Parsing.SDSL.AST.AccessorChainExpression.ProcessSymbol(SymbolTable table, SymbolType expectedType) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs:line 780
   at Stride.Shaders.Parsing.SDSL.AST.AssignExpression.ProcessSymbol(SymbolTable table, SymbolType expectedType) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Expression.cs:line 90
   at Stride.Shaders.Parsing.SDSL.AST.ExpressionStatement.ProcessSymbol(SymbolTable table) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Statements.cs:line 36
   at Stride.Shaders.Parsing.SDSL.AST.BlockStatement.ProcessSymbol(SymbolTable table) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Statements.cs:line 225
   at Stride.Shaders.Parsing.SDSL.AST.ShaderMethod.ProcessSymbolBody(SymbolTable table, SpirvContext context) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/ShaderElements.MethodOrMember.cs:line 506
   at Stride.Shaders.Parsing.SDSL.AST.ShaderClass.Compile(SymbolTable table, CompilerUnit compiler) in /_/sources/shaders/Stride.Shaders.Parsers/Parsing/SDSL/AST/Shader.cs:line 616
   at Stride.Shaders.Compilers.SDSL.SDSLC.Compile(String filename, String code, ObjectId hash, ReadOnlySpan`1 macros, ILogger log, ShaderBuffers& lastBuffer, CompileOptions options) in /_/sources/shaders/Stride.Shaders.Compilers/SDSL/SDSLC.cs:line 73))

To Reproduce
Steps to reproduce the behavior:
1.

Create a new project with Voxel Cone Tracing Forward renderer (Ensure to have the right deps: Stride.Voxels) and add a Voxel lightning.

Expected behavior & screenshoot

this result as we can see in the screenshoot, showing the ray bouncing into the sphere simulating a mirror effect.
Image

instead, we got this in 4.4.0-beta 5:

MyGame2.zip

Image

Log and callstacks
If any, please attach here any log or callstack (preferably in a .txt file using GitHub drag and drop)

Additional context
added project solution.
MyGame2.zip

主要言語
C#
スター
8k
フォーク
1.2k
平均マージ
2日 7時間
マージ済み PR(30日)
316

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

stride3d/stride のほかの issue

stride3d/stride の issue をすべて見る

似ている issue

C# の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。