Results 1 to 2 of 2

Thread: 3D layers visualization

  1. #1
    Member Contributor
    Join Date
    Aug 2003
    Location
    singapore
    Posts
    85

    3D layers visualization

    wanna know how to create 3D visualization of layers of materials, for instance i want to diaplay a structure containing 2 layers where the 2nd layer (on top of 1st layer) follows the suface shape of curve of the 1st layer?(ie the 2nd layer is not flat)

  2. #2
    Senior Member Regular Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    472

    Re: 3D layers visualization

    how about rendering the 2nd layer flat to an area, say 512x512 pixels. (use glViewport). If this is renderered to the back buffer only, it can then be read into a texture. You could then set the display to the full viewport size and render the 1st layer as geometry and apply the 2nd as a texture?

    This kinda depends on exactly what you mean by rendering layers? of course I could just be misunderstanding and you may be simply asking about blending (look up glBlend() ), but then I don't know without more info.....

Similar Threads

  1. composing layers
    By in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-17-2006, 04:19 AM
  2. Layers
    By ramana in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 10-15-2003, 02:59 PM
  3. Layers
    By MemLeak in forum OpenGL: Advanced Coding
    Replies: 4
    Last Post: 03-12-2003, 07:33 PM
  4. Angles of layers
    By bsperlin in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 12-06-2001, 09:00 AM
  5. Layers / Mapping
    By Judith Mortimer in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 03-30-2000, 05:13 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean