Graphics

Member
Posts: 320
Joined: 2003.06
Post: #16
Quote:
Originally Posted by Puzzler183
Are you guessing numbers for glTranslatef or do you actually know what's going on? I can't view your source since I'm on a computer without a decompression program...

in the source, you literally uncomment the
// glTranslatef( 0.0f, 0.0f,-3.0f);

That doesn't answer the question. Why are you translating? Where do you think you are going? My guess is that your -3.0f needs to be a +3.0f.

Chopper, iSight Screensavers, DuckDuckDuck: http://majicjungle.com
Quote this message in a reply
Member
Posts: 567
Joined: 2004.07
Post: #17
no, that would go behind the camera; -z is in front of the camera.
Besides, i already tried that unsuccessfully.

It's not magic, it's Ruby.
Quote this message in a reply
Moderator
Posts: 434
Joined: 2002.09
Post: #18
The question is why doesn't it appear after a translate. Could it simply be translating to a position that is off-screen? First try translating by (0,0,0), this should have no effect. Then try translating a smaller number than 3, or translate along a different axis, and see what happens. This may give you clues.

Hope this helps...

Measure twice, cut once, curse three or four times.
Quote this message in a reply
Member
Posts: 567
Joined: 2004.07
Post: #19
I started from scratch and got it to work.

It's not magic, it's Ruby.
Quote this message in a reply
Post Reply