Announcement

Collapse
No announcement yet.

MSSR ★ Modular Snap System Runtime Plugin

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #61
    It's released!

    https://www.unrealengine.com/marketp...system-runtime

    There was some (many) problems with the Marketplace, but finally it seems everything works.

    I found some bugs in the tutorial project right now, some light settings went wrong for some reason.I'll fix that tomorrow.
    Also the improved VR example with correct detach is ready, also will be published tomorrow on itch.

    If you have any questions or anything I will be here tomorrow.
    Modular Japanese HouseScaffold System
    Snap Plugin for EditorSnap Plugin for Games
    TwitterBlogYoutubeitch.io

    Comment


      #62
      Hey scha

      Below screenshot with bugs when I'm trying compile to package from Your MSSR Example Project.
      When debugging (press "play" in editor) everything works ok.

      Any idea what it can be or what I do wrong?

      Click image for larger version

Name:	MSSR_OutputLog.jpg
Views:	41
Size:	573.4 KB
ID:	1632982

      Comment


        #63
        Originally posted by PiotrC View Post
        Hey scha

        Below screenshot with bugs when I'm trying compile to package from Your MSSR Example Project.
        When debugging (press "play" in editor) everything works ok.

        Any idea what it can be or what I do wrong?

        Click image for larger version

Name:	MSSR_OutputLog.jpg
Views:	41
Size:	573.4 KB
ID:	1632982
        It seems I forgot to add those categories, sorry! I will fix that and reupload later.
        For some reason it compiles and passes all marketplace tests.

        Quick fix: just add "Category = Something" in every of those lines, so for example

        UPROPERTY(EditAnywhere, BlueprintReadWrite)

        should become

        UPROPERTY(EditAnywhere, BlueprintReadWrite, Category = Something)

        then it should compile.
        Modular Japanese HouseScaffold System
        Snap Plugin for EditorSnap Plugin for Games
        TwitterBlogYoutubeitch.io

        Comment


          #64

          Thanks for advices. Now, bugs from MSSRBPLibrary.h was gone.

          Anyway, still can't compile MSSR Example Project (see picture below).

          Tried compile as shipping, as development (build configuration).
          Tried compile MSSR Simple Level, tried compile MSSR_ContentExamples and situations is still the same.

          How I can solve this ?

          Click image for larger version

Name:	MSSR_OutputLog_2.jpg
Views:	39
Size:	497.9 KB
ID:	1633012

          Comment


            #65
            VS too old for UE4.22?

            I see "error C2338: Visual Studio 2017 versions 15.7 and 15.8 are known to have code generation bugs that affect UE4. Please update to version 15.9."
            Modular Japanese HouseScaffold System
            Snap Plugin for EditorSnap Plugin for Games
            TwitterBlogYoutubeitch.io

            Comment


              #66
              Updated MSSRVR_Project.zip and MSSRExample_Project.zip files on itchio. Content example level had some lighting bugs, plus there is a new demo map to show the complex detach algorithm.

              There is also a new VR demo: MSSRVRv2. It's still the default VR template with snapping, plus the new detach algorithm. The MSSRVR_Project.zip contains both of the maps.

              If you have a VR please check it out and tell me if it works, I can only test with kb+m which makes things difficult.

              https://inugames.itch.io/mssr-demos

              The new detach basically works like that: when you have many cubes weld together and you detach one of them, it will break the connections between this cube and the others but still preserve other connections. There is 2 cases. If your structure is lying on the ground it will detach one cube an let the rest fall down, but not break other connections. If you hold your structure in one hand and detach with the other it will try to split it in 2 parts, making sure nothing falls on the ground. That's how it supposed to work.

              If someone with VR can make some videos that would be great, just post them here. In general, if you make something with the plugin please don't hesitate to post! I really want to see it
              Last edited by scha; 06-19-2019, 10:16 AM.
              Modular Japanese HouseScaffold System
              Snap Plugin for EditorSnap Plugin for Games
              TwitterBlogYoutubeitch.io

              Comment


                #67
                Originally posted by scha View Post
                VS too old for UE4.22?

                I see "error C2338: Visual Studio 2017 versions 15.7 and 15.8 are known to have code generation bugs that affect UE4. Please update to version 15.9."
                scha oh yes! I completely forgot update Visual Studio from 2017 to 2019 version.

                Yesterday, when I saw the MSSR Plugin in the marketplace, quickly installed 4.22 and did not even think about Visual Studio 2019

                Of course, You were right. With the new Visual Studio, everything compiles perfectly.

                Thank U

                Comment


                  #68
                  Originally posted by PiotrC View Post

                  scha oh yes! I completely forgot update Visual Studio from 2017 to 2019 version.

                  Yesterday, when I saw the MSSR Plugin in the marketplace, quickly installed 4.22 and did not even think about Visual Studio 2019

                  Of course, You were right. With the new Visual Studio, everything compiles perfectly.

                  Thank U
                  Great!
                  I already submitted the update for the "category" bug, it will be v1.0.1! I also couldn't compile the VR example myself. I don't understand how it pass the Marketplace quality control.

                  If you do something cool post it here pls
                  Modular Japanese HouseScaffold System
                  Snap Plugin for EditorSnap Plugin for Games
                  TwitterBlogYoutubeitch.io

                  Comment


                    #69
                    Okay, v1.0.1 is online, the bug PiotrC encountered should be gone.
                    Modular Japanese HouseScaffold System
                    Snap Plugin for EditorSnap Plugin for Games
                    TwitterBlogYoutubeitch.io

                    Comment


                      #70
                      Uploaded playable multiplayer demo MSSRNet to itchio, download here: https://inugames.itch.io/mssr-demos

                      Run Server.bat then Client.bat, edit Client.bat to change server's IP, F11 to toggle fullscreen.
                      Pawn and map are included in MSSRExample_Project.zip.
                      Modular Japanese HouseScaffold System
                      Snap Plugin for EditorSnap Plugin for Games
                      TwitterBlogYoutubeitch.io

                      Comment


                        #71
                        Great news, thanks, I was already waiting to add it to my building system

                        Comment


                          #72
                          Super short "tutorial": how to make a builder pawn in 45s

                          Modular Japanese HouseScaffold System
                          Snap Plugin for EditorSnap Plugin for Games
                          TwitterBlogYoutubeitch.io

                          Comment


                            #73
                            The plugin is finally published, so I can do new stuff

                            WIP: playing with multi-threading. New BP node called SnapActorsAsync, which is like SnapActors, but running on a separate thread.

                            Click image for larger version  Name:	Capture.PNG Views:	2 Size:	45.6 KB ID:	1634934

                            It's a latent node, like Delay, which means it can take multiple frames to complete, but it will not take your FPS down (which is especially cool for VR i suppose)

                            Here an example where this node is used to calculate the preview. We try to snap about 100 cubes, which means about 600 traces per search operation.
                            First, the synchronous approach is used, then the asynchronous (multi threaded) one.
                            Observe the graph in the lower left corner of the screen, the red line represents the game thread time per frame.

                            Video:


                            Play in fullscreen to see the graph better
                            Last edited by scha; 06-24-2019, 12:44 PM.
                            Modular Japanese HouseScaffold System
                            Snap Plugin for EditorSnap Plugin for Games
                            TwitterBlogYoutubeitch.io

                            Comment


                              #74
                              I forgot to add something to "VR version 2" example project zip files on itchio, so it didn't work. I uploaded the fixed version now, MSSRVRv2.zip and MSSRVR_Project.zip

                              If somebody could test it, that would be very awesome.

                              (https://inugames.itch.io/mssr-demos)
                              Last edited by scha; 06-27-2019, 07:17 AM.
                              Modular Japanese HouseScaffold System
                              Snap Plugin for EditorSnap Plugin for Games
                              TwitterBlogYoutubeitch.io

                              Comment


                                #75
                                Version 1.1.0 submitted, including the new experimental multi-threaded snap operation (async snap) and the options in the preview actor that enables it.
                                Also includes a new preview material that hides the inside faces.

                                I will update the example project when it's released. Here is the video from the new demo level:



                                In the video, 130 colored cubes, 6 sockets each, are attached together. To calculate the preview 780 traces (and other calculations) are needed.
                                You can enable stats (fps, unit graph etc.) and move the structure over the metal cubes in the back to see the preview.

                                You press X to toggle between Async(runs on separate thread) and Normal (runs on the game thread) preview and observe the difference it makes on the FPS. You can check the red graph which corresponds to the game thread time and the fps number on the right too.

                                The example might seem pretty extreme at first sight, but if you need to move and snap compound objects, like whole houses, and you need the FPS too, like in VR, that can be very useful.

                                At the end the new material is shown too. The material, in my experience, don't affect the performance too much in either way, It's just may be more convenient to see the preview this way.
                                Last edited by scha; 06-28-2019, 10:48 AM.
                                Modular Japanese HouseScaffold System
                                Snap Plugin for EditorSnap Plugin for Games
                                TwitterBlogYoutubeitch.io

                                Comment

                                Working...
                                X