Click here to Skip to main content
15,891,033 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: Translating this flowchart into pseudocode Pin
Ambus Dondon27-Aug-16 2:15
Ambus Dondon27-Aug-16 2:15 
GeneralRe: Translating this flowchart into pseudocode Pin
enhzflep27-Aug-16 4:11
enhzflep27-Aug-16 4:11 
AnswerRe: Translating this flowchart into pseudocode Pin
Patrice T27-Aug-16 4:53
mvePatrice T27-Aug-16 4:53 
GeneralRe: Translating this flowchart into pseudocode Pin
Ambus Dondon27-Aug-16 14:27
Ambus Dondon27-Aug-16 14:27 
QuestionData Structures and Algorithm Pin
Chayan Mehta26-Aug-16 5:21
Chayan Mehta26-Aug-16 5:21 
AnswerRe: Data Structures and Algorithm Pin
Richard Deeming26-Aug-16 5:41
mveRichard Deeming26-Aug-16 5:41 
AnswerRe: Data Structures and Algorithm Pin
Beginner Luck30-Aug-16 17:56
professionalBeginner Luck30-Aug-16 17:56 
QuestionHow to do Ray and Triangle-Edge Intersect/Picking? Pin
Farhad Reza7-Aug-16 3:45
Farhad Reza7-Aug-16 3:45 
I'm facing problem intersecting ray with triangle edges. Actually, I'm trying to pick/intersect with triangle, vertex, edge of a mesh using Mouse. So I made ray from the Mouse current position and then I intersect it with the mesh elements like triangle/polygon, vertex, edge etc to work with it. Basically, 3d modeling stuffs. Intersecting with triangle was easy and fun. And the vertex part was tricky. Wink | ;)

But now, I don't know how to intersect/pick with triangle edges. I mean how I treat them when intersecting with the Mouse Ray? First I thought they can be treated like a 3d line. But eventually failed to do the Ray and the Line intersect. Searched on the Internet but not found any helpful info. Although I found some open source projects are using OpenGL built-in picking features to pick/intersect with Edge. But in my case, I can't use that. Frown | :(

So I really need some help. Any idea, algorithm or a small help is greatly appreciated. Smile | :)
AnswerRe: How to do Ray and Triangle-Edge Intersect/Picking? Pin
Kenneth Haugland10-Aug-16 5:55
mvaKenneth Haugland10-Aug-16 5:55 
AnswerRe: How to do Ray and Triangle-Edge Intersect/Picking? Pin
patbob18-Aug-16 11:57
patbob18-Aug-16 11:57 
GeneralRe: How to do Ray and Triangle-Edge Intersect/Picking? Pin
Farhad Reza18-Aug-16 23:38
Farhad Reza18-Aug-16 23:38 
GeneralRe: How to do Ray and Triangle-Edge Intersect/Picking? Pin
patbob19-Aug-16 5:50
patbob19-Aug-16 5:50 
QuestionPackage Calculations for Shipping, do you see room for improvement Pin
jkirkerx4-Aug-16 9:26
professionaljkirkerx4-Aug-16 9:26 
SuggestionRe: Package Calculations for Shipping, do you see room for improvement Pin
Richard Deeming4-Aug-16 10:29
mveRichard Deeming4-Aug-16 10:29 
GeneralRe: Package Calculations for Shipping, do you see room for improvement Pin
jkirkerx4-Aug-16 12:10
professionaljkirkerx4-Aug-16 12:10 
GeneralRe: Package Calculations for Shipping, do you see room for improvement Pin
Slacker00710-Aug-16 3:35
professionalSlacker00710-Aug-16 3:35 
AnswerRe: Package Calculations for Shipping, do you see room for improvement Pin
Gerry Schmitz5-Aug-16 4:57
mveGerry Schmitz5-Aug-16 4:57 
GeneralRe: Package Calculations for Shipping, do you see room for improvement Pin
jkirkerx5-Aug-16 6:45
professionaljkirkerx5-Aug-16 6:45 
AnswerI created a console app for those that want to play with it Pin
jkirkerx5-Aug-16 8:24
professionaljkirkerx5-Aug-16 8:24 
AnswerRe: Package Calculations for Shipping, do you see room for improvement Pin
ip-address10-Aug-16 2:21
ip-address10-Aug-16 2:21 
GeneralRe: Package Calculations for Shipping, do you see room for improvement Pin
jkirkerx10-Aug-16 6:55
professionaljkirkerx10-Aug-16 6:55 
QuestionCar Engine and Tire heat simulation (for games) Pin
_D4N23-May-17 3:58
_D4N23-May-17 3:58 
AnswerRe: Car Engine and Tire heat simulation (for games) Pin
Gerry Schmitz22-Jul-16 12:25
mveGerry Schmitz22-Jul-16 12:25 
AnswerRe: Car Engine and Tire heat simulation (for games) Pin
jkirkerx4-Aug-16 9:36
professionaljkirkerx4-Aug-16 9:36 
QuestionCan anybody help me with sourse code for quantum key distribution (QKD) written in any general language. Pin
Possible AC4-Jul-16 6:35
Possible AC4-Jul-16 6:35 

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.