FIRE in BFG - PowerPoint PPT Presentation

1 / 16
About This Presentation
Title:

FIRE in BFG

Description:

FIRE in BFG. Group Seven. Sung-Soo Kim. Fire in the real world. Material or Fuel ... Possible ways. First of all, we need to make interactive object for fire. ... – PowerPoint PPT presentation

Number of Views:128
Avg rating:3.0/5.0
Slides: 17
Provided by: Doub
Category:
Tags: bfg | fire | kim | possible

less

Transcript and Presenter's Notes

Title: FIRE in BFG


1
FIRE in BFG
  • Group Seven
  • Sung-Soo Kim

2
Fire in the real world
  • Material or Fuel
  • Air
  • Spark

3
Fire in BFG
  • Some the static shapes.
  • Compare with other game
  • Code for Fire
  • Code in Parameter

4
Problems
  • According to the previous code, we can not put
    more than two fires in same time.
  • Thus, we decide the using the information, which
    is the in the chart.
  • We will put fire on the some objects.

5
MATRIAL
  • These shows that the list of static shapes.
  • These are visual objects but untouchable.
  • Other words, Collision detection
  • does not work.

6
Problems
7
Possible ways
  • First of all, we need to make interactive object
    for fire.
  • We decided that the fire code in the object
    itself.
  • But still we do not know how can we know that
    position of the fire on the objects

8
More problems
9
Compare to other game
10
Particle Emitter Data Blocks
  • ParticleEmitterNodeData (PEND)
  • -Think of this as the base for the emitter. It
    controls one aspect of the particle emitter- time
  • ParticleEmitterData(PED)
  • - How many particles are emitted, how fast,
    and in what position /direction

11
Particle Emitter Data Blocks(2)
  • ParticleData (PD)
  • -This describes individual particles. It
    controls coloration, fade, spin, drag, velocity,
    acceleration, and whether gravity, particle life
    ,and a few other things affect a particle.

12
PD Datablock Parameters
13
PD Datablock Parameters (2)

14
Lets see the code
15
fire code
  • datablock ParticleData(ChimneySmoke)
  • textureName "/data/shapes/particles
    /fire"
  • dragCoefficient 0.0
  • gravityCoefficient -0.2 // rises slowly
  • inheritedVelFactor 0.00
  • lifetimeMS 3000
  • lifetimeVarianceMS 250
  • useInvAlpha false
  • spinRandomMin -30.0
  • spinRandomMax 30.0
  • colors0 "0.6 0.6 0.6 0.1"
  • colors1 "0.6 0.6 0.6 0.1"
  • colors2 "0.6 0.6 0.6 0.0"
  • sizes0 0.5
  • sizes1 0.75
  • sizes2 1.5

16
Summary
  • Static objects
  • Compare with another games
  • Code for fire and smoke
Write a Comment
User Comments (0)
About PowerShow.com