Click here to Skip to main content
15,913,115 members
Home / Discussions / Managed C++/CLI
   

Managed C++/CLI

 
AnswerRe: Linker error when using AlphaBlend Pin
Michael Dunn3-Mar-06 8:24
sitebuilderMichael Dunn3-Mar-06 8:24 
GeneralRe: Linker error when using AlphaBlend Pin
Toubou3-Mar-06 20:02
Toubou3-Mar-06 20:02 
QuestionWin32 C++ Code To get L2Cache Size and Speed of the system Pin
virz2-Mar-06 17:27
virz2-Mar-06 17:27 
GeneralRe: Win32 C++ Code To get L2Cache Size and Speed of the system Pin
oshah9-Mar-06 5:48
oshah9-Mar-06 5:48 
Questionhelp me how to design the matrix using the DEV C++ Pin
Paranoiana2-Mar-06 6:57
Paranoiana2-Mar-06 6:57 
AnswerRe: help me how to design the matrix using the DEV C++ Pin
Andy Brummer2-Mar-06 9:09
sitebuilderAndy Brummer2-Mar-06 9:09 
AnswerRe: help me how to design the matrix using the DEV C++ Pin
El Corazon2-Mar-06 9:35
El Corazon2-Mar-06 9:35 
Questioni need help please anyone Pin
pete02-Mar-06 1:23
pete02-Mar-06 1:23 
AnswerRe: i need help please anyone Pin
Ingo2-Mar-06 2:32
Ingo2-Mar-06 2:32 
GeneralRe: i need help please anyone Pin
Neville Franks2-Mar-06 12:31
Neville Franks2-Mar-06 12:31 
AnswerRe: i need help please anyone Pin
pete03-Mar-06 8:12
pete03-Mar-06 8:12 
GeneralRe: i need help please anyone Pin
united185-Mar-06 8:25
united185-Mar-06 8:25 
Questionserial port sniffer ( spy or monitor) Pin
szilics2-Mar-06 0:07
szilics2-Mar-06 0:07 
AnswerRe: serial port sniffer ( spy or monitor) Pin
Cedric Moonen2-Mar-06 3:12
Cedric Moonen2-Mar-06 3:12 
AnswerRe: serial port sniffer ( spy or monitor) Pin
Rick Crone2-Mar-06 10:45
Rick Crone2-Mar-06 10:45 
AnswerRe: serial port sniffer ( spy or monitor) Pin
mikanu5-Mar-06 11:36
mikanu5-Mar-06 11:36 
Questionopengl point selection Pin
giotis821-Mar-06 23:03
giotis821-Mar-06 23:03 
AnswerRe: opengl point selection Pin
Ingo2-Mar-06 2:37
Ingo2-Mar-06 2:37 
GeneralRe: opengl point selection Pin
giotis822-Mar-06 2:46
giotis822-Mar-06 2:46 
GeneralRe: opengl point selection Pin
Ingo2-Mar-06 2:59
Ingo2-Mar-06 2:59 
AnswerRe: opengl point selection Pin
El Corazon2-Mar-06 10:13
El Corazon2-Mar-06 10:13 
GeneralRe: opengl point selection Pin
Ingo2-Mar-06 23:08
Ingo2-Mar-06 23:08 
GeneralRe: opengl point selection Pin
El Corazon3-Mar-06 3:56
El Corazon3-Mar-06 3:56 
ihoecken wrote:
No it doesn't. You can develop a hit test for lines too. Just make a line a little bit thicker when projecting it to your textmatrix (just anti-aliasing but with non different values). This works properly good.


Actually I had forgotten about a method that allows you to pick any shape, any line or point in multiple objects easily, without lifting a single matrix.... It was presented at one of the conferences I went to, but I forget which one.

Given that you can do "off screen rendering" to pbuffers, simply color every object you want to choose slightly different. Given 24bit color that gives you 16777216 distinguishable values when anti-alias is not used (in this case also turn off transparency and any other possible mixing values). Now render the image into a pbuffer and compare the color value to where your mouse is pointed, instant table lookup to the object you want whether it be line or point. It's fast, reliable, requires no CPU overhead and can be cut in only during a mouse-press so that it occupies a single frame overhead (actually less since it never actually has to be copied to the screen).

_________________________
Asu no koto o ieba, tenjo de nezumi ga warau.
Talk about things of tomorrow and the mice in the ceiling laugh. (Japanese Proverb)
QuestionUsing app.config Pin
Red Stateler28-Feb-06 4:49
Red Stateler28-Feb-06 4:49 
AnswerRe: Using app.config Pin
George L. Jackson28-Feb-06 9:44
George L. Jackson28-Feb-06 9:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.