Comments (6)
Saving the image directly uses the preview image so if you manually shrink the paint texture window as small as possible it will be less blurry.
Exporting the default preview size without smoothing to 128x128 end up with dots instead of lines which seems too broken to be useful.
Ideally it should be rendered at the specified size. Either changing the displayed widget size or rendering offscreen. I haven't looked into these.
from mm3d.
You can use Polygons: Filled
to simply remove the lines.
from mm3d.
Thanks for looking in to this and the further info. I agree (and expected) that below a certain size the lines would start to become broken and not much use without anti-aliasing.
Personally I would still find the ability to only export the blue areas (without anti-aliasing) because, if I'm correct, that should give a pixel-perfect image of which bits of the skin are actually used by the model. Yes?
I'm interested in how you got the image that you posted because, apart from the white dots, that is basically what I was looking for. Is that something that is possible to export now, or was that from your testing?
I wasn't sure what you meant by "Saving the image directly". Do you just mean hitting this button?
Thanks again.
from mm3d.
I acknowledge getting a clean image is an issue and should be fixed by adding code to rendering the texture at the specified size instead of scaling it. There would be no anti-aliasing or broken lines at any image resolution, just like the preview window.
"Saving the image directly uses the preview image" -> Saving the image (the Save Texture… button) uses the literal image displayed in the window and then scales it to the specified size. If you make the window smaller there is less scaling when exporting 128x128. It's still blurry though because I didn't get the preview to exactly 128x128.
(Result of Save Texture… This is unmodified Maverick 1.3.13.)
The image I previously posted changed this line
mm3d/src/implui/painttexturewin.cc
Line 238 in 53b0d1b
from Qt::SmoothTransformation to Qt::FastTransformation. This changes the image scaling interpolation from (probably) Linear to None. No anti-aliasing but broken lines.
You can do the same thing by taking a screenshot of the Paint Texture window, cropping the image, and scaling it to 128x128 with no interpolation.
(The image you posted + GIMP: Scale Image to 128x128 with Interpolation: None.)
Adding an option to "disable anti-aliasing" (use Qt::FastTransformation scaling mode) is a hacky workaround that doesn't work with lines enabled (users should resize the window to match the target size as best they can and/or disable lines). If the code is changed so that the image is rendered at the specified size, there would be no image scaling / anti-aliasing and so a "disable anti-aliasing" option would be entirely unnecessary.
When I was working on Maverick 1.3.13, I viewed it as possibly the final release. I plan to make one more Maverick release to fix a rendering issue and include macOS again but beyond that I'm not sure. I haven't been motivated to work on it in the past 5 months and in general I've lost interest in working on it. It remains to be seen if I decide to invest time to try to fix this issue.
from mm3d.
Thank you for the input once again. I had thought about simply resizing a screenshot without interpolation. So I can certainly do that if needs be.
It's a shame to hear that work/support for Maverick is drawing to a close, but also completely understandable.
from mm3d.
Thank you for the input once again. I had thought about simply resizing a screenshot without interpolation. So I can certainly do that if needs be.
It's a shame to hear that work/support for Maverick is drawing to a close, but also completely understandable.
If you want to use it as an editor my fork (https://github.com/mick-p1982/mm3d) makes many improvements. But be warned it's MM3D files only work with itself.
from mm3d.
Related Issues (20)
- Add/delete items to a model with frame animations HOT 2
- Material/light parameters are backward, should be swapped HOT 2
- 1.3.13 Minor Animation Issue When Starting New Animation HOT 2
- md3filter.cc DBL_MIN should probably be -DBL_MAX HOT 1
- Groupwin (Clean up) doesn't remove materials (as advertised)
- Zero divide is missing from normalize/normalize3 (glmath.h/glmath.cc) functions HOT 2
- edgedivcmd.cc reverses addTriangleToGroup's args HOT 1
- glmath.h operator-= and += don't return & reference
- Model>Edit Model Meta Data... does not save changes HOT 1
- Opening and Immediately Closing
- knuckleheaded code in bsptree.cc HOT 2
- After creating triangle using "Make face from vertices", allow "Invert normals" to operate on this newly added triangle HOT 2
- Adjustable radius and strength options for attract tools.
- Support spacemice HOT 3
- two years passed without release HOT 3
- Grid snapping? HOT 1
- I want to report one issue and one question HOT 8
- Add Pixelated Texture view HOT 1
- Animation mode won't allow moving verticies on Linux HOT 3
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mm3d.