Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 5 of 5

Thread: pleblem of using 3d texture

  1. #1
    Intern Newbie
    Join Date
    Mar 2005
    Posts
    43

    pleblem of using 3d texture

    hello i define a 3d texture from a stack of dicom images,when using one CT image to difine a 3d texture i can get correct result.but when use two CT images to define a 3d texture i get a wrong result, and above three the result only a white square.anyone who can give me some advice of the problem?thank you very much!

  2. #2
    Super Moderator OpenGL Guru dorbie's Avatar
    Join Date
    Jul 2000
    Location
    Bay Area, CA, USA
    Posts
    4,388

    Re: pleblem of using 3d texture

    Above 2 you may be running out of space but remember all axes must be 2^n in size.

    The errors you think you see may be the result of interpolation. Try a nearest filter and/or clamping and remember that texture wrap when a coordinate = 0 will give you a 50%/50% weighting between the two samples on any axis that has only two samples stored. Clamping in conjunction with understanding your sampling in 3D will probably resolve your issues.

  3. #3
    Intern Newbie
    Join Date
    Mar 2005
    Posts
    43

    Re: pleblem of using 3d texture

    now i know that because of all axes must be 2^n in size ,i only can use 2^n CT images to form 3d texture.and that's right now.but i found when using 2 images, the result seems to be enlarge and the image be break up to four cornor.and image quality become bad .when using 4 images it distort much severity,when using 8 or 16 image to form a 3d texture it seems only render a little area of initial image.what is the matter?thank you !

  4. #4
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,655

    Re: pleblem of using 3d texture

    screenshots, please

  5. #5
    Intern Newbie
    Join Date
    Mar 2005
    Posts
    43

    Re: pleblem of using 3d texture

    how to put the image here?i try but i failed

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •