flat assembler
Message board for the users of flat assembler.
![]() |
Author |
|
avcaballero 20 Nov 2012, 08:26
Hello, here's my first approach to a WinFloor demo. Maybe interesting for the WritePixel routine into createdib memory.
Regards
_________________ Siempre aprendiendo |
|||||||||||
![]() |
|
DOS386 20 Nov 2012, 09:54
COOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOL
|
|||
![]() |
|
avcaballero 20 Nov 2012, 10:32
Thank you, Dos386
![]() |
|||
![]() |
|
avcaballero 22 Nov 2012, 08:50
Quote:
Yes, sorry, a bit lazy lately... I have noticed, though, that it doesn't worth this effort. ![]() Quote:
Well, we need calculating every time the pixel colour for the motion. I have another version where the whole data is calculated only once, but then we need calculating two sides everytime from there... once again for the motion. Quote:
Do you mean creating DIBSection in wmCreate, for example? But, don't we need HDC for creating DIBSection, generated in BeginPaint, inside wmPaint? Quote:
Yes, this effect comes from qbasic (algorithm original from Toni Gual... thanks Toni), as I said in my credits (in spanish), sure... Well, I'm learning doing demos, not much time for it, but I stand ![]() ![]() By the way, great days those from 13h. Although many people desestimate qbasic, it has great codes, as well as turbo pascal, asm etc. And I think that Microsoft has taken a poor decision not supporting 16 bits in its newer OSs... lost much excellent stuff... Regards.
_________________ Siempre aprendiendo |
|||||||||||
![]() |
|
f0dder 22 Nov 2012, 19:12
avcaballero wrote:
![]() ![]() avcaballero wrote:
![]() avcaballero wrote:
avcaballero wrote: Well, I'm learning doing demos, not much time for it, but I stand ![]() avcaballero wrote: By the way, great days those from 13h. Although many people desestimate qbasic, it has great codes, as well as turbo pascal, asm etc. And I think that Microsoft has taken a poor decision not supporting 16 bits in its newer OSs... lost much excellent stuff... ![]() I've never seen any basic code (any dialect) that was nice, but decent enough [i]end results[i] have been achieved ![]() _________________ carpe noctem |
|||
![]() |
|
avcaballero 23 Nov 2012, 07:42
Quote: translate it for yourself! Huuumm, not for now.... Quote: I'm glad you're taking this as constructive criticism, as that's how it's meant. I'd give everything I know, for half of what I don't know. -- René Descartes Thank you for advices, especially for creating DIB section using CreateDC(0) Regards |
|||
![]() |
|
nmake 30 Nov 2012, 23:49
Speaking of floors, here is a bronze corridor, not dibs, this is direct3d 9.
Here is another one i've made, a spinning metal cube.
|
|||||||||||||||||||||
![]() |
|
nmake 02 Dec 2012, 03:51
Changed a bit in the code of the cube, it will now auto detect the highest refresh rate on your system and at the highest resolution for that refreshrate. Also changed the rotation code from using the fpu into using sse instead, in between endscene and present to improve parallism of cpu and graphic accelerator. Also changed texture.
|
|||||||||||
![]() |
|
f0dder 03 Dec 2012, 00:24
Neither MetalCube, Corridor nor Cube work here (win7x64, GTX460, nv306.97 drivers)
|
|||
![]() |
|
nmake 03 Dec 2012, 00:37
You have to install d9. It has been tested on various machines, including win 7 32 and 64 bit, works well. I use 306.97 myself and a gtx 680 amp edition. You need latest d3dx9 version 43. I enforce hardware acceleration, if your card does not support it it will fail. It is also worth noticing that the automatic detection routine will find the highest refreshrate and the highest resolution for that refreshrate, if it does not support hardware acceleration with that it will also fail. That is how it goes with simple examples like these, it is not something that is designed with industry quality fail-safe behavior
![]() |
|||
![]() |
|
f0dder 03 Dec 2012, 00:47
Hm, I'm pretty sure I do have DX9 installed, will check tomorrow (heading to bed). I get nothing but a black screen.
|
|||
![]() |
|
nmake 03 Dec 2012, 01:20
Your firewall may be blocking parts of direct3d9 due to faulty behavior. Comodo firewall is one of them who have faulty direct3d filtering, resulting in a black screen. If you use comodo, turn off defense+ to see if that solves it.
|
|||
![]() |
|
avcaballero 03 Dec 2012, 08:49
nmake wrote: You have to install d9. They don't work for me either, WXP, as you said before maybe I need install D9 before trying... I will do it later in W7. ![]() Regards _________________ Siempre aprendiendo |
|||
![]() |
|
f0dder 03 Dec 2012, 15:01
nmake wrote: Your firewall may be blocking parts of direct3d9 due to faulty behavior. Comodo firewall is one of them who have faulty direct3d filtering, resulting in a black screen. If you use comodo, turn off defense+ to see if that solves it. ![]() Installed the latest DX redist I could find, (June 2010), which should be plenty fine for anything DX9... still, no go. _________________ carpe noctem |
|||
![]() |
|
nmake 03 Dec 2012, 19:57
Comodo protects com interfaces, do a google if you are unfamiliar with it. I have tested both cube and corridor on two different machines, one on windows 7 32 bit and one on a laptop with windows 64 bit, both works good, the laptop have a crappy graphics card not designed for dx, and it still works well. It has also been tested on 8 machines by other people, in all cases it works as well.
What error message do you get when it runs and what background color is rendered when it runs? |
|||
![]() |
|
f0dder 04 Dec 2012, 14:38
nmake wrote: Comodo protects com interfaces, do a google if you are unfamiliar with it. ![]() nmake wrote: I have tested both cube and corridor on two different machines, one on windows 7 32 bit and one on a laptop with windows 64 bit, both works good, the laptop have a crappy graphics card not designed for dx, and it still works well. It has also been tested on 8 machines by other people, in all cases it works as well. ![]() nmake wrote: What error message do you get when it runs and what background color is rendered when it runs? _________________ carpe noctem |
|||
![]() |
|
< Last Thread | Next Thread > |
Forum Rules:
|
Copyright © 1999-2025, Tomasz Grysztar. Also on GitHub, YouTube.
Website powered by rwasa.