Search:

Type: Posts; User: ting

Page 1 of 2 1 2

Search: Search took 0.01 seconds.

  1. Replies
    9
    Views
    23,282

    You nailed it. I wish I had heard this three...

    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...
  2. Replies
    9
    Views
    23,282

    My project is indeed an academic project,...

    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...
  3. Replies
    1
    Views
    2,551

    how to play songs over the internet

    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...
  4. Replies
    9
    Views
    23,282

    Solved: OpenGL Modelview matrix

    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...
  5. Replies
    9
    Views
    23,282

    I need the orientation and position of current...

    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...
  6. Replies
    9
    Views
    23,282

    getting orientation and position in opengl

    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...
  7. Replies
    1
    Views
    5,458

    How to cap the gluCylinder() ends

    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,...
  8. Replies
    6
    Views
    10,655

    Solved: glNormal determines the light reflection

    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
  9. Replies
    6
    Views
    10,655

    Perhaps i should elborate it a little bit. I am...

    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:...
  10. Replies
    6
    Views
    10,655

    OpenGL: How to make surface shiny

    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...
  11. Replies
    9
    Views
    2,347

    i just replace all cin.getLine( variable , #...

    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.
  12. Replies
    2
    Views
    3,222

    #typedef & #define

    what's the difference?

    --TING
  13. Replies
    116
    Views
    21,303

    so the general rule is, if the game host opens a...

    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...
  14. Replies
    13
    Views
    2,797

    for (i=SIZE-1; i>=0; i--) printf(" %d", a[10]...

    for (i=SIZE-1; i>=0; i--)
    printf(" %d", a[10] );
    printf("\n");


    don't you mean



    for (i=SIZE-1; i>=0; i--)
  15. Replies
    10
    Views
    3,824

    definitely not 3d scanner...painful experience ...

    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...
  16. Replies
    116
    Views
    21,303

    now that we resolve this, let's try something...

    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...
  17. Replies
    116
    Views
    21,303

    i think i got what the smart dude means. he has...

    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...
  18. Replies
    116
    Views
    21,303

    Can you ask the smart dude how much he actually...

    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...
  19. Replies
    51
    Views
    11,121

    Thanks to DavidP, laserlight, novacain, and...

    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...
  20. Replies
    51
    Views
    11,121

    Thank you (Prelude, Daved, Mario, CornedBee,...

    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...
  21. Replies
    51
    Views
    11,121

    Thank you Mario, great great idea. I am going to...

    Thank you Mario, great great idea. I am going to do exactly that.

    --TING
  22. Replies
    51
    Views
    11,121

    Thank you prelude. I know exactly you mean. This...

    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...
  23. Replies
    51
    Views
    11,121

    Thank you all for reply. I find novacain &...

    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.
    ...
  24. Replies
    51
    Views
    11,121

    Can you explain? I don't quite understand the...

    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...
  25. Replies
    51
    Views
    11,121

    Also Thanks to mike_g and brewbuck comments !!! I...

    Also Thanks to mike_g and brewbuck comments !!! I just saw your posting.

    --TING
Results 1 to 25 of 28
Page 1 of 2 1 2