Professional Web Applications Themes

Drawing in a 3D environment - Real Time - Macromedia Director 3D

I am attempting to create a 3D drawing application and am having a bit of trouble. My plan is to use the mouse to move left, right, up or down and use the up arrow and down arrow to move along the z axis. I have the movement working well but I need to be able to draw a line (or a cylinder) that follows the camera as it moves throughout the 3D environment. Can anyone think of an efficient way of doing this? Any help would be appreciated. Thanks...

  1. #1

    Default Drawing in a 3D environment - Real Time

    I am attempting to create a 3D drawing application and am having a bit of trouble.

    My plan is to use the mouse to move left, right, up or down and use the up arrow and down arrow to move along the z axis.

    I have the movement working well but I need to be able to draw a line (or a cylinder) that follows the camera as it moves throughout the 3D environment.

    Can anyone think of an efficient way of doing this?

    Any help would be appreciated.

    Thanks




    wrench666 webforumsuser@macromedia.com Guest

  2. #2

    Default Re: Drawing in a 3D environment - Real Time

    I thought I'd add a bit more info about what I'm doing here. I've got a first person perspective camera moving aroung a 3d world. I want to be able to hold the mouse down to draw the camera path as it moves through the 3D space.

    Basically the camera becomes a paintbrush.

    I've tried creating a primitive each time the camera vector changes but this slows things down so much it's not an option.

    I've also thought of using a particle system but since they are not true 3D elements haven't pursued it very much.

    Any thoughts or ideas on how to do this efficiently (i.e. without too much of a performance hit) would be very much appreciated.

    Thanks,

    wrench666


    wrench666 webforumsuser@macromedia.com Guest

  3. #3

    Default Re: Drawing in a 3D environment - Real Time

    Does anybody have any ideas on a good way of doing this? Creating a new primitive each time the camera moves really seems to slow things down.

    Any help would be greatly appreciated.

    thanks!


    wrench666 webforumsuser@macromedia.com Guest

  4. #4

    Default Re: Drawing in a 3D environment - Real Time

    Hi,

    What I would do is draw the layout of the 3d world in 2d, using vectors in
    basic shapes like a simple drawing program. Then when required use the
    information drawn here to create you 3d world.

    Jimmy

    "wrench666" <webforumsusermacromedia.com> wrote in message
    news:bi2mil$qbp$1forums.macromedia.com...
    > I am attempting to create a 3D drawing application and am having a bit of
    trouble.
    >
    > My plan is to use the mouse to move left, right, up or down and use the up
    arrow and down arrow to move along the z axis.
    >
    > I have the movement working well but I need to be able to draw a line (or
    a cylinder) that follows the camera as it moves throughout the 3D
    environment.
    >
    > Can anyone think of an efficient way of doing this?
    >
    > Any help would be appreciated.
    >
    > Thanks
    >
    >
    >
    >

    Jimmy Guest

Similar Threads

  1. Replies: 0
    Last Post: September 9th, 08:46 PM
  2. Replies: 0
    Last Post: September 8th, 10:54 PM
  3. Replies: 0
    Last Post: September 8th, 09:33 PM
  4. Real time converted to Unix time
    By Brian in forum PERL Miscellaneous
    Replies: 1
    Last Post: August 29th, 04:36 AM
  5. How to set the run time environment
    By subbu in forum Microsoft Access
    Replies: 0
    Last Post: July 30th, 10:10 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