2) Each "chapter" is quite brief, but also robust. It has some math but also has psuedocode. I would like more code rather than math, but that's my programmer preference. Also lots of interactive examples.
-
Näytä tämä ketju
-
I think about this page because I have found myself wanting a page like it for other subjects. It'd be nice to have a page that aggregates them into a table of contents. A Primer on Heightfields, Simulating Lighting, Simulating Physics.
1 vastaus 0 uudelleentwiittausta 0 tykkäystäNäytä tämä ketju -
If you've gotten this far and liked the Primer on Bezier Curves, I recommend following the author,
@TheRealPomax.1 vastaus 0 uudelleentwiittausta 3 tykkäystäNäytä tämä ketju -
Vastauksena käyttäjälle @tloch14
And if anyone has any suggestions around improving the Primer, I'm always up for thinking about ways to make it happen. What were the two things you had to piece together rather than being covered explicitly?
2 vastausta 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @TheRealPomax
TBH it was years ago and I don't remember exactly. I was rasterizing 3D poly-curves to a heightfield. Saying that out loud isn't knocking anything loose in my memory though. If I think of it I'll be sure to let you know.
1 vastaus 0 uudelleentwiittausta 1 tykkäys -
Vastauksena käyttäjille @tloch14 ja @TheRealPomax
You also may have added things since I was heavily referencing the book. I don't recall the chapter "Working in 3D Normals" which was exactly what I was doing.
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @tloch14
heh, yeah it may not update frequently, but it's still getting new content every half year or so =P
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @TheRealPomax
I guess one thing I'm not seeing that is useful for drawing poly-curves is knowing when you're past the end of the curve segment, and I don't see that. If I recall, it's mostly just a dot product check. >0 for one end, <0 for the other end.
2 vastausta 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @tloch14
Hm, in what context? You can only run through each segment using a time interval [0,1] so your control value should already be able to inform you that you've "fallen off" the segment on either end by being <0 or >1?
1 vastaus 0 uudelleentwiittausta 0 tykkäystä -
Vastauksena käyttäjälle @TheRealPomax
To rasterize, I would generate a bounding box, then pass that to the GPU with the curve data. Per pixel, it would find the nearest point on the curve, if that point was within the drawing width, it would draw. Also, if not past the end of the curve.
1 vastaus 0 uudelleentwiittausta 0 tykkäystä
If you allowed drawing past the end of the curve, you would get "rounded" end-caps that would draw over the next contiguous curve.
Lataaminen näyttää kestävän hetken.
Twitter saattaa olla ruuhkautunut tai ongelma on muuten hetkellinen. Yritä uudelleen tai käy Twitterin tilasivulla saadaksesi lisätietoja.