Git Product home page Git Product logo

Comments (21)

zero01101 avatar zero01101 commented on August 15, 2024 1

sure can, just pull in the latest updates to the main branch, select the dream tool, drag-n-drop any arbitrary rectangle of your choosing, and click inside it to confirm your region :) the step-by-step example mentions it, just search the page for "crosshair"

from openoutpaint.

zero01101 avatar zero01101 commented on August 15, 2024

hah, "discrete x/y axes for reticle" has actually been on the //todo for a while :) one of these days i'll stop ignoring that one...

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

This one will be... a bit interesting to implement. Mainly because, when scaling the cursor, the number on the slider should represent the horizontal or vertical resolution of the cursor? We could display both on the slider bar, but only one would be text-editable.

from openoutpaint.

zero01101 avatar zero01101 commented on August 15, 2024

i honestly kinda wonder if this should be an entirely different tool, similar to the marquee selector; just drag over the region to dream over and probably some kind of input confirmation?

from openoutpaint.

TiagoTiago avatar TiagoTiago commented on August 15, 2024

Maybe click uses the currently set size, and click-and-drag will resize relative to the currently set size, possibly with a confirm button at the end? Though, it could be useful to also have the option of setting the size you want by typing and/or with sliders as well.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Well, we do have some events from the mouse lib that can differentiate a drag from a click, so this could be something relatively easy to implement.

Just some qualms over the actual generation resolution though. Maybe we can assume drag areas will be one-to-one...

from openoutpaint.

TiagoTiago avatar TiagoTiago commented on August 15, 2024

Just some qualms over the actual generation resolution though. Maybe we can assume drag areas will be one-to-one...

Personally, I think it would be intuitive if that was the default. Perhaps even have the checkbox from #90 be checked by default?

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

We could do that, actually. I feel like #99 is confusion due to this functionality, and anyway, the settings are saved in local storage, so one would only have to change that once.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

From 3ef2bce sync is default.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

@TiagoTiago please check if this (fb83b12) is okay for now It's on testing branch as well. If you find any issues using the tool, please tell us here. For now, supports only one-to-one resolution. Drag creates an area, left click accepts, right click resets.

Plans to support changing the resolution for this is on the board, but not implemented yet.

from openoutpaint.

TiagoTiago avatar TiagoTiago commented on August 15, 2024

Showing some sort of indicator of what to do to confirm/cancel the area selection would probably be a good idea, since not all users will read documentation and stuff.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

I think this would start polluting the cursor quite a bit... We can try adding a status bar like in blender, photoshop and krita:

image

Some status and error messages could also use this, so wouldn't be just for control overview.

from openoutpaint.

TiagoTiago avatar TiagoTiago commented on August 15, 2024

Maybe use the same menu system that's used for interacting with new generations, and for interrupting/canceling unfinished ones?

from openoutpaint.

TiagoTiago avatar TiagoTiago commented on August 15, 2024

Or perhaps like the text that indicates the size of the cursor on the canvas?

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Yeah, that's what I was trying to avoid... Putting much more stuff in the cursor, especially considering these instructions are useful for someone's first time using the tool, but kind of becomes a hindrance afterwards.

from openoutpaint.

TiagoTiago avatar TiagoTiago commented on August 15, 2024

Status bar would be an welcome addition though. But probably a good idea to make it optional for people that wanna maximize screen space.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Yeah, I'm thinking that 25px would not be a huge loss. Still, a way to make it act like a windows bar and show only when there is a new notification or something like that would be best. I was even thinking of making some of the floating windows optional, as not everyone wants their screen occupied by the layers window, especially when doing a quick sketch/generation.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

And many people would be okay with just ctrl-z and ctrl-y without the need to see the full history.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Maybe now it is more intuitive? It functions like other area interactions now. Hover converts cursor into pointer, it interacts more clearly with already generated images. Selection acceptance now requires a click inside the area itself.

from openoutpaint.

seijihariki avatar seijihariki commented on August 15, 2024

Will consider this as done for now. Status bar is in development, but will take a bit. The changes done to the drag select interface should make it intuitive enough for now.

from openoutpaint.

mpmo10 avatar mpmo10 commented on August 15, 2024

You can select non square Dream (D)? How?

from openoutpaint.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.