# Search:

Type: Posts; User: Carmine

Page 1 of 17 1

1. ## Thread: Question On 'code' Tag

by Carmine
Replies
3
Views
174

### Just tried to follow up, but the errant behavior...

Just tried to follow up, but the errant behavior didn't appear!
Next time it happens, I'll post it. Thanks.

"Standard Editor"
2. ## Thread: Question On 'code' Tag

by Carmine
Replies
3
Views
174

### Question On 'code' Tag

Why is it that when I post code using the [ code]tag, the filenames following #include disappear? I've noticed this in other posters' code too. Is there an easy work-around?

Thanks
3. ## Thread: I need help for simple code

by Carmine
Replies
4
Views
514

### So what happens when you try to run this code?

So what happens when you try to run this code?
4. ## Thread: problem de-rotating a model

by Carmine
Replies
6
Views
651

### (You're welcome) x 4

(You're welcome) x 4
5. ## Thread: problem de-rotating a model

by Carmine
Replies
6
Views
651

### 2367 //...

2367

// -------------------------------------------------------------------------------------------------
// -------------------------------- May 17, 2017. Carmine. ...
6. ## Thread: opengl->glut-> draw spheres where mouse pointer is clicked

by Carmine
Replies
7
Views
1,302

### Have you solved this problem yet?

Have you solved this problem yet?
7. ## Thread: Orbital Mechanics, Vector Equation

by Carmine
Replies
10
Views
1,646

### My suggestion is to get an orbit mechanics...

My suggestion is to get an orbit mechanics software library that you can link to.
They are available for free. I'm guessing they would have planetary propagators built in.
Google something like...
8. ## Thread: building bounding boxes....what is wrong?

by Carmine
Replies
4
Views
615

### Perhaps the way you initialize xmin and xmax is...

Perhaps the way you initialize xmin and xmax is the problem. Try something like below.

xmin = pc[0].x;
xmax = pc[0].x;

for (i = 1; i < p.length; i++) {
if (pc[i].x <...
9. ## Thread: How to limit display of an object in one dimension?

by Carmine
Replies
12
Views
1,245

### Sorry. Didn't see that. I think I understand...

Sorry. Didn't see that.
I think I understand what you want. It can be done easily using arbitrary clipping planes.
See the documentation on glClipPlane. To me it's unintuitive, but it works.
In...
10. ## Thread: How to limit display of an object in one dimension?

by Carmine
Replies
12
Views
1,245

### ??? Don't know what this means ??? Do you...

??? Don't know what this means ???

Do you mean glScissor?

It would help if you posted a picture pointing out what you don't like and what you want.
Have a feeling it's pretty easy to do...
11. ## Thread: Visual C++ 2010 Express... how do I draw a line?

by Carmine
Replies
12
Views
1,760

### I just tried googling "Visual C++ 2010 OpenGL...

I just tried googling "Visual C++ 2010 OpenGL Example" and got many hits.
The first one is a pretty good YouTube tutorial on how to set up an OpenGL project.
12. ## Thread: How to fill the inner lattitude circles in a sphere?

by Carmine
Replies
7
Views
751

### If you're goal is to make it clear which is the...

If you're goal is to make it clear which is the inside and outside surfaces of a sphere, I think there are better ways than what I've done below. Actually, I've done two things below. One is to...
13. ## Thread: How to fill the inner lattitude circles in a sphere?

by Carmine
Replies
7
Views
751

### If the blue sphere is full, you wouldn't see any...

If the blue sphere is full, you wouldn't see any of the green circles because they would be totally inside the sphere?
14. ## Thread: How to fill the inner lattitude circles in a sphere?

by Carmine
Replies
7
Views
751

### There are 3 spheres in my figure. The left and...

There are 3 spheres in my figure. The left and right spheres are only there to clarify my approach. The central sphere is the final product. Is this not what you asked for? If not, I don't know...
15. ## Thread: How to fill the inner lattitude circles in a sphere?

by Carmine
Replies
7
Views
751

### Actually, with a little bit of finagling you can...

Actually, with a little bit of finagling you can accomplish your goal using gluSpheres.
An example with image and code is attached ...

2321

void Carmine_Spheres (void)
{
static int...
16. ## Thread: moebius strip glut

by Carmine
Replies
1
Views
361

### Hello Reserved - Took a look at your code...

Hello Reserved -

Took a look at your code today and tweaked it to make it work. The results are below. Tried to keep the programming style close to yours so you'd understand how it works. Your...
17. ## Thread: OpenGL with FLTK background image

by Carmine
Replies
1
Views
547

### You might try the FLTK forum for this question.

You might try the FLTK forum for this question.
18. ## Thread: How to Keep Rotating Without Holding Key ?

by Carmine
Replies
7
Views
821

### Move the Update routine above the handleKeypress...

Move the Update routine above the handleKeypress routine.
19. ## Thread: How to Keep Rotating Without Holding Key ?

by Carmine
Replies
7
Views
821

### Add something like a 'z' key shown below. ...

Add something like a 'z' key shown below.

float _angle = 0.0f;

void handleKeypress (unsigned char key, int x, int y)
{
static short anim = 0;
20. ## Thread: hollow tube with wall thickness

by Carmine
Replies
9
Views
1,172

### So each individual tube is straight, not bent...

So each individual tube is straight, not bent like a strand of hair?

If you have a starting program written in Legacy GL, post the code, and I'll help you.

This is not that hard.
21. ## Thread: How to start OpenGL coding?

by Carmine
Replies
5
Views
2,271

### OpenGL is a standard which looks like a...

OpenGL is a standard which looks like a subroutine library when you get down to using it. It is not a development environment (IDE) and does not come with an editor. The good news is that most major...
22. ## Thread: Problems with understanding how to work with positional light

by Carmine
Replies
4
Views
705

### Here's a suggestion (without looking too closely...

Here's a suggestion (without looking too closely at your code).

Do not enable light0 or light1 until you are inside the 'drawRoom' routine.
Then do something like this -

glEnable ...
23. ## Thread: Convert 3D model file to .h format

by Carmine
Replies
1
Views
484

### One path people have taken is to first export or...

One path people have taken is to first export or convert the model into .obj format. Then do an obj to .h conversion. Apparently people have written scripts to do this. I've never tried them. Try...
24. ## Thread: Installation, IDEs and a very newbie student

by Carmine
Replies
7
Views
1,020

### Codeblocks provides a sample opengl project. ...

Codeblocks provides a sample opengl project. That's how I got started. It was very easy.
25. ## Thread: Create animation

by Carmine
Replies
6
Views
1,042

### This implies that you can currently open a GL...

This implies that you can currently open a GL window and display a scene with a bunch of points on the screen. Is that right?
Results 1 to 25 of 402
Page 1 of 17 1