Professional Web Applications Themes

Clipping / z-index problem - Macromedia Director 3D

I have what is a fairly simple shockwave 3d setup. I am getting some strange clipping or incorrect z-index problems when viewing it. I'm not sure if there is something that I have set incorrectly to caues this or if anyone has ideas on what might fix it. Here is a link to the movie [url]http://onthez.com/temphosting/cvp/KidsCreations8.dcr[/url] click on "lets begin" then click on "lets begin" a second time to get to the 3d part It's not obvious from the first view, but if you rotate the camera to look at the right side there are some wooden bars that should ...

  1. #1

    Default Clipping / z-index problem

    I have what is a fairly simple shockwave 3d setup. I am getting some strange
    clipping or incorrect z-index problems when viewing it. I'm not sure if there
    is something that I have set incorrectly to caues this or if anyone has ideas
    on what might fix it.

    Here is a link to the movie
    [url]http://onthez.com/temphosting/cvp/KidsCreations8.dcr[/url]
    click on "lets begin" then click on "lets begin" a second time to get to the
    3d part

    It's not obvious from the first view, but if you rotate the camera to look at
    the right side there are some wooden bars that should appear in front of other
    wooden bars but are behind.

    Just about the only thing I have done to the 3d portion of the movie is change
    visibility to #none on all objects with a loop at startup, then set visibility
    to #front and #both for the models that should be on screen.

    ideas?

    Thanks a bunch!

    dn580 Guest

  2. #2

    Default Re: Clipping / z-index problem

    Try experimenting with your camera's hither and yon (the 3DPI xtra is
    useful for this) - check the docs. Pull the yon in and push the hither
    out further and try it until your models look right.
    Sean Wilson Guest

  3. #3

    Default Re: Clipping / z-index problem

    This seems to be shockwaves annoying z-index alpha problem. You should check to
    see that your wood texture doesnt contain an alpha map - use a jpg if you want
    to be safe (JPEGS have no alpha channels). If this has no effect then try whats
    suggested above. You could also try detatching each peice of wood to seperate
    models to see if this increases the z accuracy.

    Tom RR Guest

  4. #4

    Default Re: Clipping / z-index problem

    Thanks both for the info. I think it must have something to do with the wood
    texture map. I removed it and all looked good. When I exported it (from
    lightwave) I checked to option disable alpha, along with trying it turned on.
    Both resulted in the same problem. My original maps didn't have alpha though.
    What I did find was that I could import the texture (.jpg) as a cast member and
    then replace the texture in Director at runtime and that seemed to solve the
    problem.

    Thanks so much for the help!


    dn580 Guest

  5. #5

    Default Re: Clipping / z-index problem

    ok this is an easy one I bet, but I'm trying to get the texture swap to work.
    I have the code below in my movie script and it does a fine job of changing the
    texture, but while I'm working I stop and restart the movie and it trys to
    execute this code again which returns an error because the texture name all
    ready exists at that point.

    I wanted to do something simple like check to see if WoodTexture_256x256
    exists, if not then create it, but I can't seem to get an if then statement to
    check for a Texture. Any help on how that would be written?
    Thanks!



    theMember = member("SwingSet")
    theTexture = theMember.newTexture("WoodTexture_256x256")

    theTexture = theMember.texture("WoodTexture_256x256")
    theTexture.member = (member 54 of castLib 1)

    theShader = theMember.shader("WoodEnds")
    theShader.texture = member(1, 1).texture("WoodTexture_256x256")
    theShader.textureTransformList[1].rotation = vector( 0.0000, 0.0000, -180.0000
    )

    theShader = theMember.shader("Wood")
    theShader.texture = member(1, 1).texture("WoodTexture_256x256")
    theShader.textureTransformList[1].rotation = vector( 0.0000, 0.0000, -180.0000
    )

    theMember.deleteTexture("WoodTexture_4x4")

    dn580 Guest

  6. #6

    Default Re: Clipping / z-index problem

    myTexture.name will give you the name of myTexture.
    bgsBS Guest

  7. #7

    Default Re: Clipping / z-index problem

    Thanks, that was exactly the type of thing I was looking for!
    dn580 Guest

  8. #8

    Default Re: Clipping / z-index problem

    no problem,
    that's why we're here for, to help eachother.
    bgsBS Guest

Similar Threads

  1. Problem with locked index.htm
    By Alex Mariño in forum Macromedia Contribute General Discussion
    Replies: 4
    Last Post: January 23rd, 02:25 PM
  2. Z-index problem
    By bhaktik in forum Dreamweaver AppDev
    Replies: 2
    Last Post: April 8th, 03:08 PM
  3. Releasing Clipping Paths Background Problem
    By JWright517@adobeforums.com in forum Adobe Illustrator Windows
    Replies: 5
    Last Post: April 14th, 03:53 AM
  4. Export PDF but image with Clipping path got problem
    By Samuel Chan webforumsuser@macromedia.com in forum Macromedia Freehand
    Replies: 3
    Last Post: July 16th, 02:25 PM
  5. index problem
    By Peter Notebaert in forum Microsoft SQL / MS SQL Server
    Replies: 3
    Last Post: July 8th, 06:58 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