Newby Question: hither and yon?

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

  1. #1

    Default Newby Question: hither and yon?

    Hi, I'm new to Shockwave 3D and am trying to work out how to set the hither and
    yon parameters for my 3D world. At the moment the 3D world is not being
    rendered when the camera approaches the model. I've created a new behaviour and
    applied this to the 3D world by dragging it onto it from the library. And have
    edited the script to look like this:

    sprite(1).Camera[1].hither = 1
    sprite(1).Camera[1].yon = 100

    That script outputs a 'handler definition expected' error message, but I don't
    know the correct way to write this script or even if I'm writing it in the
    right place! Any help appreciated.

    Luke

    lduncalfe Guest

  2. Similar Questions and Discussions

    1. A very newby question
      Hi all, I am a new learner of Flex and action script. I just got a very simple question that, for example, if i have 3 HBox: <mx:HBox id="1" .../>...
    2. newby question: error log
      hi, how do you define variables (or constants) correctly? my error log ist full with entries like those: PHP Notice: Undefined variable:...
    3. Newby Question: Displaying Excel from within my CGI
      "Gunnar Hjalmarsson" <noreply@gunnar.cc> wrote in message news:bjgepo$iovdq$1@ID-184292.news.uni-berlin.de... Well, he is posting this in a Perl...
    4. Newby question: Good PHP/Web editor
      I have been developping in php for some months. My Web editor is FrontPage. No need to say that editing PHP is far from easy, then. I have tried one...
    5. Another Newby partitioning question
      The primary drive is an old 2GB, slave drive is 10GB. I know I have to install the OS on the primary drive. But is there a way I can load most of...
  3. #2

    Default Re: Newby Question: hither and yon?

    Hello

    Director will only let you set the hither and yon values to a whole number
    (ie, 1, 2, 3, ... etc). This means that if you're working to a scale of one
    unit in director meaning roughtly one meter (like I did at first), then the
    camera will clip any objects closer than 1m, which looks terrible. If this is
    what you are experiencing (which it sounds like), the only way round it is to
    scale up all the models you are working with (probably best to re-export
    bigger).

    Perhaps 1 director unit to 1cm?

    Hope this helps
    Jonathan Pace
    [url]www.unwrong.com[/url]

    jrPace Guest

  4. #3

    Default Re: Newby Question: hither and yon?

    You should try rounded brackets for sprite access. Use square brackets for
    member access only.

    sprite(1).Camera(1).hither = 1
    sprite(1).Camera(1).yon = 100

    or for the first camera just. . .

    sprite(1).Camera.hither = 1
    sprite(1).Camera.yon = 100

    Richard


    Richard 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