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: 3d texture maps (linux, TNT2, X4.0, new drivers)

  1. #1
    Advanced Member Frequent Contributor
    Join Date
    Feb 2000
    Location
    San Diego, CA, USA
    Posts
    604

    3d texture maps (linux, TNT2, X4.0, new drivers)

    Hello

    I'm working on a project for my masters degree. I need to do some
    volume visualization of data, and the best way to do it is to use 3d textures.
    First I tried the example program from the Red Book. It is VERY slow (maybe 1
    frame every few seconds), although it seems to work. I also tried the siggraph '99
    example - vol3dtex. It displays a skull .... also very slow. The vol2dtex works
    great, but of course this is not what I need to do. I guess I would assume that 3d
    texturemaps are not supported by Nvidia on TNT2 under linux, except that I had
    heard that Quake III uses 3d textures for lightmaps. I have quake III on this
    machine, and it runs great (with lightmaps).
    If anyone has any idea about what I (and these demos) may be doing wrong, or if
    you need more info to help, please either respond here or email me at
    wade@pacific.mps.ohio-state.edu

    Thanks in advance,

    Wade Lutgen

  2. #2
    Member Regular Contributor
    Join Date
    Feb 2000
    Location
    milano, italy
    Posts
    282

    Re: 3d texture maps (linux, TNT2, X4.0, new drivers)

    after you have skinned your volumetric data you could create the correct 2D textures into the application, then use opengl to render the whole thing without 3D texturing.

    Dolo/\/\ightY
    Dolo/\/\ightY

  3. #3
    Junior Member Regular Contributor fenris's Avatar
    Join Date
    Mar 2000
    Location
    Cincinnati, Ohio USA
    Posts
    129

    Re: 3d texture maps (linux, TNT2, X4.0, new drivers)

    Make sure that there are no old Mesa libGL.so libs left laying around. I was getting great fullscreen performance but crappy windowed performance. Then, I noticed I had some old MesaGL libGL.so libs in /usr/lib. I replaced them with nvidia libGL.so, and that fixed it. I was getting incredible windowed framerates there on after.

  4. #4
    Advanced Member Frequent Contributor
    Join Date
    Feb 2000
    Location
    San Diego, CA, USA
    Posts
    604

    Re: 3d texture maps (linux, TNT2, X4.0, new drivers)

    Thanks for the suggestions.

    About using 2d texturemaps - I have thought about it, and if I wanted the 2d textured polys to always face the user, I would have to figure out a new intersection of them with the 3d data each frame - basically software 3d texturemapping. I probably wouldn't be able to do that faster than what it is now. I could just texture the polys in a fixed way, but then it looks bad (invisible) edge on.

    About old libs - I checked /usr/lib/, /usr/local/lib, and of course /usr/X11R6/lib and there are no old libGL's. Also, I've compiled other programs with what is basically the exact same Makefile, and they are accelerated fine.

    If anyone has a successfully accelerated app using 3d texture maps, please let me know your hardware and what program you used.

    Thanks again for the suggestions.

    Wade

  5. #5
    Junior Member Newbie
    Join Date
    Feb 2000
    Location
    Linköping
    Posts
    1

    Re: 3d texture maps (linux, TNT2, X4.0, new drivers)

    The TNT2 doesn't have any hardware to do 3d textures unfortunately. I'm not aware of any current consumer level card that has it.

    The upcoming ATI chipset seems to have it though that is not of much help to you.

Posting Permissions

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