Converting scale to world measurements

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

  1. #1

    Default Converting scale to world measurements

    Hello,
    I have a 3D cast member (which originally is made in Maya) and I have cloned
    it into my 3D world. The model is a chess board more precise.
    And what I want to do now is placing objects onto the board. Like peons,
    kings, queens etc. But the problem I am having though is a good way to
    calculate their positions.
    Since the chess board don't have a width and length property I can't figure
    out where in the world one of the boards edges are, to start placing objects
    there.


    I hope I was clear enough to make myself understood. :)
    Any suggestions how I should solve this?

    Thanks.



    SuperTank Guest

  2. Similar Questions and Discussions

    1. 10.4.8 and Measurements
      Looks like 10.4.8 update has fixed all the decimal issues with IDCS2
    2. Exact measurements?
      About to make the move from Quark to InDesign at work and have been playing around with the one copy we have and find that if I want a box to be, for...
    3. Illustrator Brochure Template Measurements
      Does anyone know where I can get a template for a tri-fold brochure to use in Illustrator 10 - or does anyone have the measurements or points where...
    4. Measurements are off in Freehand
      This is driving me crazy. I have the page set to inches in measurement, but it is not giving me true measurements. At 100%, I can hold a ruler up to...
    5. Tripod screw type/measurements
      Lost my tripod screw. Can anybody please supply correct "definition" of the standard screw, please? TIA
  3. #2

    Default Re: placement of objects

    When you are modeling te board, put a box model, six poligons, twelve faces, in
    each position of the board, centered, in the same place where a piece must be.

    Name as: "A1", "G2", etc. You mus complete the board.

    In Director make this Dummies invisibles (visibility = #none), and use its
    worlposition property to know where to move the piece.

    Luck!

    ensamblador Guest

  4. #3

    Default Re: placement of objects

    Thanks for the tip. :)
    But what if I for some reason would want to rearrange the the setup differently? This way does not feel that dynamic.
    SuperTank Guest

  5. #4

    Default Re: placement of objects

    SuperTank,
    I think the easiest way to do this is for you to build a table list, not only
    because you want to place the chess peices for their inital positions, but also
    because you are going to need to know where all of the 64 blocks positions are
    locatated at. In addition, If you are also building the game so that a player
    could play against the computer and if you do the table list correct, then this
    will also make things easier for you when you build your AI (Artificial
    Intelligents) for the computer's move. This is because when I did some
    reasearch before on how to build the AI, the 2 articles that I have read said
    that they where basically giving each type of chess piece a point system of the
    following....
    Pawns = 1 pt
    knights = 2 pts
    biships = 3 pts
    rooks = 4pts
    queens = 5pts
    kings = 6pts

    . then by having this point system you would place the point system according
    to what each chess piece value is in a matrix which the matrix would be your
    table list.

    Now on to building a position calculation.
    The best way to do this is to do it in you 3D application, by creating a plane
    and set the divisions to 8x8, and think to yourself how many units you want
    each block to be. Then all you need to do is set the width and length of the
    total plane to the amount of units each block is equal to and multiply it by 8.
    For example, if you want each block to be say 2 units by 2 units, then the
    total width of the plane would be 2 units * 8 and length of the plane would be
    2 units * 8. Then it is just a matter of using a little math to figure out
    where each block is located and write them down on a piece of paper so that you
    can apply that to your table list.

    As to making the checker board, just apply a a black and white material to
    each block by alternating them with the black material and then the white
    material. Also, if you are worried about the poygon count, then you should be
    able to bake the polygons onto the chessboard without messing up your position
    calculations of where each block is, by baking the polygons onto a texture.
    Then delete the unneccessary edges from the chessboard and apply the baked
    texture.



    Roofy Guest

  6. #5

    Default Re: placement of objects

    I also for to mention somthing very important. When seting up the chessboard,
    it has a specific setup so that the white king is always on its right side of
    the queen in addition to the white queen is always positioned on its own color,
    and the black king is aligned with the white king and the black queen is
    aligned with the white queen. If you do not do this, then the game isn't
    played correctly. I forget what happens but I think it is because one of the
    player's either it is white or black who has a better chance of winning, and
    you can not castle correctly. If you are confused about how the chess peices
    are setup here is a a reference for you....
    [url]http://www.hixoxih.com/games/chess/images/2d-chessboard-plain-16.gif[/url]

    Roofy 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