What is the maxium number a vector can handle

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

  1. #1

    Default What is the maxium number a vector can handle

    Hi,
    Well since I have not recieved any replies as of yet to my other question, and
    since I need to push my project along, I decided to use the behaviour scripts
    given at director-online/havok site, and I applied them to my car. In
    additioin, I am also trying to use the create terrain behaviour that is
    included in the raycast jeep demo. However, I would like to set my terrain size
    to 6000 units in width and 6000 units in depth. So when I attach the behaviour
    to the 3d scene, the getPropertyDescriptionList dialog window opens to allow
    you to set the terrain's size, which it asks you to set the upper left corner
    vector which I set it to vector(3000, 0, -3000) and then it asks you to set the
    lower right coner vector which I set this to vector(-3000, 0, 3000) which in
    total should give me the size of 6000 units in width and 6000 units in depth.
    However, after I click on the "OK" button my values change to the following...

    upper left corner = vector(3.00000e3, 0, -3.00000e3)
    lower right corner = vector(-3.00000e3, 0, 3.00000e3)

    In addition, not only that the whole number changed from 3000 to 3, but the
    biggest problem is that because the end values have the e3 added to it I get a
    script error when I play the movie. So I was wondering if there is a maximum
    number that a vector unit can handle? If so then is there another type of
    format I could use that handle larger numbers? Or is this a bug in Director
    8.51. Yeah I know, I am way behind in the software versions, but I do not have
    $1200 to shovle out for a new version of Director.


    Roofy Guest

  2. Similar Questions and Discussions

    1. #40501 [NEW]: fgetcsv can't handle trailing odd number of backslashes
      From: mike at opendns dot com Operating system: Linux, debian sarge PHP version: 5.2.1 PHP Bug Type: Filesystem function...
    2. #39538 [NEW]: fgetcsv can't handle starting newlines and trailing odd number of backslashes
      From: mike at opendns dot com Operating system: Linux, debian sarge PHP version: 5.2.0 PHP Bug Type: *Directory/Filesystem...
    3. how the vector is created, how to pass vector to webservices method apachesoap:Vector
      Below is input parameter of my Web Services method vectorTest - <wsdl:message name="vectorTestRequest"> <wsdl:part name="userName"...
    4. sort from the smallest number to the highest number
      Hi Just say I want to sort the row by using the fifth column data as reference from the smallest the largest number, if using sort, It will give...
    5. is there a maxium of behaviours
      iam completing a director piece but for some reason it wont let me put anymore behaviours in place. does anyone no if there is a set amount of...
  3. #2

    Default Re: What is the maxium number a vector can handle

    first of all, scientific notation:

    3.00000e3=3.00000*power(10,3)=3.00000*1000=3000

    simply write in the message window:
    put 3e10 (press the carriage key now)
    -- 30000000000.0000

    another:

    put vector(3.00000e3, 0, -3.00000e3)
    -- vector( 3.00000e3, 0.0000, -3.00000e3 )

    think that is another way to write the number (internally is the same number)

    if there is a limit, it is not 3000. Sure. Find other sources for your script
    error.



    ensamblador Guest

  4. #3

    Default Re: What is the maxium number a vector can handle

    Oh I see. So I guess what you are saying is that is Director's way of
    compressing vector numbers. Also, as to what you were saying about the number
    3000 is sure not the limit for vector units, I think I was just jumping the gun
    considering that I only glanced at the script error, and then clicked on the
    debug button to see where the error happened. Then once I looked at the
    varibles in the varible window, I saw these weird numbers with the e3 at the
    end of them, and I just thought that it could not add the vectors together with
    the e3 at the end of each vector unit. However, to make a long story short, I
    detached the script and reattached it which did no create the error again, and
    I learned that Director can add vector units together that have an e3 at the
    end of each vector unit. So thanks for clarifying what the e3 means.

    Roofy Guest

  5. #4

    Default Re: What is the maxium number a vector can handle

    Actually, e3 means "exponent 3" or "multiplied by 10^3 (the third power of ten), it is a standard notation used by a lot of programming languages.


    ensamblador 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