-
Advanced Member
Frequent Contributor
Accelerated Stippled Line Drawing
Is stippled line drawing (patterns) supported by the 3D accelerator? How does it work? Any document out there describes the inner working of 3D hardware?
Thanks.
-
Junior Member
Regular Contributor
Re: Accelerated Stippled Line Drawing
-
Advanced Member
Frequent Contributor
Re: Accelerated Stippled Line Drawing
I meant to say if this patterned line drawing is supported by hardware naively or the API layer has to setup the geometry to mimic stipples????
-
Member
Regular Contributor
Re: Accelerated Stippled Line Drawing
glfreak
If you want some advanced stippling (with images, or with rectangular patterns), so you have to create quadstrip for each line-contour with integrated width, stored at each vertex, and do some vertex-shader trivial math to make stipples be zoom-independent.
[EDIT]
AFAIK, stippling is not HW-accelerated, but I can be wrong. Anyway, this built-in stippling is very weak, so I recommend to make it your-own.
-
Member
Regular Contributor
Re: Accelerated Stippled Line Drawing
Some generations of GPU have stipple hardware. The ones that don't would need to implement that functionality through the pixel shader probably.
-
Re: Accelerated Stippled Line Drawing
Incidentally there's a nice little Geforce/Quadro comparison over here. Hardware support for all sorts of stuff like AA points/lines, logic ops, clip regions, clip planes, 2 sided lighting, quad buffer stereo, etc.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules