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: bananeeek

Search: Search took 0.00 seconds.

  1. Replies
    7
    Views
    1,654

    So i took Nowhere`s and Mobeen`s advices, and...

    So i took Nowhere`s and Mobeen`s advices, and first I changed exponent value to like 4, and then tried to set a light on a teapot. After some adjustments, I was able to get a circle of light on said...
  2. Replies
    7
    Views
    1,654

    Still doesn't work... Tried to change values to...

    Still doesn't work... Tried to change values to negative on every axis, even in the normal vector...
  3. Replies
    7
    Views
    1,654

    Lighting a surface

    I've been following some tutorials about setting a simple source of light, but I still can't make it :S let's say I have a simple surface in 3D

    const short a = 11; // width
    const short b = 20;...
  4. Replies
    6
    Views
    1,879

    woohoo! Got it! Got it all : ) It took me an...

    woohoo! Got it! Got it all : ) It took me an hour, but results are satisfying enough : )
    Here's the code:

    void Egg(int model)
    {
    double N = 35.0;
    double x,y,z;
    double du=1/N, dv=1/N;...
  5. Replies
    6
    Views
    1,879

    I can't simply change GL_POINTS to GL_LINES,...

    I can't simply change GL_POINTS to GL_LINES, because it requires two points to make a line, and the best I've achieved this way, was linking every two points, like a dash line. Here's a printscreen ...
  6. Replies
    6
    Views
    1,879

    how to render an object as wireframe

    I managed to render an 3d egg object using GL_POINTS mode, I`ll post the code beneath, but now I need to render that egg not as a cloud of points but as a linked net of points, one of which has to be...
Results 1 to 6 of 6