flat assembler
Message board for the users of flat assembler.

Index > Windows > my windows examples

Author
Thread Post new topic Reply to topic
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1 23 Oct 2007, 06:53
i will post my windows examples here Wink

_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 23 Oct 2007, 06:53
View user's profile Send private message Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1 23 Oct 2007, 06:54
OpenGL example


Description: OpenGL example
Download
Filename: nehe5.rar
Filesize: 4.46 KB
Downloaded: 434 Time(s)


_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 23 Oct 2007, 06:54
View user's profile Send private message Reply with quote
dead_body



Joined: 21 Sep 2005
Posts: 187
Location: Ukraine,Kharkov
dead_body 24 Oct 2007, 09:55
cool. write more complex examples and more examples.
Post 24 Oct 2007, 09:55
View user's profile Send private message Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1 24 Oct 2007, 10:42
and more ... and more ... and more hi hi hi Very Happy
Post 24 Oct 2007, 10:42
View user's profile Send private message Reply with quote
Artlav



Joined: 23 Dec 2004
Posts: 188
Location: Moscow, Russia
Artlav 24 Oct 2007, 13:05
Is that expected?
Image

Crashes with that error on start. WinXP SP2 32bit.
Post 24 Oct 2007, 13:05
View user's profile Send private message Visit poster's website Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1 24 Oct 2007, 13:14
works fine here on:
Windows XP SP2, Build 2600, version - 5.1.2600

PS: Hey didn't you see my Signature. I am a noooooob dude!

_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 24 Oct 2007, 13:14
View user's profile Send private message Reply with quote
madmatt



Joined: 07 Oct 2003
Posts: 1045
Location: Michigan, USA
madmatt 25 Oct 2007, 10:11
0.1:
Nice Example!
A little change in your code will make it resize correctly,
Change WM_SIZE message handler to:
Code:
                mov ecx,[lParam]
                and ecx, $ffff
                mov edx,[lParam]
                shr edx, 16
                stdcall ReSizeGLScene,ecx,edx
      
Post 25 Oct 2007, 10:11
View user's profile Send private message Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1 25 Oct 2007, 11:57
Thanks Matt! Smile

I am only 0.1 Sad
But I am cooooool Cool

_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 25 Oct 2007, 11:57
View user's profile Send private message Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1 26 Oct 2007, 05:19
OpenGL example with Texture mapping.


Description: OpenGL example with Texture mapping.
Download
Filename: nehe6.rar
Filesize: 26.85 KB
Downloaded: 417 Time(s)


_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 26 Oct 2007, 05:19
View user's profile Send private message Reply with quote
r22



Joined: 27 Dec 2004
Posts: 805
r22 26 Oct 2007, 20:33
re: artlav

If you have an NVidia graphics card the OpenGL examples might not work, I've run into this problem with my NVidia box, but my ATI/AMD box works fine.

Something to do with the NVOGL.DLL vs the regular OpenGL.DLL. Could be do to a botched driver update?
Post 26 Oct 2007, 20:33
View user's profile Send private message AIM Address Yahoo Messenger Reply with quote
Vortex



Joined: 17 Jun 2003
Posts: 318
Vortex 28 Oct 2007, 10:07
0.1,

Nice examples. Both of them are running fine on my machine with NVIDIA GeForce 6200 card.

_________________
Code it... That's all...
Post 28 Oct 2007, 10:07
View user's profile Send private message Visit poster's website Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1 02 Nov 2007, 05:11
OpenGL example with Texture, Blending, Filters.


Description: OpenGL example with Texture, Blending, Filters.
Download
Filename: nehe8.rar
Filesize: 50.68 KB
Downloaded: 397 Time(s)


_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 02 Nov 2007, 05:11
View user's profile Send private message Reply with quote
SFeLi



Joined: 03 Nov 2004
Posts: 138
SFeLi 02 Nov 2007, 07:04
0.1, you’re using Windows bitmap. Shouldn’t GL_RGB be GL_BGR in your code? Wink
Post 02 Nov 2007, 07:04
View user's profile Send private message Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1 02 Nov 2007, 10:10
SFeLi wrote:
0.1, you’re using Windows bitmap. Shouldn’t GL_RGB be GL_BGR in your code? Wink

I don't have any idea dude!
I am still learning OpenGL programming from NeHe's tutorials!

_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 02 Nov 2007, 10:10
View user's profile Send private message Reply with quote
0.1



Joined: 24 Jul 2007
Posts: 474
Location: India
0.1 07 Dec 2007, 06:50
Paint the pink gradient!


Description: Paint the pink gradient!
Download
Filename: gradient.rar
Filesize: 2.29 KB
Downloaded: 360 Time(s)


_________________
Code:
 o__=-
 )
(\
 /\  
    
Post 07 Dec 2007, 06:50
View user's profile Send private message Reply with quote
Display posts from previous:
Post new topic Reply to topic

Jump to:  


< Last Thread | Next Thread >
Forum Rules:
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Copyright © 1999-2024, Tomasz Grysztar. Also on GitHub, YouTube.

Website powered by rwasa.