Particle FX preview
-
@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
-
Nothing unusual there, I'm getting the same stuff.
-
What about this?
(eval);6; warning; already initialized constant ParticleStruct
-
@javixp said:
What about this?
(eval);6; warning; already initialized constant ParticleStruct
I get that too. I don't know what could be wrong.
-
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.
-
I could imagine that it will have great realism, when you apply a radial png texture to the round faces.
Just like this one:
-
SU has problems display textured transparency, and it'd be hard to position the texture. Plus, they're actually simple spheres
-
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!
-
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])?
-
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.
-
could you possible have a direction for smoke and such? Like this createParticle([0,0,0],[10,10,10])
-
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
-
@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?
-
@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.
-
Now I have my FPS; 33.
-
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.
-
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.
-
OH YEAH ! ! I got it running at 50 FPS
-
I'm getting 30-35 fps.
Advertisement