Particle FX preview
-
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