Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Search:

Type: Posts; User: Lanfear

Search: Search took 0.01 seconds.

  1. Replies
    1
    Views
    1,129

    How to load VRML into opengl?

    Hi, I have to load a vrml object into my opengl codes, but i do not know anything at all about vrml, so any advice from any of you would be deeply appreciated.

    To load a vrml file into opengl,...
  2. Replies
    3
    Views
    133

    Re: defining and manipulating 4x4 matrices

    I got it! All thanks to your help, dorbie. http://www.opengl.org/discussion_boards/ubb/smile.gif
  3. Replies
    1
    Views
    139

    Re: Projects on openGL

    Can you explain what you mean?
  4. Replies
    3
    Views
    133

    defining and manipulating 4x4 matrices

    I would like to multiply a matrix by some rotation and translation matrices. Can someone please give me an example of how to define a 4x4 matrix? DO we enter it row by row or column by column?
    ...
  5. Replies
    2
    Views
    179

    Re: why does quad colour overlay my texture?

    Thanks!! http://www.opengl.org/discussion_boards/ubb/smile.gif
  6. Replies
    2
    Views
    179

    why does quad colour overlay my texture?

    When i bind my texture (which is a char image) onto the yellow quad, the image texture becomes yellow. How cld i remedy that??

    Thanks. http://www.opengl.org/discussion_boards/ubb/smile.gif
  7. Replies
    7
    Views
    182

    Re: Texture mapping help?

    I have the same problem when i followed the codes written on a tutorial website.

    But i solved it when i added:

    gluBuild2DMipmaps(GL_TEXTURE_2D, 3,ImageWidth,ImageHeight, GL_RGBA,...
  8. Re: How to display image far away from the camera view?

    > How are you putting the image on the screen?

    I display the image using glDrawPixel, and i want it to be the same size as the window no matter how i change my viewpoint.

    >The best way would be...
  9. How to display image far away from the camera view?

    Just like to ask if anybody knows how to display an image at a distance away from the camera view. I know image can be displayed via gluOrtho2D but that places the image at z=0. I tried using...
  10. Replies
    3
    Views
    220

    Re: Does image affect shadow mapping?

    The image is grabbed from a camera and displayed via glDrawPixels() and gluOrtho2D().

    To get the depth map, texture projection and the extensions in "extgl.h" are used. The code shown below:
    ...
  11. Replies
    3
    Views
    220

    Does image affect shadow mapping?

    I displayed a background image using gluOrtho2D before placing some objects in. When i tried shadow mapping, the objects are all in shadow. When i remove the background image, they are lit again. ...
  12. Replies
    7
    Views
    346

    Re: Casting shadow on teapot

    I followed the shadow volume algorithms given in numerous website, but it doesnt work. There are no shadowing at all. Does anybody know what i have done wrongly? ...
  13. Replies
    7
    Views
    346

    Re: Casting shadow on teapot

    hmm, i am rather confused now. It doesnt work when i implement the stenciling approach, so i must have intepretated something wrongly. I have a few questions:

    1) Do we need to look at the scene...
  14. Replies
    7
    Views
    346

    Re: Casting shadow on teapot

    Thanks! i have trying to write the code now. http://www.opengl.org/discussion_boards/ubb/smile.gif
  15. Replies
    7
    Views
    346

    Re: Casting shadow on teapot

    harlo! thanks for giving me the website link, i am examining the article now.

    just like to ask, what do u mean by:
    "It is a lot easier with a model of an object, and not a GLUT primitive. "
    Do...
  16. Replies
    7
    Views
    346

    Casting shadow on teapot

    Hi, i am a novice with opengl and i would really welcome some advices. I want to cast a shadow of say, a sphere, on a teapot, but i am not sure how to go about doing it.

    I intend to use...
Results 1 to 16 of 16