Browse Search Popular Register Upload Rules User list Login:
Search:
Super Realistic Fire and Smoke

Image:
screenshot of the scene

Author: Gear97

Group: Default

Filesize: 124.78 kB

Date added: 2011-06-30

Rating: 5.1

Downloads: 933

Views: 1112

Comments: 5

Ratings: 3

Times favored: 0

Made with: Algodoo before v1.8.5

Tags:

Scene tag

Just an acidental discovery !
Have a nice day! :tup:
Please log in to rate this scene
edit
Similar scenes
Title: Realistic Fire [2.1.0 b13]
Rating: 7.0769
Filesize: 127.51 kB
Downloads: 2709
Comments: 11
Ratings: 7
Date added: 2014/01/12 06:27:00
Made with: Algodoo v2.1.0
Rating: rated 7.1
download
Title: Smoke example
Rating: 5
Filesize: 401.63 kB
Downloads: 324
Comments: 4
Ratings: 3
Date added: 2008/12/18 21:59:38
Made with: Phun
Rating: rated 5
download
Title: REALISTIC SMOKE
Rating: 5
Filesize: 12.74 kB
Downloads: 955
Comments: 3
Ratings: 1
Date added: 2012/09/30 20:45:50
Made with: Algodoo v2.0.2
Rating: rated 5
download
Title: Flamethrower Prototype 1.4; Algodoo 2.0.0+ Only
Rating: 5
Filesize: 50.78 kB
Downloads: 3281
Comments: 8
Ratings: 1
Date added: 2011/12/29 23:01:43
Made with: Algodoo before v1.8.5
Rating: rated 5
download
Title: Shotgun prototype
Rating: 5
Filesize: 42.1 kB
Downloads: 177
Comments: 0
Ratings: 1
Date added: 2010/05/09 22:44:08
Made with: Phun
Rating: rated 5
download
Title: Animation plz!1!
Rating: 5
Filesize: 1.18 MB
Downloads: 417
Comments: 0
Ratings: 1
Date added: 2014/06/13 10:14:37
Made with: Algodoo v2.1.0
Rating: rated 5
download
Great Work!!
Than you:)
Interesting...

but am I missing something? The circles aren't textured.
@SE- If you're using 1.9.7b, remember that jpeg textures don't appear ;)
Last edited at 2011/07/09 22:44:37 by TC42
No- look at the spawn code. It's a PNG texture.

It might work if you (Gear97) edited the scene and added a circle with the texture so Algodoo would stick the texture into the scene package.

Hmm... I'm trying to reverse-engineer your smoke. First I tried throwing formulas into the original spawn code:
scene.addCircle({
pos := e.pos;
controllerAcc := sim.time;
color := {[0, 0, 0, 1-(sim.time - controllerAcc)]}
})
but the color only changes until the next circle spawns.
In the full code, with lots and lots of other stuff in it, only the very first circle changes its color, regardless of the presence of later circles.

I then took a closer look at your code, and I got this:
(scene.addCircle({
pos := e.pos;
controllerAcc := sim.time
})) -> {color = {[0, 0, 0, 1-(sim.time - controllerAcc)]}}

and it works fine.
However, in the full code, the spawned circle never appears.

*experimentation*

Ah, now I got it to work. Thanks for the code- I never would've gotten it otherwise.

Also, can you tell me exactly what the () -> {} thing does? I've been wondering about that for a few seconds now...

Let me guess- the parentheses contain a definition or identifier of a particular scope (e.g. scene.addCircle({}), scene.my). The brackets contain identifiers and values that will be added to the predefined scope, or changed if they already exist.