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,...
Type: Posts; User: Lanfear
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,...
I got it! All thanks to your help, dorbie. http://www.opengl.org/discussion_boards/ubb/smile.gif
Can you explain what you mean?
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?
...
Thanks!! http://www.opengl.org/discussion_boards/ubb/smile.gif
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
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,...
> 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...
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...
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:
...
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. ...
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? ...
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...
Thanks! i have trying to write the code now. http://www.opengl.org/discussion_boards/ubb/smile.gif
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...
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...