Professional Web Applications Themes

Help with Blinking Lights - Macromedia Director 3D

I've tried creating a light in lightwave and altering its intensity at different points but this doesnt work. Just how do you make flashing lights in Director? Thanks for any help......

  1. #1

    Default Help with Blinking Lights

    I've tried creating a light in lightwave and altering its intensity at different points but this doesnt work. Just how do you

    make flashing lights in Director?

    Thanks for any help...
    mbrown174 Guest

  2. #2

    Default Re: Help with Blinking Lights

    you could animate a model between 0 and 100 units on one axis. this animation
    can be exported in shockwave3D, then write a script that reads out the value of
    this object and use it to control the light.

    gegards!

    hondo3000 Guest

  3. #3

    Default Re: Help with Blinking Lights

    Is there no way I could create a flasing light with lightwave?

    Im trying to avoid as much code as possible and I heard it was possible to
    simulate light using a null object.

    Can you think of any other methods?

    mbrown174 Guest

  4. #4

    Default Re: Help with Blinking Lights

    Hi, is this of any help un(comment ) for use with either models or lights, set
    for lights at moment:

    ( set as behavior)

    property scene, s, pLoc

    on beginSprite me
    -- define your w3d
    scene = member("scene")
    -- create model for testing system
    r = scene.newModelResource("sphere_1", #sphere)
    m = scene.newModel("sphere_m", r)
    -- create shader for the model
    s = scene.newShader("sphere_s", #standard)
    -- set your models shader to the created 1
    m.shader = s
    -- remove default texture
    s.texture = void
    -- remove any shine / optional
    s.shininess = 0
    -- set origional colour
    s.emissive = color( 160, 160, 164 )
    -- store flash state
    pLoc = 1
    -- register an event to call colour change
    scene.registerForEvent(#timeMS, #flashme, me, 500, 500, 0)
    -- if flashing light demo and not model demo
    scene.deletelight(1)
    end

    on flashMe me
    -- update shader emissive and flash state
    case pLoc of
    1:-- s.emissive = color( 153, 102, 0 ) -- to flash model
    scene.light.color = color( 153, 102, 0 )
    pLoc = 2
    2:-- s.emissive = color( 160, 160, 164 ) -- to flash model
    scene.light.color = color( 160, 160, 164 )
    pLoc = 1
    end case
    end

    on exitFrame me
    -- frame loop if needed
    go the frame
    end

    on endSprite me
    -- clean out 3D
    scene.resetWorld()
    end




    popgodabubble Guest

  5. #5

    Default XPost - Shockwave 3D Game Level Design competition deadline in 3or so weeks

    Hi folks,

    A competition for artists to design a Shockwave 3D car game level is
    nearing the deadline of the 16th of April.


    If you know any artists who would like to take part, they can complete
    the basic 30 minute tutorial ( on Macromedias website ) here...

    [url]http://www.macromedia.com/devnet/director/articles/3d_in_30_print.html[/url]

    The software can be downloaded for free from here, along with
    instructions etc...

    [url]http://www.candointeractive.com/gamedesign/car/EditCarLevel.ZIP[/url]


    Here are screenshots from some sample levels to give you inspiration!

    [url]http://www.candointeractive.com/gamedesign/car/poster.jpg[/url]


    If any of the 3D artists that you use for creating Shockwave 3D content
    ( or if your know a bit of 3D yourself, and fancy creating a level ) or
    any other artists you know might be interested in designing a vehicle
    based game level ( think GTA, or whacky races ), feel free to forward
    them this information.

    Many thanks for forwarding on the info...
    Mal
    Mal Guest

Similar Threads

  1. Blinking text
    By msandrea0929 in forum Macromedia Dynamic HTML
    Replies: 3
    Last Post: July 27th, 01:22 AM
  2. blinking text and/or background
    By Andrew McCallum in forum FileMaker
    Replies: 0
    Last Post: August 19th, 04:16 AM
  3. Blinking Sprite
    By Python1104 webforumsuser@macromedia.com in forum Macromedia Director Lingo
    Replies: 0
    Last Post: July 23rd, 12:59 PM
  4. Film Loops and blinking
    By David Downie in forum Macromedia Director Lingo
    Replies: 1
    Last Post: July 18th, 05:43 AM
  5. Blinking Monitor
    By Michael Mauzey in forum Windows XP/2000/ME
    Replies: 5
    Last Post: July 12th, 05:41 AM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139