Important alert: (current site time 7/16/2013 3:24:48 AM EDT)
 

winzip icon

Grid-Net Waves 3D animation

Email
Submitted on: 10/3/2000 7:23:26 PM
By: Srdjan Josipovic 
Level: Advanced
User Rating: By 35 Users
Compatibility: VB 5.0, VB 6.0
Views: 32401
 
     Hi-Lo algorithm . I found somewhere this algorithm , and made this demo , simulating waves with Grid ( net ) . It looks interesting and it is possible to make various models of 3D grid-waves , depends on math function you choose. I've added simulation of animated 3D grid-wave , just to make it more effective. It is nice graphical performance , and with possibility to make a lot of extensions in this field of programming. However , it is not so easy to understand , but I hope that it could be useful. See the screenshot . I would like to see your comments about , and votes :) Enjoy ! !

 
winzip iconDownload code

Note: Due to the size or complexity of this submission, the author has submitted it as a .zip file to shorten your download time. Afterdownloading it, you will need a program like Winzip to decompress it.Virus note:All files are scanned once-a-day by Planet Source Code for viruses, but new viruses come out every day, so no prevention program can catch 100% of them. For your own safety, please:
  1. Re-scan downloaded files using your personal virus checker before using it.
  2. NEVER, EVER run compiled files (.exe's, .ocx's, .dll's etc.)--only run source code.
  3. Scan the source code with Minnow's Project Scanner

If you don't have a virus scanner, you can get one at many places on the net including:McAfee.com

 
Terms of Agreement:   
By using this code, you agree to the following terms...   
  1. You may use this code in your own programs (and may compile it into a program and distribute it in compiled format for languages that allow it) freely and with no charge.
  2. You MAY NOT redistribute this code (for example to a web site) without written permission from the original author. Failure to do so is a violation of copyright laws.   
  3. You may link to this code from another website, but ONLY if it is not wrapped in a frame. 
  4. You will abide by any additional copyright restrictions which the author may have placed in the code or code's description.


Other 5 submission(s) by this author

 


Report Bad Submission
Use this form to tell us if this entry should be deleted (i.e contains no code, is a virus, etc.).
This submission should be removed because:

Your Vote

What do you think of this code (in the Advanced category)?
(The code with your highest vote will win this month's coding contest!)
Excellent  Good  Average  Below Average  Poor (See voting log ...)
 

Other User Comments

10/4/2000 12:23:22 AMJess

This is awesome. Great work!
(If this comment was disrespectful, please report it.)

 
10/4/2000 3:43:44 AMDa_Mental_One

This is great! :) Keep up the kewl coding!!! :)
(If this comment was disrespectful, please report it.)

 
10/4/2000 2:27:25 PMAce315

This is the best thing that i have seen on the PSC!
(If this comment was disrespectful, please report it.)

 
10/4/2000 10:26:02 PMBrian T

That is seriously some cool stuff! 5 globes from me!
(If this comment was disrespectful, please report it.)

 
11/3/2000 6:37:33 PMGlenn

I've been looking for some way to do this in VB for a while! I'm in Multivariable Calculus now, and we do a lot of 3D graphing. I can't do it with my graphing calculator (it's 2D only), and this will help a lot. Keep up the good work!
(If this comment was disrespectful, please report it.)

 
11/9/2000 12:57:43 PMKevin

This is very cool. I submitted a "contour" type of 3D mathematical plot some time ago. (Do a search for "3D mathematical plot") with a math parser built-in and custom colors. I'll try to combine my color codes to create a colored mesh grid.
(If this comment was disrespectful, please report it.)

 
11/11/2000 8:17:19 PMimn0thing

kind of short on comments, so I dont know how all of your code works. Very good effect though.
(If this comment was disrespectful, please report it.)

 
11/15/2000 1:52:10 PMgk

This code is awesome! The author, Rod Stephens, has many more examples in his book (where this code came from) that are even cooler than this one. I bought the book about 3 yrs ago entitled: "Visual Basic Graphics Programming" published by Wiley. You could probably get it at amazon.com.
(If this comment was disrespectful, please report it.)

 
11/25/2000 3:08:45 PMFTB

Can you do this with lighting? I know how. Good code.
(If this comment was disrespectful, please report it.)

 
9/17/2004 3:10:23 PMLicar Bogdan

Oh man, this isn't your original code. Sorry to say this but, seen already.
(If this comment was disrespectful, please report it.)

 
10/18/2004 3:28:58 PM

To stop the flickering in the animation, goto to ShowFrames sub under the frmWaves. Now, change the following line of code:
Pict.Picture = SurfaceImage(num).Picture
To this line of code:
Pict.PaintPicture SurfaceImage(num).Picture, 0, 0, , , , , , , vbSrcCopy
(If this comment was disrespectful, please report it.)

 

Add Your Feedback
Your feedback will be posted below and an email sent to the author. Please remember that the author was kind enough to share this with you, so any criticisms must be stated politely, or they will be deleted. (For feedback not related to this particular code, please click here instead.)
 

To post feedback, first please login.