Gamestudio Links
Zorro Links
Newest Posts
Help with plotting multiple ZigZag
by degenerate_762. 04/30/24 23:23
M1 Oversampling
by 11honza11. 04/30/24 08:16
Trading Journey
by howardR. 04/28/24 09:55
Zorro Trader GPT
by TipmyPip. 04/27/24 13:50
Data from CSV not parsed correctly
by jcl. 04/26/24 11:18
AUM Magazine
Latest Screens
The Bible Game
A psychological thriller game
SHADOW (2014)
DEAD TASTE
Who's Online Now
1 registered members (7th_zorro), 927 guests, and 0 spiders.
Key: Admin, Global Mod, Mod
Newest Members
firatv, wandaluciaia, Mega_Rod, EternallyCurious, howardR
19050 Registered Users
Previous Thread
Next Thread
Print Thread
Rate Thread
Page 1 of 2 1 2
Minimap issue: Pixel-to-quant conversion #460721
07/11/16 23:09
07/11/16 23:09
Joined: Jul 2015
Posts: 26
M
Mark430SR Offline OP
Newbie
Mark430SR  Offline OP
Newbie
M

Joined: Jul 2015
Posts: 26
Hello, everyone

I am making a minimap and I want to know if I took a screenshot of the level from the XY view panel in WED (from the top) like this one:



How to know the amount of quants in the real level that correspond to one pixel or vice versa at certain degree of zooming in XY view in WED? Also, if there is another decent way to make minimaps, then it would be better to explain it laugh

Thank you everyone and HAVE A NICE DAY!!

Last edited by Mark430SR; 07/11/16 23:12.
Re: Minimap issue: Pixel-to-quant conversion [Re: Mark430SR] #460724
07/11/16 23:41
07/11/16 23:41

M
Malice
Unregistered
Malice
Unregistered
M



In the picture you need the pixel size and 1 room real size


here is a ex.. room that is 125px by 125 px, the ex.. actual sizes is 500 qu by 500 qu. the scale is 125px/500 qu

or 0.25 px per qu

or 500 qu/125 px
4 qu per 1 px

the map is then the same scale across the whole picture.


Note to other --> Please check my process/math

Take Care --

EDIT2 --> I believe the forum and AUM have many ways you can search for and I also believe there is a shader based solution...

Last edited by Malice; 07/11/16 23:44.
Re: Minimap issue: Pixel-to-quant conversion [Re: ] #460738
07/12/16 09:42
07/12/16 09:42
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
You could e.g. place some dummy floor on the map that is the exact same size as your screenshot and than you can ingame check its xy coordinates and size and compare it with the pixelsize of the whole map.

Other ways for minimap:
- dynamic through VIEW
- screenshot from terrain and 2d icons for entities (like red dots for enemies), I believe this is how some rts games do it (e.g. use panels for that).
- iirc a shader one (probably by txesmi)

Last edited by Reconnoiter; 07/12/16 09:47.
Re: Minimap issue: Pixel-to-quant conversion [Re: Reconnoiter] #460739
07/12/16 09:51
07/12/16 09:51
Joined: Feb 2011
Posts: 124
Germany Nrw Herford
HenWoll Offline
Member
HenWoll  Offline
Member

Joined: Feb 2011
Posts: 124
Germany Nrw Herford
Do you use for my opinion, too many unnecessary blocks,
but nice map, laugh

Re: Minimap issue: Pixel-to-quant conversion [Re: Mark430SR] #460742
07/12/16 11:59
07/12/16 11:59
Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
txesmi Offline
Serious User
txesmi  Offline
Serious User

Joined: Jun 2007
Posts: 1,337
Hiporope and its pain
Originally Posted By: Mark430SR
How to know the amount of quants in the real level that correspond to one pixel or vice versa at certain degree of zooming in XY view in WED?

The size of the grid is shown on the header of each view window.

Salud!

Re: Minimap issue: Pixel-to-quant conversion [Re: txesmi] #460762
07/13/16 16:35
07/13/16 16:35
Joined: Jul 2015
Posts: 26
M
Mark430SR Offline OP
Newbie
Mark430SR  Offline OP
Newbie
M

Joined: Jul 2015
Posts: 26
Thank you guys .. I did it .. but there is a problem with WED

Somehow I missed up with the View menu and the 3D view became like that:



Also, the 2D views were like that. How to restore them back? How to make textures appear again?

Thanks

Last edited by Mark430SR; 07/13/16 16:37.
Re: Minimap issue: Pixel-to-quant conversion [Re: Mark430SR] #460765
07/13/16 18:03
07/13/16 18:03
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
Try right click on the view than 'render style' and select something else.
Or, View -> Draw Entities [...] and select something else.

Re: Minimap issue: Pixel-to-quant conversion [Re: Reconnoiter] #460767
07/13/16 19:17
07/13/16 19:17
Joined: Jul 2015
Posts: 26
M
Mark430SR Offline OP
Newbie
Mark430SR  Offline OP
Newbie
M

Joined: Jul 2015
Posts: 26
It doesn't work at all frown

Last edited by Mark430SR; 07/13/16 19:20.
Re: Minimap issue: Pixel-to-quant conversion [Re: Mark430SR] #460768
07/13/16 19:47
07/13/16 19:47

M
Malice
Unregistered
Malice
Unregistered
M



View-> default

then select the 3d window. View->Textured or F7

If your windows are wrong close all but the 3d window (corner of window X)
View -> Add Views

Still problems..? View GXL Properties -> set all to default


Still issue?? Got me! I don't know

Re: Minimap issue: Pixel-to-quant conversion [Re: ] #460774
07/13/16 20:29
07/13/16 20:29
Joined: Dec 2011
Posts: 1,823
Netherlands
Reconnoiter Offline
Serious User
Reconnoiter  Offline
Serious User

Joined: Dec 2011
Posts: 1,823
Netherlands
After ^ that still issues, restart WED (incase you already haven't). Still issues? Throw your coffee over your screen, smash your keyboard in your monitor and throw everything out of your window (pro tip: dont hit nearby pedestrians with it).

Page 1 of 2 1 2

Gamestudio download | chip programmers | Zorro platform | shop | Data Protection Policy

oP group Germany GmbH | Birkenstr. 25-27 | 63549 Ronneburg / Germany | info (at) opgroup.de

Powered by UBB.threads™ PHP Forum Software 7.7.1