# Search:

Type: Posts; User: sajis997

Page 1 of 3 1

1. ## Thread: centralize a simple 2D curve

by sajis997
Replies
0
Views
154

### 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. ## Thread: Subdivide a 2D region with several holes within it into several regions with no holes

by sajis997
Replies
2
Views
497

### 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. ## Thread: Subdivide a 2D region with several holes within it into several regions with no holes

by sajis997
Replies
2
Views
497

### 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. ## Thread: divide an arbitrary rectangle into set of squares

by sajis997
Replies
0
Views
214

### 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. ## Thread: Linear Mapping issue

by sajis997
Replies
4
Views
1,681

### 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. ## Thread: Linear Mapping issue

by sajis997
Replies
4
Views
1,681

### 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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### 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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### 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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### 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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### 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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### 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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### 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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### 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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### Did you mean the following to be done ? ...

Did you mean the following to be done ?

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

p.x += 1;
16. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### 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. ## Thread: Transition from the old opengl to the modern opengl

by sajis997
Replies
20
Views
1,201

### 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. ## Thread: Application crashes at glDrawArrays(....)

by sajis997
Replies
4
Views
452

### 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. ## Thread: Application crashes at glDrawArrays(....)

by sajis997
Replies
4
Views
452

Hello folks,

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

Thanks
20. ## Thread: Application crashes at glDrawArrays(....)

by sajis997
Replies
4
Views
452

### 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. ## Thread: Smart pointer and OpenGL

by sajis997
Replies
2
Views
438

### 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. ## Thread: Some queries about vector - angle between each other

by sajis997
Replies
3
Views
736

### 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. ## Thread: generate contour from the 3D model

by sajis997
Replies
10
Views
1,802

### Any example opengl code you could refer me to ?

Any example opengl code you could refer me to ?
24. ## Thread: generate contour from the 3D model

by sajis997
Replies
10
Views
1,802

### so far started with the triangular mesh.

so far started with the triangular mesh.
25. ## Thread: generate contour from the 3D model

by sajis997
Replies
10
Views
1,802

### 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