dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
Magnifying Glass
All that is gold does not glitter.
This is a demo of how you can do a magnifying glass/telescope effect.
I've put some images down the left-hand side to illustrate the process, which is basically as follows.
1. Copy the section of the image you want to magnify.
2. Erase a hole in it.
3. Copy a magnified version of the section.
4. Put the image with a hole in it on top of the zoomed copy.
5. Put the image over the corresponding part of the big map
6. Draw a rim over the top.
Attachment: LOTR.PRG (3kB) This file has been downloaded 843 times
Attachment: Lupe.FPG (1.5MB) This file has been downloaded 901 times
[Edited on 7-3-2019 by dom cook]
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
I just realised that it would be more efficient to erase the outside of the circle of a zoomed image rather than the inside of the unzoomed one. The
area that needs to be erased is reduced to about a quarter this way. The steps in the process would be fewer too.
1. make a zoomed copy
2. erase the area outside the circle.
3. put it over the map
4. add the rim.
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
This version lights up the area under focus a bit, but be careful not to set fire to the map.
Attachment: ABOVEALL.PRG (7kB) This file has been downloaded 821 times
Attachment: Lupe.FPG (1.5MB) This file has been downloaded 883 times
|
|
MikeDX
|
|
This is very cool and a lovely tutorial
At the moment I cant even get DIV to run on my mac
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
Thanks Mike,
And treat yourself to a new computer, you deserve it.
|
|
Vortigano
DIV Regular
Posts: 237
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline
|
|
Wow, i try it.... When I have the time I would like to implement some of your programs using div dlls if you allow me.
|
|
dom cook
Div Pro
Posts: 387
Registered: 4-3-2016
Member Is Offline
|
|
Of course, that would be great. I'd like to do that sort of thing myself but I'm clueless when it comes to the low level stuff. I've got quite a few
ideas for dlls that would enhance DIV. Maybe we could work together on this.
By the way did you manage to burn the map?
|
|
Vortigano
DIV Regular
Posts: 237
Registered: 12-1-2017
Location: Ciudad de Buenos Aires, Argentina
Member Is Offline
|
|
I tryed it. It looks very good. The map burned from the right side.
|
|
MikeDX
|
|
A few problems..
http://js.mikedx.co.uk/LOTR.html
But I'm working on it
|
|