hey @Sean, i made a picture of pentagon(with black background and white foreground) using my graph plotter app
ebm.png
its resolutions are 599x599
Nice
after i converted the png to bw file(it gave a little warning which is normal), i made an ebm inside of mged using the command
in pentagon ebm f ebm.bw 599 599 20
it came out like this on the graphic window
(look at one of the sides of the pentagon)
it is not like the other sides
what happened here?
Screenshot-from-2020-07-26-00-10-35.png
the base of both the pentagons are weird
Might be one pixel thick? do they raytrace?
@Sumagna Das that's just because those voxels are perfectly aligned horizontally with the axis, so the wireframe displays them more simply. The other sides are not axis-aligned, so you see the stair-stepping. That said, the real shape can be seen if you run a raytrace, like rt -s1111
if you don't like that one side is clean like that, rotate the image slightly so that no edges are axis aligned. Increasing the resolution will also help a little bit (e.g., 4096x4096) if you rotate. Then you can raytrace with hypersampling or downsampling to smooth out the result.
Last updated: Jan 09 2025 at 00:46 UTC