Results 1 to 2 of 2

Thread: To render or not to render

  1. #1
    Junior Member Newbie
    Join Date
    Feb 2001

    To render or not to render

    Hi all ,

    Im trying to figure if the object will be render on screen befor glBegin( ) , glEnd( ).
    From reading stuff i figure that :

    vertex --> ModelViewMatrix -->ProjectionMatrix-->Prespective division(divaid x/w ,y/w z/w) --> Here I stuck ... (ViewPort transformation ) , what is the the view port matrix ???

    MSDN in glViewPort explenetion say :
    | |
    Xwin=(Xnd+1) |width/2|+Xleft
    | |

    according to my glViewPort param

    and i ask:Xwin=(Xnd+1)???|width/2|+Xleft

    I hope some one can help .... What is the model view matrix ?

    Thank u all


  2. #2
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010

    Re: To render or not to render

    check the faq IIRC theres an explanation with code that shows how to get the 6 planes from the viewing frustum once u have theses its a simple matter to test if the point is in the 'inside' of all the 6 planes

Similar Threads

  1. FBO render as Texture : Color does not render correctly
    By imported_unknown123 in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 03-20-2018, 11:46 PM
  2. Replies: 2
    Last Post: 03-04-2018, 12:26 PM
  3. Render vegetation as quads - What render method
    By Aliii in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 06-22-2017, 12:01 PM
  4. Replies: 3
    Last Post: 04-01-2015, 02:05 AM
  5. Replies: 0
    Last Post: 03-20-2014, 10:59 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