Post your screenshots!

User avatar
bhree
Member
 
Posts: 151
Joined: Tue Jun 19, 2018 07:45
Location: Alone In The Wild Land
GitHub: bhree
IRC: bhree
In-game: bhree
 

User avatar
v-rob
Member
 
Posts: 684
Joined: Thu Mar 24, 2016 03:19
Location: Right behind you.
GitHub: v-rob

Re: Post your screenshots!

by v-rob » Sat Jun 15, 2019 23:48

Linuxdirk wrote:Oh, cool absolutely looking forward to that.

It’s still not perfectly aligned, but now we’re talking about 2-3 pixels maximum. I guess that’s the best we can get out of the formspecs. It’s of course much, much, much better than the mess we currently have :)

For label alignment maybe use the center of baseline-to-cap height as alignment reference. Occasional descenders and ascenders would even out and the text would look centered independent from font size and face.


Nope, elements are pixel-perfect, have a look:

Image

The formspec is at https://github.com/v-rob/minetest_forms ... c/init.lua (a bit outdated; I've been constantly changing it).

Labels are a bit of a tricky situation. I am currently changing them as per one of Rubenwardy's suggestions to work better.

I think that it will be merged soon, but as I said, I need to fix the labels and do a bit more documenting.

Cool Tricks


These are some tricks you can do with the new system. The old system has such messed up coordinates so that most of these really aren't feasible.

  • Read-only fields (fields without a name) only display the title, and since titles are rendered above the coordinate, you can place this behind e.g. a button and the button will look like it has a title.
  • If you use newlines in a label, the line will be positioned 1/2 a coordinate apart. Sorry, it currently isn't customizable. That's beyond the scope of this PR.
  • If you want a label that's aligned to the top-left of a coordinate instead of center-left, use a read-only textarea (just like a field) without a title.
  • For a button that can't be clicked on, place any button down and then place another button with drawborder set to false and no name directly on top of it. Makes good decoration, actually. This works in both systems.
  • Tabheaders can be offset; they don't have to be on the top. So, you can have a tabheader in the middle of your form.
 

User avatar
v-rob
Member
 
Posts: 684
Joined: Thu Mar 24, 2016 03:19
Location: Right behind you.
GitHub: v-rob

Re: Post your screenshots!

by v-rob » Sun Jun 16, 2019 00:23

I think your form could do with some tableoptions, Rubenwardy:

Image

;-)
Attachments
tableoptions.png
(11.67 KiB) Not downloaded yet
 

User avatar
duane
Member
 
Posts: 1583
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: Post your screenshots!

by duane » Sun Jun 16, 2019 00:51

Using hardware coloring for my leaves now. Think I should make the beanstalks candy-striped?

Image

Edit: And a very minimal grass-blend. The last time I tried this, it got way too complicated.

Image

Image
Attachments
screenshot_20190615_214515.jpg
(309.76 KiB) Downloaded 1 time
screenshot_20190615_214219.jpg
(422.04 KiB) Not downloaded yet
screenshot_20190615_194703.jpg
(468.72 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
Lone_Wolf
Member
 
Posts: 2186
Joined: Sun Apr 09, 2017 05:50
Location: Hopefully very far from yours, snoop :P
GitHub: LoneWolfHT
IRC: Lone_Wolf
In-game: Lone_Wolf
 

User avatar
sorcerykid
Member
 
Posts: 1061
Joined: Fri Aug 26, 2016 15:36
Location: Illinois, USA
GitHub: sorcerykid
In-game: Nemo

Re: Post your screenshots!

by sorcerykid » Sun Jun 16, 2019 03:49

Hey, everyone thanks for the words of encouragement! The release is still on schedule, so stay tuned :)

Wuzzy wrote:In other words, it's useless. At least for me. I don't want to depend on any mod for formspec stuff!


Ratio is intended to be used on a development box, not a production server. There is no need to depend on Scarlet in any mods.

duane wrote:I don't like bitmapped GUIs. A proper GUI should be completely scalable, and any attempt at pixel precision makes that unlikely.


Scarlet supports multiple units (cell, point, and image) that all scale to the user's screen DPI. This was mentioned in the WIP topic. Pixel precision is not the goal of Scarlet. Also, Ratio Workspace doesn't even incorporate pixel-based coordinates.

On a sidenote, despite what Rubenwardy claims, Scarlet is nowhere near being "made obsolete". New features like themable in-line templates and user-defined element parsers are already in development. And with the launch of Ratio Workspace next week, Scarlet is certainly not going anywhere anytime soon :)

Here's an example of the size[] w/ borders element that is unique to Scarlet and allows for some interesting layout possibilities!

Image
 

User avatar
duane
Member
 
Posts: 1583
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: Post your screenshots!

by duane » Sun Jun 16, 2019 04:52

Lone_Wolf wrote:This mod might interest you duane viewtopic.php?f=11&t=18862
Image


Yep, I saw that, but it's a little overkill for my needs. Also, I gather that it doesn't use dry grass, so I'd have to spawn my lions on regular grass. I don't think that would work out.


sorcerykid wrote:
duane wrote:I don't like bitmapped GUIs. A proper GUI should be completely scalable, and any attempt at pixel precision makes that unlikely.


Scarlet supports multiple units (cell, point, and image) that all scale to the user's screen DPI. This was mentioned in the WIP topic. Pixel precision is not the goal of Scarlet. Also, Ratio Workspace doesn't even incorporate pixel-based coordinates.


I'm still a bit skeptical (of both PR and mod), but I'll take your word for it.

-----------------------------------------------------

Image

Taste the rainbow!

Image

Image
Attachments
screenshot_20190616_004111.jpg
(119.57 KiB) Not downloaded yet
screenshot_20190616_003348.jpg
(317.52 KiB) Not downloaded yet
screenshot_20190615_014126.jpg
(61.13 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
Linuxdirk
Member
 
Posts: 2177
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: Post your screenshots!

by Linuxdirk » Sun Jun 16, 2019 13:37

v-rob wrote:Nope, elements are pixel-perfect, have a look:

Then why is there a visible space between the 1x1 button and the 2x2 button but no visible space betwenn the 1x1 “air” and the 2x2 “air”? Why is the 2x3 ignore smaller than the 2x3 inventory slots? Why is there a 1px space between the 2x2 “air” button and the 2x3 “ignore“ but not between the 2x2 “air” and the 2x2 “air” button? Why is the textfield and the password field touching but the “this” and “dropdown” are overlapping by 1px? Why is the 2x3 „Read-Only Textarea“ textarea wider than the textlist? I could go on for a while and I didn’t even load the image to Gimp yet.

As said: This is MUCH better than the current state but still far away from being pixel-perfect.
 

User avatar
v-rob
Member
 
Posts: 684
Joined: Thu Mar 24, 2016 03:19
Location: Right behind you.
GitHub: v-rob

Re: Post your screenshots!

by v-rob » Sun Jun 16, 2019 21:45

Linuxdirk wrote:
v-rob wrote:Nope, elements are pixel-perfect, have a look:

Then why is there a visible space between the 1x1 button and the 2x2 button but no visible space betwenn the 1x1 “air” and the 2x2 “air”? Why is the 2x3 ignore smaller than the 2x3 inventory slots? Why is there a 1px space between the 2x2 “air” button and the 2x3 “ignore“ but not between the 2x2 “air” and the 2x2 “air” button? Why is the textfield and the password field touching but the “this” and “dropdown” are overlapping by 1px? Why is the 2x3 „Read-Only Textarea“ textarea wider than the textlist? I could go on for a while and I didn’t even load the image to Gimp yet.

As said: This is MUCH better than the current state but still far away from being pixel-perfect.


I was waiting for this :-) Let me debunk these for you.

There is a 1px border on the bottom and right sides of all the buttons because that is how Irrlicht draws them. If you look closely, that 1px border is slightly darker than the surrounding form and is actually part of the button. If you place a square image on an image button, you will see that the rect is perfect.

Inventory slots have a 1/4 a unit space between them by default because it would look wrong to have a full space or no space between them. They wouldn't look like a group. Needless to say, there is another PR (not mine) for adjusting the spacing and size of inventory slots, so this isn't a problem.

The dropdowns aren't overlapping. "This" appears to be overlapping on top of "dropdown" by a single pixel, but it isn't. That apparent overlap is actually the dark black border of "dropdown". All dropdowns have a black border on the top and left sides.

How is the "Read Only Textarea" wider than the textlist? It doesn't have a background, so I don't see how you're judging this one. Read-only textareas have the same coordinates as the normal textareas, and if you look at the adjacent textarea, it is pixel perfect.

So, as you can see, most of these things that appear to be inconsistencies are optical illusions due to how Irrlicht draws its elements. Except for inventory slots, which, as I explained, are on purpose.

Image Error 404 OSS Not Found Image
Attachments
unknown_block.png
(545 Bytes) Not downloaded yet
 

Chiantos
Member
 
Posts: 376
Joined: Sun Jan 15, 2017 09:04
 

User avatar
voxelproof
Member
 
Posts: 888
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: Post your screenshots!

by voxelproof » Mon Jun 17, 2019 17:11

Unfortunately I couldn't post it without resizing, but still it shows how magnificent some landscapes are when rendered in MT 5.

Image
Attachments
Minetest_5_0_1.png
(1021.9 KiB) Not downloaded yet
Game is the essence of life; therefore every good game makes life better.
 

User avatar
TumeniNodes
Member
 
Posts: 2825
Joined: Fri Feb 26, 2016 19:49
Location: in the dark recesses of the mind
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes

Re: Post your screenshots!

by TumeniNodes » Tue Jun 18, 2019 02:34

convert to .jpg next time
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

User avatar
voxelproof
Member
 
Posts: 888
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: Post your screenshots!

by voxelproof » Tue Jun 18, 2019 03:20

TumeniNodes wrote:convert to .jpg next time


I tried it, it generates 64kB file with the best quality setting. But the image lost a lot of sharpness -- the textures got blurred to an unacceptable degree.
Game is the essence of life; therefore every good game makes life better.
 

User avatar
duane
Member
 
Posts: 1583
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: Post your screenshots!

by duane » Tue Jun 18, 2019 03:40

voxelproof wrote:Unfortunately I couldn't post it without resizing, but still it shows how magnificent some landscapes are when rendered in MT 5.

Image


Looks good except for that nasty river. : )

---------------------------------------------------

Image

Image

Image
Attachments
screenshot_20190616_042539.jpg
(307.92 KiB) Not downloaded yet
screenshot_20190616_225554.jpg
(116.6 KiB) Not downloaded yet
screenshot_20190617_004538.jpg
(446.12 KiB) Downloaded 1 time
Believe in people and you don't need to believe anything else.
 

User avatar
Linuxdirk
Member
 
Posts: 2177
Joined: Wed Sep 17, 2014 11:21
Location: Germany
In-game: Linuxdirk

Re: Post your screenshots!

by Linuxdirk » Tue Jun 18, 2019 05:00

v-rob wrote:[...] because that is how Irrlicht draws them.

So it is basically just fixing the messed up sizes and positions from Irrlicht using some kind of postprocessor?

v-rob wrote:How is the "Read Only Textarea" wider than the textlist?

Image
 

User avatar
duane
Member
 
Posts: 1583
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: Post your screenshots!

by duane » Tue Jun 18, 2019 05:11

Linuxdirk wrote:
v-rob wrote:[...] because that is how Irrlicht draws them.

So it is basically just fixing the messed up sizes and positions from Irrlicht using some kind of postprocessor?

v-rob wrote:How is the "Read Only Textarea" wider than the textlist?

Image


That looks like you're counting from the light-gray border around the field off the screen to the left. If you consider the borders, they align perfectly.

-----------------------------------------------

Image
Attachments
screenshot_20190616_215342.jpg
(247.83 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
voxelproof
Member
 
Posts: 888
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: Post your screenshots!

by voxelproof » Tue Jun 18, 2019 06:12

duane wrote:Looks good except for that nasty river. : )



Look at it as at a waterfall under construction ;)

___________________________________

Journey to the Center of the Earth. The first shot taken at the height -1500, the two latter at - 7300. These oceans are up to -10000 nodes deep. And the stunningly awesome massive caves beg for a good story and a game. The scenario is written already :)

Image

Image

Image
Attachments
intothedeep4.png
(439.29 KiB) Not downloaded yet
intothedeep3.png
(864.39 KiB) Not downloaded yet
intothedeep.png
(446.28 KiB) Not downloaded yet
Game is the essence of life; therefore every good game makes life better.
 

User avatar
PEAK
Member
 
Posts: 150
Joined: Mon Jun 08, 2015 20:32
In-game: PEAK

Re: Post your screenshots!

by PEAK » Tue Jun 18, 2019 12:52

... and when you are tired from all these overwhelming landscapes ...
join the serene silence of a Japanese Tea Room:

Image

Image
I am okay with using the screenshots in all my posts for the website of Minetest (http://minetest.net).
 

User avatar
duane
Member
 
Posts: 1583
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: Post your screenshots!

by duane » Wed Jun 19, 2019 00:55

PEAK wrote:... and when you are tired from all these overwhelming landscapes ...
join the serene silence of a Japanese Tea Room:


Rocky pinnacles --
Historic architecture,
Very impressive.

------------------------------------------------------------------

Image

Image

Image
Attachments
screenshot_20190616_041430.jpg
(256.92 KiB) Not downloaded yet
screenshot_20190618_075916.jpg
(422.87 KiB) Not downloaded yet
screenshot_20190618_011300.jpg
(252.55 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

ShadMOrdre
Member
 
Posts: 523
Joined: Mon Dec 29, 2014 08:07
Location: USA
GitHub: ShadMOrdre
In-game: shadmordre

Re: Post your screenshots!

by ShadMOrdre » Wed Jun 19, 2019 07:09

Even Tea Houses need setting, or company....

Image
Image
Image
Attachments
screenshot_20190618_235142.jpg
(585.26 KiB) Not downloaded yet
screenshot_20190618_233615.jpg
(325.72 KiB) Not downloaded yet
screenshot_20190617_000753.jpg
(269.06 KiB) Not downloaded yet
MY MODS: lib_ecology lib_materials lib_clouds lib_node_shapes ---- Inspired By: Open Source Virtual World Simulator Opensimulator.
 

User avatar
voxelproof
Member
 
Posts: 888
Joined: Sat Aug 05, 2017 08:13
Location: Europe

Re: Post your screenshots!

by voxelproof » Wed Jun 19, 2019 07:17

PEAK wrote:... and when you are tired from all these overwhelming landscapes ...
join the serene silence of a Japanese Tea Room:


A piece of decent Japanese architecture and a clean, minimalistic interior design characteristic of that culture. But I still miss something... These buildings look stranded without the tea garden surrounding them ;) (Yeah, I know we don't have tea plants yet in MT)

_________________

oss:
Looking for the cumuli.

Image
Attachments
clouds.jpg
(64.81 KiB) Not downloaded yet
Game is the essence of life; therefore every good game makes life better.
 

User avatar
duane
Member
 
Posts: 1583
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: Post your screenshots!

by duane » Thu Jun 20, 2019 00:19

Sucks to be belly-deep in snow...

Image
Attachments
screenshot_20190618_002759.jpg
(123.78 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
duane
Member
 
Posts: 1583
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

Re: Post your screenshots!

by duane » Thu Jun 20, 2019 04:27

Decided that I needed some crystals. I should probably think of some practical use for them...

Image

Image

Image
Attachments
screenshot_20190619_231025.jpg
(232.18 KiB) Not downloaded yet
screenshot_20190619_230902.jpg
(110.03 KiB) Not downloaded yet
screenshot_20190619_230621.jpg
(345.81 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
duane
Member
 
Posts: 1583
Joined: Wed Aug 19, 2015 19:11
Location: Oklahoma City
GitHub: duane-r

The Brown Streak

by duane » Thu Jun 20, 2019 13:24

Just for fun, I decided to put a rail in the middle of my roads. I can honestly say that it's the worst way to travel that I've ever experienced... but it works. I can run a loop around an entire continent while the terrain is generating -- my last try took three game days to come back to its starting point. (And I lost my cart, getting out.)

Image

Image

Image
Attachments
screenshot_20190620_083550.jpg
(419.96 KiB) Not downloaded yet
screenshot_20190620_081156.jpg
(309.63 KiB) Not downloaded yet
screenshot_20190620_081605.jpg
(469.81 KiB) Not downloaded yet
Believe in people and you don't need to believe anything else.
 

User avatar
Hume2
Member
 
Posts: 330
Joined: Tue Jun 19, 2018 08:24
Location: Czech Republic
GitHub: Hume2
In-game: Hume2

Re: The Brown Streak

by Hume2 » Thu Jun 20, 2019 17:26

duane wrote:Just for fun, I decided to put a rail in the middle of my roads. I can honestly say that it's the worst way to travel that I've ever experienced... but it works. I can run a loop around an entire continent while the terrain is generating -- my last try took three game days to come back to its starting point. (And I lost my cart, getting out.)

What is the hypercube in your inventory?
If you lack the reality, go on a trip or find a job.
 

PreviousNext

Return to General Discussion



Who is online

Users browsing this forum: Hume2 and 3 guests