You are not logged in. Your edit will be placed in a queue until it is peer reviewed.
We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.
Required fields*
- 1$\begingroup$ Dan, I've added an image describing my expectation as an "answer". $\endgroup$Sharat V Chandrasekhar– Sharat V Chandrasekhar2017-06-29 16:28:03 +00:00Commented Jun 29, 2017 at 16:28
- 1$\begingroup$ You probably want to search for CSG (Constructive Solid Geometry) and Stencils. For example, this usenix.org/legacy/events/usenix05/tech/freenix/full_papers/… might allow you to achieve the desired results. Similarly, perhaps look at opencsg.org ? Actually, I might add this as a possible answer if no other answers appear $\endgroup$Simon F– Simon F2017-06-29 16:43:57 +00:00Commented Jun 29, 2017 at 16:43
- 1$\begingroup$ Thanks! In fact, I was reading that paper last night, but was hoping that OpenGL would have provided a way of accomplishing this with just basic stencil functions. It looks like quite an involved task! $\endgroup$Sharat V Chandrasekhar– Sharat V Chandrasekhar2017-06-29 16:50:45 +00:00Commented Jun 29, 2017 at 16:50
- 1$\begingroup$ Simon, one of the issues that I'd have with using the EXCELLENT CSG resources is that I'm accessing OpenGL via Visual Basic modules linked to an Excel spreadsheet from which I drive my application. I do not know whether or not the project files for MSVC6 will include extensions for VBA. $\endgroup$Sharat V Chandrasekhar– Sharat V Chandrasekhar2017-06-29 17:49:04 +00:00Commented Jun 29, 2017 at 17:49
- 1$\begingroup$ I´d treat the cylinder as a "light source", putting its geometry as a shader uniform and test fragment position against the cylinder, clipping fragments inside. Not sure if it is feasible for you or even interesting but in case you or others are stuck I´m just saying there is a way :-) $\endgroup$Andreas– Andreas2017-09-13 18:08:29 +00:00Commented Sep 13, 2017 at 18:08
| Show 1 more comment
How to Edit
- Correct minor typos or mistakes
- Clarify meaning without changing it
- Add related resources or links
- Always respect the author’s intent
- Don’t use edits to reply to the author
How to Format
- create code fences with backticks ` or tildes ~ ```
like so
``` - add language identifier to highlight code ```python
def function(foo):
print(foo)
``` - put returns between paragraphs
- for linebreak add 2 spaces at end
- _italic_ or **bold**
- indent code by 4 spaces
- backtick escapes
`like _so_` - quote by placing > at start of line
- to make links (use https whenever possible) <https://example.com>[example](https://example.com)<a href="https://example.com">example</a>
- MathJax equations
$\sin^2 \theta$
How to Tag
A tag is a keyword or label that categorizes your question with other, similar questions. Choose one or more (up to 5) tags that will help answerers to find and interpret your question.
- complete the sentence: my question is about...
- use tags that describe things or concepts that are essential, not incidental to your question
- favor using existing popular tags
- read the descriptions that appear below the tag
If your question is primarily about a topic for which you can't find a tag:
- combine multiple words into single-words with hyphens (e.g. computational-geometry), up to a maximum of 35 characters
- creating new tags is a privilege; if you can't yet create a tag you need, then post this question without it, then ask the community to create it for you