-
Notifications
You must be signed in to change notification settings - Fork 2k
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
Displacement mapping a.k.a. bump mapping at the slicing stage (reusing Fuzzy Skin backend code). #8649
Comments
…rusa3d#8649). Flip y to fix image orientation. FIXME: "double free or corruption (!prev)" etc. thrown by libpng on changing images.
…rusa3d#8649). Move image loading to the main thread for reliability.
With this 1024x1024 texture and large model (The 111x107.87x196 mm model shown), it seems to hang at 90% though the Export option is available (on i7-12000F and 16GB RAM, Fedora 37). After a few minutes it says Exporting. :edit: It eventually saved correctly, after several minutes. |
So what ever came of this? |
You tell me...It works fine but no one noticed. Recently there was more discussion of this feature not existing here: 3D Print Any Texture You Want! on YouTube (he uses dense meshes, and both the description and comments say it is unfortunate the feature doesn't exist...) |
@Poikilos what do you mean noone noticed? Can we bundle this with Orca/Bambu perhaps? |
Well, I mean I thought more people might find, react, and discuss this issue, and maybe maintainers would put it up for discussion, since people talk about the feature a lot just not on GitHub :) |
I want it!
…On Thu, Mar 21, 2024 at 8:45 PM Jacob Gustafson ***@***.***> wrote:
Well, I mean I thought more people might find, react, and discuss this
issue, and maybe maintainers would put it up for discussion, since people
talk about the feature a lot just not on GitHub :)
—
Reply to this email directly, view it on GitHub
<#8649 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ACGUU5UYNHA5DJBRPPYOQLTYZN5KXAVCNFSM553AYQGKU5DIOJSWCZC7NNSXTN2JONZXKZKDN5WW2ZLOOQ5TEMBRGQYTCNRUGMZQ>
.
You are receiving this because you commented.Message ID:
***@***.***>
|
Sad that there isn't a star feature for issues, this would be such a huge addition for micro detailing. |
Well, you could react to the original post by clicking emoji then thumbs up, or in this case, click the thumbs up that is already there. Typically people add "thumbs up" on issues on GitHub, so maybe if enough people do, it will get traction. |
Is your feature request related to a problem? Please describe.
Lol "I'm always frustrated when" the model I download is dozens of megabytes and runs at 1 frame per 2 seconds because the author had to apply a displacement map to the mesh with automatic subdivision, yet when I decimate it to 1/20 of its original file size the model isn't visibly different but navigation is smooth.
Describe the solution you'd like
I would like to help PrusaSlicer start an industry trend of allowing a displacement map to be applied during the slicing stage similar to the vb_fuzzy_skin branch. It is good for many simple tasks like brick walls, which are popularly uploaded to model sites with displacement maps applied. For example, https://www.thingiverse.com/thing:5190970 makes Blender run at 1 frame per 30+ sec on an old i7 while doing any editing causing 10% more sadness per frame.
Describe how it would work
For each island on a layer, the distance from the center of that island would be used to determine an arc length to map back to the texture using a pixels_per_mm value (that the user could set). For the vertical mapping, the z coordinate of the bottom of the layer + 1/2 of the layer height would be used instead, against the same pixels_per_mm value.
bump-degrees-as-mm
mode can prevent texture skewing on models that taper, where keeping pixels aligned vertically is preferred over stretch prevention.Describe alternatives you've considered
Additional context
the 2021 vb_fuzzy_skin branch: https://github.com/prusa3d/PrusaSlicer/tree/vb_fuzzy_skin:edit: master.Tasks:
fuzzy_skin_displacement_map
bump-map-path
fuzzy_skin_point_dist
as pixels per mm if map path is not blank)bump-pixels-per-mm
fuzzy_skin_thickness
(default .3)bump-mm (default around 1) and bump-offset (around -.5 so gray means unchanged)fuzzy_degrees_as_mm
to enable cylindrical mapping (0 for square mapping).bump-degrees-as-mm
brightnessLuma from it, showing test output on the console to that effect.Forum topic:
The text was updated successfully, but these errors were encountered: