Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

need to read random textures into an existing texture type #18

Closed
stscieisenhamer opened this issue May 3, 2018 · 5 comments
Closed
Labels
bug Something isn't working gui Directly related to the graphical user interface

Comments

@stscieisenhamer
Copy link
Contributor

Issue

Need to clarify, when reading a "texture" mask, which "texture" that map should go into.

@stscieisenhamer stscieisenhamer added bug Something isn't working gui Directly related to the graphical user interface labels May 3, 2018
@carolc91
Copy link

carolc91 commented May 3, 2018

Clarification - we really want to specify a texture with known parameters. Right now we are allowed about 5 - big dots, small dots, lines, stars and clusters (which are like stars but 3 stars together). What I would like is to be able to have a couple of user textures. For example if I use a texture for big dots which is defined
dots = DotsTexture(
profile='spherical',
diameter=9.0,
height=4.0,
grid=HexagonalGrid(spacing=7.0)
)

It would be nice to have one that is similar, that I can modify in the configuration file
to whatever I want. Then I can have dots and also something called USER1 texture such as
USER1 = DotsTexture(
profile='spherical',
diameter=12,
height=2.0,
grid=HexagonalGrid(spacing=7.0)
)

Somehow though at the bottom of the config file I have
[texture_mappings]
small_dots = ['gas']
dots = ['spiral', 'dust']
lines = ['bulge', 'disk', 'filament']

So it would be nice to have something like
USER1= ['custom1']

@stscieisenhamer
Copy link
Contributor Author

which you can do right now. If you have modified your config as you have shown, then in the Textures layer, USER1 should appear, along with the small_dots, etc. Now, when you select that, regions drawn under that will render out with the specified texture.

@stscieisenhamer
Copy link
Contributor Author

However, right now, when saving and reloading the masks, there are ambiguities which I am resolving right now.

@stscieisenhamer
Copy link
Contributor Author

hmmmm, but there is a bug that is preventing rendering right now. will fix shortly.

@stscieisenhamer
Copy link
Contributor Author

I believe this is resolved at the moment. Closing. If there is more to discuss, this issue should be re-opened.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working gui Directly related to the graphical user interface
Projects
None yet
Development

No branches or pull requests

2 participants