Change color and pattern for 3D object

Ask a Question related to Macromedia Director 3D, Design and Development.

  1. #1

    Default Change color and pattern for 3D object

    I'm quite new with Director and Lingo and now I have a problem working with 3D
    object. My question is, Is it possible to change color and pattern for a 3D
    object with lingo script? If it possible, how it works?
    For example: I have a sphere, I want the sphere to change color to red. And
    the sphere also have a dotted pattern.
    Can anybody help?

    woffie Guest

  2. Similar Questions and Discussions

    1. Invalid color: colored pattern specified withuncolored pattern colorspace.
      Hi. Just installed Mac OS X 10.4 Tiger and note the following message flooding the system.log when using Acrobat Pro version 7.0.1. Apr 30...
    2. changing color on a pattern or hatch
      In Illustrator CS how do I change the color on a pattern or a hatch that are found in: Adobe\Adobe Illustrator CS\Presets\Patterns\Basic...
    3. Pattern Brush spot color issue
      I'm having an issue with the pattern brushes. When changing their color to a spot color they print out as process in my QuarkXpress document. I...
    4. behaviour change of String#gsub(pattern) {|m| ... } for ruby 1.9/ruby2?
      String#gsub(pattern) {|m| ... } It really would be nice to get match data in 'm', but this would surely break _a lot_ of scripts. How about...
    5. Change repeater name pattern
      When I bind a server control to a repeater it renders one copy of this control for each item in the datasource collection. By doing this it changes...
  3. #2

    Default Re: Change color and pattern for 3D object

    You can change the color only by setting the .ambient property of the shader of
    your sphere model. To give it both color and spots, you need to set the
    texture of the shader.

    You can find a move that demonstrates this at:

    [url]http://nonlinear.openspark.com/alpha/Surface.dcr[/url]

    Source code at:

    Mac: [url]http://nonlinear.openspark.com/alpha/Surface.sit[/url]
    Win: [url]http://nonlinear.openspark.com/alpha/Surface.zip[/url]

    Textures and shaders have a large number of properties. To achieve certain
    effects, you need to combine the settings for different properties. To got to
    grips with all this, download the file at...

    Mac: [url]http://nonlinear.openspark.com/alpha/Shaders.sit[/url]
    Win: [url]http://nonlinear.openspark.com/alpha/Shaders.zip[/url]

    ... and place the three Director files it contains in your Xtras folder. You
    will then be able to open the Shaders movie from your Xtras menu, and
    experiment with all the different settings.


    openspark Guest

Posting Permissions

  • You may not post new threads
  • You may 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