Professional Web Applications Themes

Rotating textures - Macromedia Director 3D

Hi, I am quite new to 3D Lingo and have a strange problem with textureTransform.rotate. I expect it's something very simple but I can't figure out what. If I have a model with 2 planes, each using a different shader but with the same texture, and rotate the texture of one shader using textureTransform.rotate, how come the other shader disappears altogether? I only change how shader1 applies the texture, how can that affect shader2? Am I missing something?...

  1. #1

    Default Rotating textures

    Hi,

    I am quite new to 3D Lingo and have a strange problem with
    textureTransform.rotate. I expect it's something very simple but I can't figure
    out what.

    If I have a model with 2 planes, each using a different shader but with the
    same texture, and rotate the texture of one shader using
    textureTransform.rotate, how come the other shader disappears altogether? I
    only change how shader1 applies the texture, how can that affect shader2?

    Am I missing something?

    Wriker Guest

  2. #2

    Default Re: Rotating textures

    Here's a demo that allows you to drag a shader to rotate it:
    http://nonlinear.openspark.com/tips/3D/rotateshader/

    As to why your other shader disappears: it might help to see the code that you
    are using.

    openspark Guest

  3. #3

    Default Re: Rotating textures

    I have it working now. The problem was that I created one texture instance and
    applied that to 2 shapes, then rotated one of them. I now create two texture
    instances, one for each shape. That works fine.

    Wriker Guest

Similar Threads

  1. W3D & textures in 3ds max
    By extol in forum Macromedia Director 3D
    Replies: 0
    Last Post: August 18th, 08:36 PM
  2. textures in director
    By Ineedsleep in forum Macromedia Director 3D
    Replies: 2
    Last Post: March 10th, 04:08 PM
  3. Rotating
    By Yohan webforumsuser@macromedia.com in forum Macromedia Director 3D
    Replies: 7
    Last Post: January 29th, 04:21 PM
  4. textures
    By loadmovie webforumsuser@macromedia.com in forum Macromedia Director 3D
    Replies: 10
    Last Post: November 14th, 05:47 PM

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