Results 1 to 3 of 3

Thread: CSplitterWnd and Texture rendering

  1. #1

    CSplitterWnd and Texture rendering

    Hi, I am using the CSplitterWnd window splitter class in my MFC app to divide the main SDI into viewports. Inside the viewports I am using standart OpenGL init functions to draw whatever I need to. The only problem is that I can only get it to display texture maps in one viewport- the one that has been created (by window splitter) last.

    Has anyone else had a similar problem?

    Help would be grealy appreciated.

    [This message has been edited by EPHERE (edited 05-05-2002).]

  2. #2
    Senior Member OpenGL Pro
    Join Date
    May 2001

    Re: CSplitterWnd and Texture rendering

    Hi !

    It sounds like you are missing a context switch or something like that maybe ?


  3. #3
    Junior Member Newbie
    Join Date
    Dec 2000
    Seoul, Korea

    Re: CSplitterWnd and Texture rendering

    This article: contains source for an app using a splitter and multiple OpenGL views. Should be just what you're looking for.

Similar Threads

  1. Texture within texture rendering when using transparent textures
    By OneCleverGorilla in forum OpenGL: GLSL
    Replies: 0
    Last Post: 06-11-2017, 02:03 PM
  2. Texture Units and Mixing - Only One Texture Rendering
    By OneCleverGorilla in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 05-24-2017, 07:26 AM
  3. OpenGL texture flickering when rendering only parts of texture
    By wrymnn in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 06-30-2015, 02:01 PM
  4. Replies: 1
    Last Post: 12-26-2014, 04:57 PM
  5. OpenGL Rendering on Splitter Windows(CSplitterWnd))
    By dguven in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 08-12-2003, 07:01 PM

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