![]() |
Sep 12 2005, 02:09 AM
Post
#1
|
|
![]() Confucius say, Man with tight trousers is pressing his luck. Admin ![]() Posts: 2320 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
Coding Challenge
Ok, LAVA Members ![]() All you need to do is participate and win our first official LAVA coding challenge. Challenge Description: Model the ripple effects of moving a mouse over a liquid. Download the following AVI movie to view an example of the challenge.
TSVN_waves_demo2.zip ( 639.65K )
Number of downloads: 1077The minimum requirement is that your mouse disturbs the background image when hovered over it. The disturbance must be as close as possible to that of a liquid (ripples). The size of the image must be 500px wide by 200px height. You may use IMAQ tools and viewers, however the goal is to accomplish this challenge using the default picture control that comes with LabVIEW. If you know of a better native way to do this in LabVIEW, go right a head. For bonus points you can implement the following features:
lv_style_guide.pdf ( 848.79K )
Number of downloads: 1046Note:
Good luck! PS. The winner will have the choice of showing a special icon next to their name on the Forums. They will also have a special signature image. The details of these images will be revealed soon. -------------------- Tags
This content has not been tagged yet
|
|
|
|
| Ad |
Sep 12 2005, 02:09 AM
Post
#
|
|
|
Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2005, 05:12 AM
Post
#2
|
|
|
Very Active Member Posts: 164 Joined: 18-March 04 From: Canada Member No.: 311 Using LabVIEW Since:1995 LV:8.20 ,7.1.1 ,.
|
QUOTE (Michael_Aivaliotis @ Sep 11 2005, 09:09 PM) All you need to do is participate in our first official LAVA coding challenge. Hmm.. every participant gets a t-shirt and a mug? Or am I thinking wishfully? -Khalid Tags
This content has not been tagged yet
|
|
|
|
Sep 13 2005, 05:50 AM
Post
#3
|
|
![]() Confucius say, Man with tight trousers is pressing his luck. Admin ![]() Posts: 2320 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
QUOTE (Khalid Ansari @ Sep 12 2005, 10:12 PM) Wishfully... Read again.... -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 21 2005, 03:50 PM
Post
#4
|
|
|
Enough LAVA to be dangerous Member Posts: 4 Joined: 30-August 05 From: -86.68, 34.71 Member No.: 2881 LV:8.0.1
|
This is more work than one would think at first glance.
Aren't all software projects I've been thinking about texture mapping the image onto a surface and using the 3D plot to display it. The plan is to warp the surface to simulate the wave motion. So far I have been able to get RGB images displayed in the 3D display (but only a flat surface, in 2D right now). The big challenge there was the colormap, and I'm still not pleased with the display. It looks like several colors are being clumped into one even though the image looks very nice in the PICTURE display. Anyone have any thoughts on how to get better color mapping in my 3D plot? Tags
This content has not been tagged yet
|
|
|
|
Sep 22 2005, 12:56 AM
Post
#5
|
|
|
Very Active Member Posts: 236 Joined: 16-April 04 Member No.: 360 Using LabVIEW Since:2006 LV:8.5 ,. ,.
|
I suggest you not use 3D plotting. Just a suggestion. It is not actually such a hugely complicated problem which is why people have coded it and added it to things like the logo animation that was posted. Look around a little, there's good info out there on how to do this without using a 3d mapping/rendering to make it look right.
Tags
This content has not been tagged yet
|
|
|
|
Sep 28 2005, 09:35 PM
Post
#6
|
|
|
Enough LAVA to be dangerous Member Posts: 4 Joined: 30-August 05 From: -86.68, 34.71 Member No.: 2881 LV:8.0.1
|
Michael:
You mention in the challenge "the goal is to accomplish this challenge using the default picture control that comes with LabVIEW. If you know of a better native way to do this in LabVIEW, go right a head." My version of LabVIEW 7.1.1 has several PICTURE FUNCTIONS that (according to the LabVIEW help documentation) are "NOT INCLUDED IN BASE PACKAGE". I am not avoiding use of these picture functions in my coding efforts. I hope these are not the "IMAQ TOOLS and VIEWERS" you prefer us to avoid. Tags
This content has not been tagged yet
|
|
|
|
Sep 28 2005, 10:08 PM
Post
#7
|
|
![]() Confucius say, Man with tight trousers is pressing his luck. Admin ![]() Posts: 2320 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
Michael: My version of LabVIEW 7.1.1 has several PICTURE FUNCTIONS that (according to the LabVIEW help documentation) are "NOT INCLUDED IN BASE PACKAGE". I am not avoiding use of these picture functions in my coding efforts. I hope these are not the "IMAQ TOOLS and VIEWERS" you prefer us to avoid. This is alright. The picture functions you mention are fine. -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 29 2005, 10:14 PM
Post
#8
|
|
|
More Active Member Posts: 33 Joined: 2-September 05 From: Oakmont, PA Member No.: 2910 Using LabVIEW Since:1995 LV:6.1 ,5.1 ,8.20
|
Is is ok to use vi's from OpenG or vi's derived from one of them them?
(if the code is included in the llb you submit). Tags
This content has not been tagged yet
|
|
|
|
Sep 30 2005, 03:16 AM
Post
#9
|
|
![]() Confucius say, Man with tight trousers is pressing his luck. Admin ![]() Posts: 2320 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
Is is ok to use vi's from OpenG or vi's derived from one of them them? (if the code is included in the llb you submit). Of course, no problem. -------------------- Tags
This content has not been tagged yet
|
|
|
|
Sep 30 2005, 03:06 PM
Post
#10
|
|
|
More Active Member Posts: 33 Joined: 2-September 05 From: Oakmont, PA Member No.: 2910 Using LabVIEW Since:1995 LV:6.1 ,5.1 ,8.20
|
OpenG? Of course, no problem. I also ment to ask if I can make more than one submission? (first-try-in-case-I-don't-have-time-later submission, possibly followed by a refinement)?java script:emoticon(':clock:', 'smid_13') smilie Would all submissions count or only the last one? (can one person get first and second prize?)java script:emoticon(':rolleyes:', 'smid_22') smilie Tags
This content has not been tagged yet
|
|
|
|
Sep 30 2005, 07:02 PM
Post
#11
|
|
![]() Confucius say, Man with tight trousers is pressing his luck. Admin ![]() Posts: 2320 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
I also ment to ask if I can make more than one submission? (first-try-in-case-I-don't-have-time-later submission, possibly followed by a refinement)?java script:emoticon(' smilie Would all submissions count or only the last one? (can one person get first and second prize?)java script:emoticon(' smilie I'll list the winner and probably the next several runner ups. You can submit as many as you want until the deadline and I'll pick the best. -------------------- Tags
This content has not been tagged yet
|
|
|
|
Oct 24 2005, 05:12 PM
Post
#12
|
|
|
One hit wonder! Member Posts: 1 Joined: 10-October 05 Member No.: 3198 LV:7.1.1
|
I know I should not send my submission here but I was not able to send it to codingchallenge@lavausergroup.org since it is a standalone executable
Anyway, if we all agree, this is just for fun. Right ? So find below my submision. Heu... Yes, I know I'm all wrong since it is all done with LabWindows/CVI but anyway it was fun to do some coding this week-end Give it a try : Put the .exe (no virus, I promise) in a /temp directory and double click on water.exe You may need CVI 7.1 runtime engine but for what I know it comes with CVI and MAX Once the application window in on the screen, select a bmp file and move the mouse over the picture While the application is running, using the file menu, you can pick another bmp file. Don't pick a big one because the application is then quite slow. The making of : - it is all in CVI - as you see, nothing else than the exe is required and the size of the .exe is quite reasonnable (40 KB) - no external DLL nor IMAQ Vision lib involved. It's all about pixel arithmetic - the code use 3 threads. - Double check but the processor load should be acceptable on an "up to date" PC - the source code is splitted in two .c files (200 lines and 130 lines respectively) Have fun and let me know about my "wrong" answer, Philippe [Edit: Michael Aivaliotis: I removed the attachement] This post has been edited by Michael_Aivaliotis: Oct 25 2005, 04:00 PM Tags
This content has not been tagged yet
|
|
|
|
Oct 25 2005, 01:15 PM
Post
#13
|
|
|
Very Active Member Posts: 236 Joined: 16-April 04 Member No.: 360 Using LabVIEW Since:2006 LV:8.5 ,. ,.
|
For the paranoid, I'll confirm it's a CVI executable, no virus per the latest version of Symantec.
I like it... I think it looks very realistic. As with most things of this nature, it runs great when the pixel count is low. Tags
This content has not been tagged yet
|
|
|
|
Nov 16 2005, 02:39 PM
Post
#14
|
|
![]() Confucius say, Man with tight trousers is pressing his luck. Admin ![]() Posts: 2320 Joined: 13-October 02 From: Planet Earth Member No.: 2 Using LabVIEW Since:1994 LV:8.5 ,8.2.1 ,7.1.1
My Blog
My Gallery
|
Just a reminder that the deadline for the submission to the challenge is close approaching. There are only 2 weeks left!
-------------------- Tags
This content has not been tagged yet
|
|
|
|
Dec 15 2005, 09:12 PM
Post
#15
|
|
|
Enough LAVA to be dangerous Member Posts: 4 Joined: 30-August 05 From: -86.68, 34.71 Member No.: 2881 LV:8.0.1
|
Just a reminder that the deadline for the submission to the challenge is close approaching. There are only 2 weeks left! I sent my submission to codingchallenge@lavausergroup.org back on November 16, 2005. I was hoping for a confirmation that the submission was received. I saw another post saying their email to codingchallenge@lavausergroup.org bounced (for them). I sent a followup email to you later that week (but before the deadline) and I haven't heard anything. |