Author Topic: OpenGl Runs  (Read 2032 times)

0 Members and 1 Guest are viewing this topic.

Peter

  • Guest
OpenGl Runs
« on: April 16, 2013, 05:06:11 AM »
deleted
« Last Edit: May 05, 2015, 11:34:42 AM by Peter »

Charles Pegge

  • Guest
Re: OpenGl Runs
« Reply #1 on: April 16, 2013, 09:00:45 AM »
Hi Peter,

still blank white unfortunately. Do you have a colored background? If so, then that would indicate a problem with the render context or buffer swapping. Something fundamental anyway.

Charles Pegge

  • Guest
Re: OpenGl Runs
« Reply #2 on: April 16, 2013, 12:57:00 PM »
It's not a gpf or a lockup. It just does't put anything into the client area except for white. For some reason, Opengl has not engaged. Normally you get at least a black or transparent screen in the early stages.

I have a standard piece of code called OpenglScenFrame.inc, which I use on a number of demos. It has all the essential steps.

Do you use the standard ChoosePixelFormat? If there is a problem here, it could cause incompatibilities.

X

Frankolinox

  • Guest
Re: OpenGl Runs
« Reply #3 on: April 18, 2013, 01:30:56 AM »
http://www.oxygenbasic.org/forum/index.php?topic=687.0

my example with openGL and "OpenglScenFrame.inc" are all working here well. may be it's worthful to expand this library too.

best regards, frank

Charles Pegge

  • Guest
Re: OpenGl Runs
« Reply #4 on: April 18, 2013, 02:35:54 AM »
Hi Frank, Got your rotating pyramid and also drag-and-drop so far. I'll get to the crate examples ASAP.

A combination of dragandDrop and Opengl Sceenes would offer great possibilities.