Important alert: (current site time 7/16/2013 2:39:19 AM EDT)
 

winzip icon

Images-in-a-Cube

Email
Submitted on: 1/6/2006 5:02:14 AM
By: Agustin Rodriguez 
Level: Intermediate
User Rating: By 34 Users
Compatibility: VB 6.0
Views: 17490
author picture
(About the author)
 
     The name says all. It uses OPENGL and requires Windows XP.

 
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 33 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 Intermediate 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
1/6/2006 6:18:48 AMSalvo Cortesiano (Take Over)

Good job. 5 stars for you!
(If this comment was disrespectful, please report it.)

 
1/6/2006 9:08:11 AMHardStream Software Development

Nice one!! Another 5 balls commin your way :D
(If this comment was disrespectful, please report it.)

 
1/6/2006 10:15:19 AMJefe - Boss

Amazing. Nice code. 5 o's.
(If this comment was disrespectful, please report it.)

 
1/6/2006 10:46:05 AMApeiron

I keep getting Could not set desired Pixel Format, any ideas how to fix it? Nice idea, can't wait to try it.
(If this comment was disrespectful, please report it.)

 
1/6/2006 9:12:50 PMHeriberto Mantilla Santamaria

Wow, is cool, give a 5 cubes.
(If this comment was disrespectful, please report it.)

 
1/6/2006 9:20:45 PMHeriberto Mantilla Santamaria

Yeah Apeiron, me too I found this bug.
(If this comment was disrespectful, please report it.)

 
1/7/2006 12:02:01 AMChavak

I am getting the error "Could not set the desired Pixel Format during frmMain.Show. Any ideas how to fix it. Eager to correct this and try? Thank you.
(If this comment was disrespectful, please report it.)

 
1/7/2006 5:53:27 AMReyboy

I give you 5 votes - though I haven't tested it yet
(If this comment was disrespectful, please report it.)

 
1/7/2006 8:41:30 AMTom

Excellent!
(If this comment was disrespectful, please report it.)

 
1/7/2006 4:52:41 PMLefteris Eleftheriades

Great demonstration of OpenGL with Vb!
(If this comment was disrespectful, please report it.)

 
1/7/2006 5:21:10 PMKevin Ritch

Best darned code I have seen in ages. I am jolly impressed! Wowsville... A Big-High-Five votes from me. Cheers, Kevin
(If this comment was disrespectful, please report it.)

 
1/7/2006 7:48:20 PMCodeFester

It is really cool and works fine on my XP box but eats 80 megs of memory and runs a consistent 80%+ utilization.
(If this comment was disrespectful, please report it.)

 
1/8/2006 10:58:06 AMPierluigi Farri

I'd like to give you 5 point, but I can not rate you. Is it a PSC problem or my server problem? Anyway: I'd like to translate your program in italian for our website http://vbscuola.ir, and make a game of it. Do you want to help us?
(If this comment was disrespectful, please report it.)

 
1/8/2006 4:55:25 PMApeiron

I found the problem, but not the solution to the can't set pixel format. The call to create a layered window on my computer breaks it but does work on my other computer. It's weird that would work on different computers. I've tried different versions of vbopengl too and no go. Otherwise nice project.
(If this comment was disrespectful, please report it.)

 
1/10/2006 10:00:27 AMKike Gavilan

It is really cool
(If this comment was disrespectful, please report it.)

 
1/11/2006 12:26:26 AMAeron Gregory Murilla

This one is really cool. An interesting to learn. Good work. Another 5pt from me. ;)
(If this comment was disrespectful, please report it.)

 
1/11/2006 1:13:31 PMHeriberto Mantilla Santamaria

This looks great but doesn't work.
(If this comment was disrespectful, please report it.)

 
1/12/2006 2:04:18 PMRobert Rayment

Strange how it doesn't work on some PCs. Worked fine on mine, WinXP SP2. Though I would have preferred using an ini file to using the registry to save images - just my paranoia :)
(If this comment was disrespectful, please report it.)

 
1/14/2006 9:16:23 PMHeriberto Mantilla Santamaria

The problem in my PC (WinXP SP2, AMD 3.2 with 512RAM), is in this part:

' Set the desired pixel format
lRet = SetPixelFormat(frm.hDC, lPixelFormat, pfd)
(If this comment was disrespectful, please report it.)

 
1/16/2006 6:46:22 AMAgustin Rodriguez

Apeiron found the soluction.
Update the driver graphics drivers.
(If this comment was disrespectful, please report it.)

 
1/27/2006 12:25:12 PMRuturaj

Wow! A little changes and this can evolve in a Software Boxshot Image maker application! Nice to see something like this in Open Source and more importantly in action ... @@@@@ from me.
(If this comment was disrespectful, please report it.)

 
2/10/2006 5:14:27 AMAaron Delgado

Could you add a saving feature to have the cube in a .gif format?
(If this comment was disrespectful, please report it.)

 
2/14/2006 9:38:54 AMbp

That is really amazing. I like it. Looking forward to be able to save in gif ;)
(If this comment was disrespectful, please report it.)

 
2/19/2006 12:44:06 PMErnest

Excellent code.I've been adding different graphics to play around with it.For some reason I'm unable to see the verification code to vote.Prolly my firewall.
(If this comment was disrespectful, please report it.)

 
2/23/2006 12:59:25 AMM.Naveen Swamy

very nice keep it up
(If this comment was disrespectful, please report it.)

 
9/4/2006 5:13:10 AMKarthik

Very Super Enjoy It....
(If this comment was disrespectful, please report it.)

 
3/24/2007 3:01:25 AMHalo

http://support.microsoft.com/kb/126019/en-us .. i know this may be past due but this may fix the problem of "could not set desired pixel format"
(If this comment was disrespectful, please report it.)

 
5/20/2009 2:03:39 AMadel elkabany

a distinguished programmed on PSC , well done , original and creative Ideas , I realy really enjoyed your codings
(If this comment was disrespectful, please report it.)

 
5/28/2010 1:44:49 PMGalih

What a cool project.... Thanx.
(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.