RiiStudio icon indicating copy to clipboard operation
RiiStudio copied to clipboard

Viewport no longer displays Scenegraph > Pass 0

Open GerasSB opened this issue 2 years ago • 3 comments

As of v5.10.5, Riistudio no longer displays Scenegraph > Pass 0/J3D Data > Flag 1 in its viewport. Materials are always displayed as translucent.

GerasSB avatar Apr 27 '23 22:04 GerasSB

I cannot reproduce. Can you provide a sample file and some instructions?

snailspeed3 avatar Apr 27 '23 23:04 snailspeed3

Here's a demo:

https://user-images.githubusercontent.com/19808950/235012803-084ab830-b37f-4db6-ad34-985f46439b66.mp4

And here's the file in question: donkey_course.zip

Tested with vanilla courses and it doesn't seem to happen with them.

GerasSB avatar Apr 27 '23 23:04 GerasSB

Note that since there are no overlapping translucent planes necessitating draw sorting, it is not essential for these meshes to be part of the special XLU pass, so long as the decal mesh is drawn last. It appears the rendering order of objects varies between RiiStudio and the game. In RiiStudio, 'c_michi' is rendered after 'a_road2' and 'a_tuchimichi', which conveniently avoids any issues. While Super Mario Galaxy explicitly sorts draws in material-alphabetical order, evidently Double Dash does not and appears to just use shape order. If the original files have identical shape and material orders, this could explain why you are unable to reproduce the issue in that context.

snailspeed3 avatar Apr 28 '23 00:04 snailspeed3