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

Page 1 of 3 1 2 3

Search: Search took 0.01 seconds.

  1. Replies
    0
    Views
    233

    centralize a simple 2D curve

    Hello forum,

    I am trying to draw hilbert curve of arbitrary resolution and I want to it to be centralized. The points that are generated to send to the rendering pipeline are as follows:


    ...
  2. I am looking for more of a formal mathematical...

    I am looking for more of a formal mathematical algorithm. Check the image in the link, it will give some hint.

    http://i.imgur.com/CzcSvwN.png

    The numbers from [1....16] are the divided regions...
  3. Subdivide a 2D region with several holes within it into several regions with no holes

    Hello forum,

    I already googled it up and nothing similar showed up as mentioned in the subject.


    Any hint to the references that implement this idea ?


    Thanks
  4. divide an arbitrary rectangle into set of squares

    Hello forum,

    I have a arbitrary rectangle of size I1 X I2 and I have to formulate an recursive/iterative algorithm to partition the rectangle into set of squares. The article that I am following...
  5. Replies
    4
    Views
    1,955

    What is the point of mapping if the lower left...

    What is the point of mapping if the lower left corner coordinates of both windows (x,y) are same. Is not what you meant ?
  6. Replies
    4
    Views
    1,955

    Linear Mapping issue

    Hello forum,

    I am not sure if the title is proper or not. I better explain the issue. I have to generate a fractal curve inside an arbitrary window of size pXq where the lower left corner of the...
  7. Hi I hope that things have started to get...

    Hi

    I hope that things have started to get unfolded. I still suspect that I may not have explained the issue properly. To make sure that, the real goal of the project does not get lost in...
  8. I am yet to understand the python snippet you...

    I am yet to understand the python snippet you attached, I am working on it now. Till then, I have the following questions from the rest of the explanations from your previous post



    I do...
  9. The idea is to generate the fractal toolpath for...

    The idea is to generate the fractal toolpath for 3D printing and as a preparation I was attempting to simulate on screen first. The initial version of the application divide the printing region in to...
  10. Hi , Generating and simulating a hilbert...

    Hi ,

    Generating and simulating a hilbert curve for a grid size of 2^16 X 2^16 is impossible , which I was trying to do. Thanks for the explanation. Even I try to save it as an image file in the...
  11. Thanks ! Now I get the expected image. The...

    Thanks !

    Now I get the expected image. The snippet that made it possible is as follows:




    void Hilbert2DScene::populateHilbertLSystem(const std::string &LString)
    {
  12. Thanks for the detailed hint with code snippet! ...

    Thanks for the detailed hint with code snippet!

    I read somewhere that it is not good call glDrawArrays(...) several times in loop. It is always better to pile up positional values in a container...
  13. Could you please help me to formulate the modern...

    Could you please help me to formulate the modern OpenGL structure directly as you have mentioned ?







    I think I am doing it as follows:
  14. Hello forum, Lets get down to basics to...

    Hello forum,

    Lets get down to basics to understand the modelling transformation better. The following will contain code snippet written in old OpenGL pipeline and comments within the snippet to...
  15. Did you mean the following to be done ? ...

    Did you mean the following to be done ?



    ...............................
    ...............................
    if(*it == 'F')
    {

    p.x += 1;
  16. Thanks for the hint! Now I see something more...

    Thanks for the hint!

    Now I see something more on the screen, but not exactly I am expecting. So I have more to do here with more hints of course. Here goes the code I updated since the last tips I...
  17. Transition from the old opengl to the modern opengl

    Hi forum,

    I am trying to update an old opengl code to the modern opengl one and I am not getting the expected output. I believe that I am confused with the matrix manipulation . Please check the...
  18. I believe that I am doing it. Please check the...

    I believe that I am doing it. Please check the following snippet:



    void Hilbert2DScene::initialise()
    {
    if(mInitialized)
    return;

    if(!initializeOpenGLFunctions())
  19. Hello folks, Do you need more information to...

    Hello folks,

    Do you need more information to provide me with hint to debug this issue ?


    Thanks
  20. Application crashes at glDrawArrays(....)

    Hello forum,

    The application that I am trying to develop is crashing at the point glDrawArrays(....) . The snippet is as follows:



    void Hilbert2DScene::render()
    {
    if(!mInitialized)
    ...
  21. Replies
    2
    Views
    728

    Smart pointer and OpenGL

    Hi,

    Is there any reference where the new C++14 standard has been used along with the modern application ?

    I have declared array of vertices as follows:


    ...
  22. Some queries about vector - angle between each other

    Hello forum,

    Lets say we have the two vectors a and b.

    if their dot product a.b > 0 , it implies that the angle between them is acute and pointing mostly in the same direction.
    if a.b == 0....
  23. Replies
    10
    Views
    2,432

    Any example opengl code you could refer me to ?

    Any example opengl code you could refer me to ?
  24. Replies
    10
    Views
    2,432

    so far started with the triangular mesh.

    so far started with the triangular mesh.
  25. Replies
    10
    Views
    2,432

    I think I found a solution while googling it up. ...

    I think I found a solution while googling it up.

    http://paulbourke.net/papers/conrec/


    What do you think ?
Results 1 to 25 of 75
Page 1 of 3 1 2 3