Professional Web Applications Themes

Image Object and Image Member speed - Macromedia Director 3D

Hello everyone! I'm trying to use the overlay camera with a computed bitmap with lingo/javascript. What is fastest system between image object and image member using? Thanks, Max...

  1. #1

    Default Image Object and Image Member speed

    Hello everyone!

    I'm trying to use the overlay camera with a computed bitmap with
    lingo/javascript. What is fastest system between image object and image
    member using?

    Thanks,

    Max


    Max Guest

  2. #2

    Default Re: Image Object and Image Member speed

    I think it's best to use a new image() internal to memory (not a
    member.image) and store it in a property variable.

    Then Create a texture from it using

    property myTexture,myImage

    on beginSprite
    myImage = image(256,256,32)--check docs for syntax
    myTexture =
    member("3DScene").newTexture("TextureName",#fromIm ageObject,newImageReference)
    myTexture.renderFormat = #rgba8888--check docs for syntax
    member("3DScene").camera.addOverlay( myTexture,0,0,0)--check for sytax
    end beginSprite

    Then update each time the overlay changes with. . . .

    on exitFrame
    myTexture.image = myImage
    end exitFrame

    That's all from memory, check for broken lines. Hope that helps some?

    If somebody has a better way I'd like to hear it too! ;)

    Richard Smith


    Richard Guest

Similar Threads

  1. 3D member image and VRAM - urgent !
    By Ziggi in forum Macromedia Director 3D
    Replies: 2
    Last Post: March 12th, 08:10 AM
  2. Print the stage of the 3d member image
    By catarrento in forum Macromedia Director 3D
    Replies: 5
    Last Post: August 10th, 01:56 PM
  3. grabbing the flash member image
    By Jacob Farber in forum Macromedia Director Lingo
    Replies: 1
    Last Post: December 10th, 06:30 PM
  4. member().image from 3D object is default size?
    By kemical webforumsuser@macromedia.com in forum Macromedia Director 3D
    Replies: 1
    Last Post: November 1st, 01:53 PM
  5. How can I get a texture image from 3D member?
    By Carlos G. Aragonés in forum Macromedia Director 3D
    Replies: 0
    Last Post: September 17th, 10:30 AM

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