The MASM Forum

Miscellaneous => Miscellaneous Projects => Topic started by: qWord on September 05, 2014, 09:28:43 PM

Title: yet another fractal generator...
Post by: qWord on September 05, 2014, 09:28:43 PM
In the attachment a small weekend goody  :biggrin:

Runtime requirements: Windows Vista+, SSE3
Building requirements: MASMv8+ and latest MASM32 SDK

Usage:
Use the left mouse button for dragging the view (remarks that it takes time to calculate the image) or, if the control-key is down, to select a range to zoom in. The mouse wheel is used for zooming in and out.
Keys:
- VK_R: recalculate fractal image
- VK_O: restore original zoom
- VK_C: open gradient-tool window
Tool window: the handholds for the colors can be dragged with the mouse. A right mouse click opens the context menu (insert/delete/sel.color).

qWord

Title: Re: yet another fractal generator...
Post by: TouEnMasm on September 05, 2014, 10:27:27 PM

The d2d1.dll can't be found.
I have the directx sdk with the d2d1.lib .h but not .dll.
Is it another pleasure of microsoft who say "you haven't buy my last system"  ?:eusa_dance:

Title: Re: yet another fractal generator...
Post by: Gunther on September 06, 2014, 05:15:59 AM
Hi qWord,

works fine under Windows 7-64 and very fast. Well done. Thank you for the sources, too.  :t

Gunther
Title: Re: yet another fractal generator...
Post by: guga on September 06, 2014, 08:07:50 AM
QuoteIs it another pleasure of microsoft who say "you haven't buy my last system"  ?
Yep. Unfortunately, this seems to work only in WindowsVista and above. I couldnĀ“t find the d2d1.dll for winxp yet.

Anyway, if someone  wants some examples in C) for d2d  i found some on the developerĀ“s site
http://blogs.technet.com/b/thomasolsen/archive/2008/10/29/introducing-the-microsoft-direct2d-api.aspx#pi47623=10
http://blogs.msdn.com/b/tmulcahy/
Title: Re: yet another fractal generator...
Post by: Siekmanski on September 06, 2014, 05:43:13 PM
Cool code, works perfect.