PinkDot on 27/5/2013 at 20:05
Quote Posted by "LarryG"
You guys are missing the point: you determine the height and width of the image using the height and width parameters of the set_bg_image command!
Larry - that's exactly what I meant by saying "make the entire bitmap 640 units large".
edit:
(
http://postimg.org/image/ltecua28f/)
Inline Image:
http://s11.postimg.org/ltecua28f/bg_image.jpgthis is the image taken from the first post of this thread, just cleaned of existing grid lines.
LarryG on 27/5/2013 at 20:46
My day for misunderstanding, then. I thought you intended for him to re-size it in a paint program not in DromEd.
Yes, you have exactly what I meant!
Ricebug on 28/5/2013 at 11:46
After sleeping on it all night, I realized you guys were probably mis-led by the screenshot. This is the 640x640 BG image I imported into Dromed (colors changed for clarity).:
Inline Image:
http://www.ricebug.org/temp/GridTest2.pngThe 3 small squares are in multiples of 64 (64/128/256).
Once I had it in the editor, I did a screenshot and clipped it, leaving a border of grid squares
that belong to Dromed, not the image. (Thus the "18x18" confusion.) The whole idea is to try and figure out how to do a layout in a paint program where the dimensions correlate to the editor's grid without having to devise some tedious mathematical mumbo-jumbo.
If I got anyone's blood pressure up, I apologize.
R Soul on 28/5/2013 at 13:20
If the image is 640 x 640, squeezed into 64 x 64 feet, that's a division by 10. I know I'm stating the obvious. But the 128 x 128 pixel square in the image will also divided by 10, so in Dromed it's 12.8 x 12.8.
So, to get something that's x feet long in Dromed, in the image it needs to be 10x pixels long.
LarryG on 28/5/2013 at 13:38
Well then, I don't know what problem you are having. I took your image and scaled it to 640 x 640 in the background image parameter screen at 500, 500, 300, and everything lines up perfectly for a 16 grid. I then rescaled it in the background image parameter screen to 320 x 320, and again to 160 x 160, and both times everything still lined up perfectly. So what was the problem?
I also changed the grid to 14 and resized the background to 14 x 14 and 28 x 28, and the outer edges lined up perfectly (the inner squares aren't drawn on a 14 grid, so of course they wouldn't align).
PinkDot on 28/5/2013 at 15:44
@Ricebug - go back and read this thread again, as all the answers were already given to you.
Again - it's not the image size you need to change. It's the settings in Dromed that matters: Width and Height of the bitmap in the set_bg_image command dialog window. These are in Dromed feet - not in pixels.
vfig on 23/12/2021 at 15:05
Quote Posted by LarryG
And here are the settings I used to set it up in DromEd so that I could see it while I was building. (I used it as a side view, not a floor plan as you intend, but you get the idea) Note that you have to specify the displayed dimensions (height and width) in DromEd units.
...
But whatever you do, since DromEd doesn't remember your settings, either take a snapshot or copy it out of your monolog to a text file (DromEd does write the setting to monolog). You can even take the monolog output and turn it into a command file, I think, to execute when you need it again.
thank you Larry, this was extremely helpful for me today!