You nailed it. I wish I had heard this three months ago then I'd be done by now.
By the way i just want to add for others who read this article:
>Inverse the orientation matrix means taking the...
Type: Posts; User: ting
You nailed it. I wish I had heard this three months ago then I'd be done by now.
By the way i just want to add for others who read this article:
>Inverse the orientation matrix means taking the...
My project is indeed an academic project, designed to help student learn matrix algebra involved in a robotic system. I considered your design before; it could work, but there are some other reason...
I want to know how to place all of my best music files on my home computer onto the internet so that I can just open up a webpage and click 'play' and it plays without any win media player or...
Just thought might be useful to some other students in the same situation:
1)
The modelview is a float[16], and write on paper as:
m0 m4 m8 m12
m1 m5 m9 m13
m2 m6 m10 m14
m3 m7 m11...
I need the orientation and position of current current frame.
for example if i translate 5 unit up, i want to somehow read back from GL_MODELVIEW matrix that current origin is at 0,0,5, and...
I'm trying to extract current orientation and position in opengl. I know it is wrapped in the GL_MODELVIEW matrix, but i am having trouble interpreting it.
Question: How do i extract current...
i am drawing a gluCylinder but it appears to be hollow tubes. I want the two end to be capped, or completely filled.
GLUquadricObj *p = gluNewQuadric();
...
gluCylinder(p, 0.5, 0.5,...
I solved it with your help. I put the code:
glNormal3f(0,0,1);
before each vertex and the front side shines exactly the way i wanted. Appriciate it.
ting
Perhaps i should elborate it a little bit. I am not having trouble with making something shiny in general. I am having trouble to make an GL_QUADS surface shiny. It is defined by the following code:...
The gluCylinder I drew have a shiny surface that responds to my glMaterialfv() command, but the rectangle i drew myself doesn't shine at all.
How do you draw a surface and make it shiny?
I...
i just replace all
cin.getLine( variable , # );
into
cin >> variable;
and my output file looks fine.
i guess they don't get along with each other.
what's the difference?
--TING
so the general rule is, if the game host opens a bad door, we switch; otherwise we stay?
i heard the best way to tackle the original problem is to imagine there are 1000 doors. The host opens 998...
for (i=SIZE-1; i>=0; i--)
printf(" %d", a[10] );
printf("\n");
don't you mean
for (i=SIZE-1; i>=0; i--)
definitely not 3d scanner...painful experience
something software; if rely on hardware you always have that uncertainty about whether the parts will arrive on time once you ordered it. pay big...
now that we resolve this, let's try something more challenging:
1) there are now five doors with two prices
2) the player select one door, but do not open,
3) the host opens the door with a...
i think i got what the smart dude means. he has to seat besides the roulette and wait for probably 5 odd's to show up, then start betting money hoping that 6th turn on even because it's more probably...
Can you ask the smart dude how much he actually win using this method?
He is right about one thing: if all first 9 turns are red/even, the tenth turn is more likely to be black/odd. If the payout...
Thanks to DavidP, laserlight, novacain, and bithub for your response. Especially DavidP's insightful comment.
I go to University of BC in Vancouver,BC. I am in software engineering, but i am not...
Thank you (Prelude, Daved, Mario, CornedBee, abachler, mike_g, novacain-hope i didn't leave out anyone).
What kind of entry-level work can I do with c/c++? in school we only learned to do...
Thank you Mario, great great idea. I am going to do exactly that.
--TING
Thank you prelude. I know exactly you mean. This is a generic problem existed among all undergraduates: lack of experience and uncertainty in return. I was a bit afraid of thinking about that because...
Thank you all for reply. I find novacain & bithub's comments really really good. I am very grateful for your shared knowledge. What you said clarified a lot of things for us young undergraduates.
...
Can you explain? I don't quite understand the previous sentence.
Thanks for this tip. I think i get it. what would you recommend for a bunch of new graduates that are thinking of starting a...
Also Thanks to mike_g and brewbuck comments !!! I just saw your posting.
--TING