Page 1 of 1

Posted: Sat Jan 11, 2003 2:46 pm
by BackupUser
Restored from previous forum. Originally posted by CodeMeister.

greetings,
I recently purchased and dl'd the 3.50 version of PB. Very cool.
However, when I "compile and run" the OpenGL cube code, the display
window opens but there is no rotating cube to be seen. I've run through
the debugger but as far as I can see, the code appears correct.
Has anyone else encountered this problem? Is the code generated by PB dynamically linked to the opengl dll files in my windows system32 dir?
I have a background in C/C++ so PB is a bit new to me in this regard.
Thanks!

"If stupidity got us into this mess, why can't it get us out?"

Posted: Sat Jan 11, 2003 3:42 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

True, the example doesn't work here too. I will take a closer look. Thanks for this !

Fred - AlphaSND

Posted: Sat Jan 11, 2003 4:43 pm
by BackupUser
Restored from previous forum. Originally posted by wrtyler.

Codemeister -

It's a little change you have to make in the code. There is a line that says

Zoomfactor = 0

You need to change that to

Zoomfactor = 1

And everything will work. At Zoomfactor = 0, I believe the camera is inside the cube, so you need to move is back.

regards,
wayne

Posted: Sat Jan 11, 2003 7:11 pm
by BackupUser
Restored from previous forum. Originally posted by fred.

You're right, it fixes the stuff. Thanks for pointing this wayne !

Fred - AlphaSND

Posted: Sun Jan 12, 2003 1:14 am
by BackupUser
Restored from previous forum. Originally posted by CodeMeister.


Yeah, it help to be 'outside the box'...
thanks guys!

"If stupidity got us into this mess, why can't it get us out?"