|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
A couple of questions:
1) Is there a way to scale the whole effect? I need it to be larger.
2) Is there a way to make it cast shadows?
Thank you!
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
SharkD wrote:
> A couple of questions:
>
> 1) Is there a way to scale the whole effect? I need it to be larger.
You can scale up the individual particles. I'm pretty sure all the example
particle_element macros that comes with the system have a size setting, for
example smoke_startsize and smoke_endsize for the smoke.inc particle_element
macro.
You can also "scale up" the simulation by making all velocities that are
used bigger, possibly including gravity, depending on what you want.
#macro particle_emitvect (Clock) your_vector*your_scaling_factor #end
#macro particle_gravity (Clock,Point)
your_gravity_vector*your_scaling_factor #end
> 2) Is there a way to make it cast shadows?
Which particle_element macro are you talking about?
Rune
--
http://runevision.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
"Rune" <new### [at] runevisioncom> wrote:
> Which particle_element macro are you talking about?
My scene is based off of the "blowup.pov" example scene.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
SharkD wrote:
> "Rune" <new### [at] runevisioncom> wrote:
>> Which particle_element macro are you talking about?
>
> My scene is based off of the "blowup.pov" example scene.
In that case the particles already cast shadows, as can be seen in the
animation made from blowup.pov:
http://runevision.com/3d/include/particles/#204
However, this particle element type uses a trick for rendering as well as
for casting shadows which mean that only one light source may cast shadows.
You must also define the location of that light source, otherwise the
particles will not cast shadows.
From expl.inc:
Required setting:
camera_location The location of the camera
Settings (all optional, see the default values which are declared below):
light_source_location The location of the one light_source that may cast a
shadow
exp_size The size of the fire/smoke elements
exp_opacity How solid the fire/smoke element is
exp_emission How much the fire element glows
exp_smokeshade The shade of the smoke - 0.0 is black, 1.0 is more like
white
exp_smokeglow How much the smoke is glowing due to the illumination from
the fire
exp_smokestart At which point in the particle's life there will appear
smoke
exp_fireend At which point in the particle's life the fire will disappear
(must be >= exp_smokestart)
exp_ambient The ambient lighting of the smoke
exp_test Set it to true to have the fire and smoke replaced by spheres
with grid lines.
Note: Due to the trickery of the rendering method used,
you can only use one light_source that casts a shadow.
The other light_sources, if any, must be shadowless.
Rune
--
http://runevision.com
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
OK, I think the shadows work now. Thanks!
Also, I was able to scale the effect by placing the macro calls within a
union statement and then transforming it.
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |