News:

MASM32 SDK Description, downloads and other helpful links
MASM32.com New Forum Link
masmforum WebSite

OpenGL Test

Started by Farabi, March 24, 2005, 01:12:45 AM

Previous topic - Next topic

Farabi

I need you to test this application. Running smooth on Intel celeron 1.8 Ghz.But not working on my neighbour computer. Right click to go to OpenGL mode, and rigth click to get back to the default mode.

[attachment deleted by admin]
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Jeaton

Runs smooth on an Intel Celeron 2.94Ghz.

roticv

Works fine on my 2.40GHz Celeron too

GregL

I don't think it's working correctly on WinXP SP2, PIII 1GHz. Blank (but pretty) dialog with phone ringing sounds.

Mark Jones

 What is it supposed to do exactly? I get a gradient cyan background window with some gradient blue square shapes, which play the "rungout" sound when mouseover. The big square in the middle only rings once in succession. Window is resizable, but objects (and their positions) are static.

Right-click shows a gradient circle with wireframe outer edges, which resizes perportionately as the window is resized.

AMD Athlon XP 1.8GHz, XP SP1
"To deny our impulses... foolish; to revel in them, chaos." MCJ 2003.08

Farabi

Quote from: Greg on March 24, 2005, 07:48:43 PM
I don't think it's working correctly on WinXP SP2, PIII 1GHz. Blank (but pretty) dialog with phone ringing sounds.


Hi greg. Thank you for your answer. Is it crashes or not?, maybe WinXP SP2 have a different GDI32 dll. What about the openGL mode? Please right click to see it.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Farabi

Quote from: Mark Jones on March 24, 2005, 08:12:49 PM
What is it supposed to do exactly? I get a gradient cyan background window with some gradient blue square shapes, which play the "rungout" sound when mouseover. The big square in the middle only rings once in succession. Window is resizable, but objects (and their positions) are static.

Right-click shows a gradient circle with wireframe outer edges, which resizes perportionately as the window is resized.

AMD Athlon XP 1.8GHz, XP SP1

Yes the object is static except the OpenGL object. Im just testing the Graphical User Interface. Thank you for your answer. And thanks to All who answer this thread. Hope you will not boring to test the other version.
I trying to made a openGL template. I heard someone on board.win32asmcommunity.net need it. It will produce a text file with an object string and its own parameter.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

GregL

Farabi,

It does not crash, it just has a blue dialog with no text or anything else, and the ringing sounds. If I right click it switches to a brown and yellow graphic like a spider-web and a brown square. Is that's what it's supposed to do? I guess I was expecting it to do more than that.

Farabi

Quote from: Greg on March 25, 2005, 09:59:25 PM
Farabi,

It does not crash, it just has a blue dialog with no text or anything else, and the ringing sounds. If I right click it switches to a brown and yellow graphic like a spider-web and a brown square. Is that's what it's supposed to do? I guess I was expecting it to do more than that.


Okay thank you. Yes that is supposed to. Yes I will do more than that. Im not too understand using OpenGL. I take it from frank charlet sample program.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

Farabi

Here is the Source. I post it on a different place. It here http://www.masmforum.com/simple/index.php?board=22.0

How to use it is very simple. Take a look at this sample.


.ELSEIF uMsg==WM_CREATE


invoke InitControlFrb,hWnd
invoke SetTimer,hWnd,4,(1000/30),offset DrawFrameFrb
mov ecx,10
@@:
push ecx
mov eax,32
mul ecx
invoke CreateButtonFrb,10,eax,105,30,0128,NULL
pop ecx
dec ecx
jnz @b

invoke CreatePixel16,128,128,128,guis.nBit
invoke CreateTextBoxFrb,150,32,400,400,eax


invoke CreateFontIndirect,addr FontStruc
mov hFont,eax
invoke SetFontFrb,hFont

invoke SendMessage,hWnd,WM_USER,0,0



Invoke InitControlFrb,hWnd. This code mean an initialization for the control. For now it only have 1 control available. and this function are to create the button.

invoke CreateButtonFrb,10,eax,105,30,0128,NULL

Settimer will do the drawing and refreshing it automaticly for you. For now it cause the CPU performance decreased, but it will not in the future.


invoke SetTimer,hWnd,4,(1000/30),offset DrawFrameFrb
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

dsouza123

The newer exe in the link with source appears to work on an Athlon 1.2 XP sp2,
don't have speakers hooked up so don't know about sound output.
Right click on original window brings black background, large orange shaded sphere and small yellow shaded sphere in front.

The exe from this thread when right clicked is a black background with wire frame orange sphere with
third of the size shaded yellow sphere in front and brown square further in front taking most of upper right quadrant of window.

arafel

Works fine on WinXP SP2 P3 933MHz

Farabi

I have updated the source. I place my picture there. Not a good shape picture and not a good looking person too, but it another sample how to use all function.

Once again, it at here http://www.masmforum.com/simple/index.php?board=22.0 .
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"

thomasantony

Working ok on PIII 850 megs win98 SE. I can't figure out waht it does  :red still

Thomas
There are 10 types of people in the world. Those who understand binary and those who don't.


Programmer's Directory. Submit for free

Farabi

Quote from: thomasantony on March 31, 2005, 03:11:03 AM
Working ok on PIII 850 megs win98 SE. I can't figure out waht it does  :red still

Thomas

Hi. I dont know what I will made, but the target for me now, is creating the button. I want a litle different with any other software. I tested it on my laptop and the fan is not stoping. I think it cause a high temperature.
Those who had universe knowledges can control the world by a micro processor.
http://www.wix.com/farabio/firstpage

"Etos siperi elegi"