Lurker News

Comments (56) 21 threads

scrumper2 replies#
This looks pretty great, I'll play with it. Can you explain this from the Readme?

Unfortunately, it's difficult to compute the joint formed at the boundaries of these combined shapes, so sufficient texturing is needed on the original solids for a decent result.
What is hard about computing the joint? Why does texturing help? My question is from a perspective of curious ignorance, not arrogance (i.e. me saying "don't be silly, it's easy.")

fogleman1 reply#
The texturing just helps your eye "fill in the gaps." As far as difficulty, I just don't know of a general way to do it. The only thing that comes to mind is some sort of iterative approximation or something.
pierrec#
If I understand correctly, we want to compute co-edges here. I believe there are algorithms to do this, I know SketchUp has this feature [1]; also Gmsh [2]; and I remember seeing Blender plugins that do the same thing (can't seem to find them now...) (edit: Actually Blender does this without plugins: "Join" 2 intersecting objects, use the "Intersect" feature, and it will generate and select the exact co-edges.)

[1] https://www.google.com/search?tbm=isch&q=site:http:%2F%2Fper...
[2] https://help.sketchup.com/en/article/3000100 (last figure and text in the section "Subtracting one solid from another")

f2f3 replies#
unless you're dealing with sufficiently large integers computing the intersect between a line and a plane with any robustness is impossible on modern computers with float or double. sometimes when you intersect meshes that have nearly coplanar faces, the intersection might shoot vertices near some infinity because of division inaccuracy.
scrumper#
Yes that makes sense. Thanks.
wlievens#
Would symbolic arithmetic help with that? Of is that just too slow a priori?
fogleman#
Nice. I love Cairo. I'll check it out.
philbarr3 replies#
Whenever I see install instructions like this:

OS X

  brew install cairo pkg-config
  go get github.com/ungerik/go-cairo
Ubuntu

  sudo apt-get install libcairo2-dev pkg-config
  go get github.com/ungerik/go-cairo
... I always think there should be a "default" instruction page linked to somewhere that explains what brew and apt-get are (and other things). I mean, I know you can't be expected to go to the lengths of explaining this stuff for every single project, but this is the kind of thing that will inspire the next generation. So maybe we, as a community could come up with a, "you don't know what this is? look here..." kind of page that people can put on their github projects.
pradn1 reply#
Wholeheartedly agreed. When I was learning about OSS, I had no idea what a "pull request" was but people kept mentioning it. A standard guide on how OSS works with Github, Linux, and related tools would be immensely helpful in welcoming new developers into the OSS world.
pjc50#
The google answer for "what is a pull request" is quite good.
totalart90001 reply#
We already have something. It's called man pages. I say this kind of tongue-in-cheek but I'm also serious about it at the same time.
spdustin1 reply#

    man brew
That won't help if you don't have Homebrew [0] installed.

[0]: http://brew.sh

ekianjo#
You can use a search engine, as well. Reasonably effective.
soared#
I completely agree. If you were linked to a github page out of the blue or for the first time its incredibly intimidating. Most notably is the first text you read on the page isn't a title, but a list of folders/files. Why not put the dam title and description at the top?

One line of, "Hows this work?" would help a lot of people. I took the git lesson from code academy and have messed around in ubuntu but am still very intimidated by github and the brutal installation instructions every project has (or doesn't have).

WhiteNoiz32 replies#
That's pretty cool. A commandline app that just takes an .OBJ file and renders it to an .SVG would actually be pretty useful (viewport position / orientation would of course need to be options as well).
cirocosta#
Agree! That'd be pretty cool
fogleman3 replies#
Even cooler if I could figure out some general way of parameterizing & texturing the surface instead of just rendering the triangles. Any ideas?
fogleman#
Awesome, thanks. I'll check that out.
nikolay2 replies#
Great! Hughes Hoppe's work is amazing!

Continue this thread — 2 replies

Load more comments