sketchucation logo sketchucation
    • Login
    ℹ️ Licensed Extensions | FredoBatch, ElevationProfile, FredoSketch, LayOps, MatSim and Pic2Shape will require license from Sept 1st More Info

    Particle FX preview

    Scheduled Pinned Locked Moved SketchyPhysics
    46 Posts 12 Posters 3.8k Views 12 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • J Offline
      JaViXP
      last edited by

      @cphillips said:

      Open up the ruby console and see if it is printing any errors.

      It says something of 'warning'. I have just made a video of it.
      Also, I get this (first time):

      Inspecting model for errors
      #<MSketchyPhysics3;;SP3xBodyContext;0xae9b8c0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae9b8c0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae80dd0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae9b8c0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae80dd0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae6d138>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae9b8c0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae80dd0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae6d138>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae593c8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae9b8c0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae80dd0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae6d138>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae593c8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae45b08>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae9b8c0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae80dd0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae6d138>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae593c8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae45b08>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae32230>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae24328>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae24328>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae1af38>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae24328>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae1af38>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae0dfc0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae24328>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae1af38>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae0dfc0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae04ba0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae24328>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae1af38>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae0dfc0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae04ba0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadf7bf8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae24328>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae1af38>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae0dfc0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae04ba0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadf7bf8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadee7a8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae24328>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae1af38>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae0dfc0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae04ba0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadf7bf8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadee7a8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xade5340>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae9b8c0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae80dd0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae6d138>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae593c8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae45b08>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae32230>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadce3d8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae9b8c0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae80dd0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae6d138>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae593c8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae45b08>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae32230>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadce3d8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadbab60>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae9b8c0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae80dd0>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae6d138>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae593c8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae45b08>
      #<MSketchyPhysics3;;SP3xBodyContext;0xae32230>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadce3d8>
      #<MSketchyPhysics3;;SP3xBodyContext;0xadbab60>
      #<MSketchyPhysics3;;SP3xBodyContext;0xada72d0>
      initializing joint controllers
      ["Time", 1.815, "Frames", 20, "Fps", 11.0192837465565]
      

      Note: Not exploding barrels


      Video

      "Giving up is way harder than trying"
      JaViXP's Rendering

      1 Reply Last reply Reply Quote 0
      • P Offline
        phy
        last edited by

        Nothing unusual there, I'm getting the same stuff.

        Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

        1 Reply Last reply Reply Quote 0
        • J Offline
          JaViXP
          last edited by

          What about this? 😕

          (eval);6; warning; already initialized constant ParticleStruct
          

          "Giving up is way harder than trying"
          JaViXP's Rendering

          1 Reply Last reply Reply Quote 0
          • P Offline
            phy
            last edited by

            @javixp said:

            What about this? 😕

            (eval);6; warning; already initialized constant ParticleStruct
            

            I get that too. I don't know what could be wrong. 😕

            Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

            1 Reply Last reply Reply Quote 0
            • W Offline
              Wacov
              last edited by

              ParticleStruct is the way I could attach variables to the particles. I guess it's not being removed between simulations, so when it's re-initialized in onstart, the sim throws up an error; it shouldn't affect the model.

              http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

              1 Reply Last reply Reply Quote 0
              • A Offline
                Aerilius
                last edited by

                I could imagine that it will have great realism, when you apply a radial png texture to the round faces.
                Just like this one:
                radial_transition.png

                1 Reply Last reply Reply Quote 0
                • W Offline
                  Wacov
                  last edited by

                  SU has problems display textured transparency, and it'd be hard to position the texture. Plus, they're actually simple spheres 😄

                  http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                  1 Reply Last reply Reply Quote 0
                  • A Offline
                    Aerilius
                    last edited by

                    Ok, I thought it would be "face camera" circle components. But maybe it would be worth a try to replace the spheres by other geometry. The plugin has really great possibilities!

                    1 Reply Last reply Reply Quote 0
                    • P Offline
                      Physicsguy1
                      last edited by

                      Wacov, I'm not sure you have already devised this but I want to make sure. Can you code it to have the effects originate at a determined Point3D? Or code it so you can do something like this: SetEffect('smoke',[0,0,0])?

                      1 Reply Last reply Reply Quote 0
                      • W Offline
                        Wacov
                        last edited by

                        The code in the demo lets you choose where you place it, among other things. Once I get the final thing done, it'll be:

                        createParticle([0,100,100])

                        Giving only a position will create a construction point. Giving a position and radius will create the default black smoke, and you'll also be able to copy a custom group, or (maybe) choose between a few presets. You'll have the option to make your own update code for the particles, which will be executed along with the normal code.

                        http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                        1 Reply Last reply Reply Quote 0
                        • P Offline
                          Physicsguy1
                          last edited by

                          could you possible have a direction for smoke and such? Like this createParticle([0,0,0],[10,10,10])

                          1 Reply Last reply Reply Quote 0
                          • W Offline
                            Wacov
                            last edited by

                            If you mean give it a velocity, sure, that's shown in the demo. Once I get the custom update working, you'll be able to make them do pretty much whatever you want 😍

                            http://sketchup.google.com/3dwarehouse/cldetails?mid=3096a836877fb9af6cd8ad826e9017b8&prevstart=0

                            1 Reply Last reply Reply Quote 0
                            • J Offline
                              JaViXP
                              last edited by

                              @wacov said:

                              If you mean give it a velocity, sure

                              Can you increase my FPS then? 😄

                              It sounds pretty cool. Can you upload another .skp model to see if it runs faster?

                              "Giving up is way harder than trying"
                              JaViXP's Rendering

                              1 Reply Last reply Reply Quote 0
                              • C Offline
                                CPhillips
                                last edited by

                                @javixp said:

                                @wacov said:

                                If you mean give it a velocity, sure

                                Can you increase my FPS then? 😄

                                It sounds pretty cool. Can you upload another .skp model to see if it runs faster?

                                You might want to check your video settings and make sure that you have Hardware acceleration turned on. Also maybe update your video drivers.

                                1 Reply Last reply Reply Quote 0
                                • P Offline
                                  Physicsguy1
                                  last edited by

                                  Now I have my FPS; 33.

                                  1 Reply Last reply Reply Quote 0
                                  • H Offline
                                    hobbnob
                                    last edited by

                                    forgive me for appearing stupid, but was it a mistake rollling back to rc1? i did this so tat i can upload to 3dwh, but there seems to be a lot going on here that i can't access because of my wish to remain on wh? i have tried running this demo in rc1 but i get an error message.

                                    My WIP Thread:Here

                                    1 Reply Last reply Reply Quote 0
                                    • P Offline
                                      phy
                                      last edited by

                                      If you have a enough space on your computer, you can copy and paste the Google sketchup folder and install sp3X28 in the one sketchup plugins folder and the original sp3x in the other. be warned though thumbnails might not work correctly.

                                      Tableau de comparaison de Staxyn s'agit d'un mГ©dicament uniquement sur ordonnance.

                                      1 Reply Last reply Reply Quote 0
                                      • J Offline
                                        JaViXP
                                        last edited by

                                        OH YEAH ! ! I got it running at 50 FPS

                                        "Giving up is way harder than trying"
                                        JaViXP's Rendering

                                        1 Reply Last reply Reply Quote 0
                                        • N Offline
                                          NorviewsVeteran
                                          last edited by

                                          I'm getting 30-35 fps. 👍

                                          ```
                                          //This_Is_All(I)+=Know()About.Code;
                                          ```

                                          1 Reply Last reply Reply Quote 0
                                          • 1
                                          • 2
                                          • 3
                                          • 2 / 3
                                          • First post
                                            Last post
                                          Buy SketchPlus
                                          Buy SUbD
                                          Buy WrapR
                                          Buy eBook
                                          Buy Modelur
                                          Buy Vertex Tools
                                          Buy SketchCuisine
                                          Buy FormFonts

                                          Advertisement