Page 1 of 1

Posted: Sat Nov 09, 2002 11:33 pm
by BackupUser
Restored from previous forum. Originally posted by neuro.


The openGL cube demo provided with the full version of Purebasic can not be compiled under v3.40. I tried with v3.30 and there was no problem. Is there anybody else having the same problem??? Or Any way to solve it?

config: AMD AthlonXP 1800+, GeForce 2 MX 400, 256Mb Ram, Windows 98 2nd edition.

Neuro

Posted: Sun Nov 10, 2002 12:48 am
by BackupUser
Restored from previous forum. Originally posted by TheBeck.

It compiles ok here with 3.4, but all I get is a black window when I run it.

config: Athlon 1Ghz, GeForce 2 GTS 32MB w/3082 drivers, 512MB RAM, Windows XP PRO.

Posted: Sun Nov 10, 2002 7:51 am
by BackupUser
Restored from previous forum. Originally posted by fweil.

...,

Black screen too with my W2K.

Rgrds

Francois Weil
14, rue Douer
F64100 Bayonne

Posted: Sun Nov 10, 2002 1:38 pm
by BackupUser
Restored from previous forum. Originally posted by Sweenie.

Try fiddling with the translate command at the init-section of the
code.
The example has a very limited drawdistance, why I don't know.

Posted: Sun Nov 10, 2002 2:09 pm
by BackupUser
Restored from previous forum. Originally posted by fweil.

I checked the source code and finally found that you should change this line :

ZoomFactor = 0 ; Distance of the camera. Negative value = zoom back

to ZoomFactor = 1 for example.

It works with this update.

KRgrds

Francois Weil
14, rue Douer
F64100 Bayonne

Posted: Tue Nov 12, 2002 11:06 pm
by BackupUser
Restored from previous forum. Originally posted by neuro.

Thanks, It works fine.

Neuro