16,012,168 members
Sign in
Sign in
Email
Password
Forgot your password?
Sign in with
home
articles
Browse Topics
>
Latest Articles
Top Articles
Posting/Update Guidelines
Article Help Forum
Submit an article or tip
Import GitHub Project
Import your Blog
quick answers
Q&A
Ask a Question
View Unanswered Questions
View All Questions
View C# questions
View C++ questions
View Javascript questions
View Visual Basic questions
View .NET questions
discussions
forums
CodeProject.AI Server
All Message Boards...
Application Lifecycle
>
Running a Business
Sales / Marketing
Collaboration / Beta Testing
Work Issues
Design and Architecture
Artificial Intelligence
ASP.NET
JavaScript
Internet of Things
C / C++ / MFC
>
ATL / WTL / STL
Managed C++/CLI
C#
Free Tools
Objective-C and Swift
Database
Hardware & Devices
>
System Admin
Hosting and Servers
Java
Linux Programming
Python
.NET (Core and Framework)
Android
iOS
Mobile
WPF
Visual Basic
Web Development
Site Bugs / Suggestions
Spam and Abuse Watch
features
features
Competitions
News
The Insider Newsletter
The Daily Build Newsletter
Newsletter archive
Surveys
CodeProject Stuff
community
lounge
Who's Who
Most Valuable Professionals
The Lounge
The CodeProject Blog
Where I Am: Member Photos
The Insider News
The Weird & The Wonderful
help
?
What is 'CodeProject'?
General FAQ
Ask a Question
Bugs and Suggestions
Article Help Forum
About Us
Search within:
Articles
Quick Answers
Messages
Comments by NKlinkachev (Top 11 by date)
NKlinkachev
8-May-13 15:50pm
View
Accepting this solution. I had to run everything in a Virtual Machine to have the computer running the tests usable during testing and the it was the only way to get around applications that pull cursor position where sending only click messages doesn't work. Capturing not active window or minimized window is possible though I couldn't make it 100% not glitchy. All of this however is additional requirements and this answer answers my question.
NKlinkachev
22-Apr-13 1:33am
View
How did I not mention the flash? Read the description again. It specifically says the code I am using bugs when there is flash. I agree this conversation is not very constructive as it doesn't really solve the problem.
NKlinkachev
22-Apr-13 1:09am
View
The above comment is not really relevant and helpful, is it? As a matter of fact I find it quite offensive. As for your advice, I am posting on this site trying to get an advice. I've posted my problem and your answer, although it answers some (or most) of the questions doesn't help at all when dealing with web pages containing flash objects that don't use http requests (and thus your answer is misleading). I have enough experience to know that the approach I adopted is not a good approach for 99% of the time, but more convenient than code injections and packet sniffing for the purposes of the current project. For irrelevant reasons I won't discuss this should be done in an external program, not the webpages themselves (or the flash objects). Now how would I go in the case where the webpage contains a 400x400px flash object with one 100x100 image that, when the left mouse button is pressed for more than 3 seconds and the cursor is over the image the image disappears and 2 other 100x100px images are displayed.
NKlinkachev
22-Apr-13 1:07am
View
Deleted
The above comment is not really relevant and helpful, is it? As a matter of fact I find it quite offensive. As for your advice, I am posting on this site trying to get an advice. I've posted my problem and your answer, although it answers some (or most) of the questions doesn't help at all when dealing with web pages containing flash objects that don't use http requests (and thus your answer is misleading). I have enough experience to know that the approach I adopted is not a good approach for 99% of the time, but more convenient than code injections and packet sniffing for the purposes of the current project. For irrelevant reasons I won't discuss this should be done in an external program, not the webpages themselves (or the flash objects). Now how would I go in the case where the webpage contains a 400x400px flash object with one 100x100 image that, when the left mouse button is pressed for more than 3 seconds and the cursor is over the image the image disappears and 2 other 100x100px images are displayed.
NKlinkachev
21-Apr-13 23:41pm
View
I am not proud of the approach but it's the simplest approach I could think of. The HTTP Request method is a good choice but it doesn't allow testing of interactive Flash objects (or at least I can't think of a way) unless they use HTTP requests to communicate with a server. The other thing in mind was to create tests that simulate certain user behavior and again the quick-and-dirty approach to simulate mouse clicks and keyboard presses came to mind.
NKlinkachev
13-Nov-12 11:20am
View
My plan is to implement
Phong shading
. But for the purpose I need to know the normal of the approximated surface. After giving it some (more) thought I came up with the following: casting 3 rays per pixel and computing a plane from the 3 "intersections" will give us an actual surface to render.
NKlinkachev
13-Nov-12 4:06am
View
Just making sure he is doing the right thing because when I first came across this problem I used currencies and notes to describe it when asking but in fact had to solve it in the general case, not realizing currency values are a special case.
NKlinkachev
13-Nov-12 3:47am
View
Just to add that while this algorithm might work for currencies and notes as their values are designed in such a way that you can get the value of the next higher note using lower value notes, it is not always the case. Consider the case where you want to get value 9 using notes only of 7 and 3. If your input is real life currency values then this is the best and fastest solution. If you want to handle all cases then a search algorithm is needed ( just a simple recursion, nothing too complicated). See my solution for the recursive algorithm.
NKlinkachev
13-Nov-12 3:03am
View
Hi thanks for your reply. The site looks interesting, lots of shiny pictures :) I wasn't able to understand much of the code of the visualization programs' code (didn't have much time to look at them) but I'll definitely explore them when I've done the basic 3D rendering.
NKlinkachev
13-Nov-12 2:59am
View
Hi :) thank you for your reply :) Unfortunately I wasn't able to understand how you calculate the surface normals from the z buffer. Good work anyways :) and thank for taking the time to answer
NKlinkachev
13-Nov-12 2:57am
View
Thank you for your response. It is way more that what I'd imagined someone would answer :) I've updated the question with some progress and remaining unanswered parts. I'd be really happy (and thankful) if you could help me out :)
Show More