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

Added AlphaBrush option to Optigon's Sculpt tool #32

Closed
wants to merge 3 commits into from
Closed

Added AlphaBrush option to Optigon's Sculpt tool #32

wants to merge 3 commits into from

Conversation

Micheus
Copy link
Collaborator

@Micheus Micheus commented Nov 13, 2012

NOTE: - Added a "quick" smooth mode for all sculpt options by pressing [shift] key while dragging the mouse with LMB pressed; [Micheus]

  • Added vertex highlighting resource for best show the magnet influence on mesh; [Micheus]
  • It was added a new option "Alpha Brush" to Optigon's Sculpt module.
    This option has three modes: Sculpt (L); Flat Sculpt ([F]) and Stamp ([Alt]+LL). In the Stamp mode the field Strengh has no effect over the mesh modification and Weight field represents the max height (in Wings3d units) when a pixel in the brush image is white. The brush image must be load by using the Sculpt Preference dialog. [Micheus]

** I tried to make the corrections that you suggested me.

@dgud
Copy link
Owner

dgud commented Nov 14, 2012

I you any need help send me an email, but in wings_image see how the other functions are done.
This is needed because the opengl context can be recreated after a resize of the window and then
the textures are lost and needs to be loaded to opengl again.

@Micheus
Copy link
Collaborator Author

Micheus commented Nov 16, 2012

Dan, could you please check if it's all right now.
I did the changes to e3d_image by adding new functions for convert RGB/RBG,RGBA/RBGA,A -> Gray

…g [shift] key while dragging the mouse with LMB pressed;

- It was added a new option "Alpha Brush" to Optigon's Sculpt module.
This option has three modes: Sculpt (L); Flat Sculpt ([F]) and Stamp ([Alt]+LL). In the Stamp mode the field Strengh has no effect over the mesh modification and Weight field represents the max height (in Wings3d units) when a pixel in the brush image is white. The brush image must be load by using the Sculpt Preference dialog.
NOTE: It was fixed an issue when drawing the brush image [thanks oort]
NOTE: It was fixed an issue when drawing the brush image [thanks oort]
@Micheus Micheus closed this Dec 13, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants