From source code,code examples
This code is to view file & folder from drive..
This programs get your DOS time and show in graphical screen.
Hello Friends!! I have made a small virtual 3D solar system.
Hello Friends!!
This Program generalizes how Reservation is done. It comprises of graphics and sound effects. Even mouse is used in it. It will be great to present this one as a project. Enjoy.
This is a c program (Simple But strong).It reads number in your mind, by just showing you some number of tables.
' ARTSHOP ' which's entirely designed & built in C,where it's possible to draw your own free hand drawing with multiple ecstatic colors with options like line, rectangle ,circle ,oval,paint brush & etc... It also provides room to save, open, and delete the picture which you created, from CD, Hard Drive, Floppy and from any Port. This software is a good alternative for other dos based Paintshop softwares.
The Turbo C++ v3.0 presents an example of graphics capabilities, the program is called bgidemo.c. The example is divided into functions; so I took one of these functions added some animation to it, added the neccary functions from the original C program that make it work.
it clips a line that lies on the viewport.
This is a simple animation demo. It uses graphics created with my binary graphics editor previously posted. It also contains useful objects such as a windows color and graphics object.
Displays your system time in the analog clock fashion.
I mistakenly forgot to add one of the header files to this .zip file (I really need to pay more attention to this). So, here's the upload again with the header file included. Sorry about that.
It is a dos clock I have made.
inserts any number of images present in a directory into the HTML.
To show some Graphical Display using sin & cos functions.
This Is a cool tool! It is like paint and looks
It makes and saves pie charts and bar charts
Hey Just Shows How To Make A Animation With A Windows MetaFile.
simply Displays an Analog Clock
This is all the code you need for making any kind of graphics in C/C++. Check how I have mixed the Text mode, Graphics mode, and Windows mode together. Do you know you can switch between different modes in your program?
Switches images inserted into a pre-defined list using the new high-resolution (64 bit) timer. If this timer is not available on your machine (which is not very likely), it automatically switches to the old method of timing (32 bit, timeGetTime()). You can also choose how long you want the image to show.
This is my version of the 'Simon' game, with great graphics,using gdi32 ( bitblt ), and with sounds using PlaySound. You have to repeat the sequence the computer creates, though it gets harder and harder as you advance. Great tutorial for someone wanting to learn how to use graphics, back buffering, and sound playing.
A moving starfield using mfc controlled by a timer. Demonstrate the use of device contexts, pens, and brushes. You canincrease the number of stars as you wish.
Lets you choose two colors and creates a gradient. Demonstrates the use of device contexts, pens, color dialogs, and color blending.
Create sprites ( like Mario, Prince etc ) for your games and make them dance and frolic around the screen. Also provided a graphics library for Mode13h library by Pri$m. So go ahead create your games.
It draws simple objects like rectangles and ellipses. Looks a lot like Paint in the Windows accessories.PLEASE VOTE. I made that program following the instructions of a very good book on MFC programming.
Ive made an algorithm to display the Olympic Rings
the program tells about mouse interfacing and how
Gives you a roman equivalent string for a given decimal number..Maximum that you can give is 3000.
It is a simple TIC TAC TOE Game which is implemented in Artificial Intelligence under Graphics Mode.
Analog Clock - using system clock.
Studying this code you can make a colourful mouse pointer in dos mode.
This digital clock indictes your system time.
I hope that you like this interactive marix screen saver...
This little code shows you how easy it is to load a bitmap into your window!
This tutorial helps newbie c/c++ programmers to
gives the current time usin analog clock graphics
A very versatile, fully customizable graph drawing
just for beginners to know about graphics
Allows normal drawing and creating lines by holding the left mouse button down. Demostates the use of pens and drawing lines. Compile with G++, all the source code was written using crimson editor and not an IDE.
This is my first C++ program. It just loads 4 bitmaps, bitblts them to the screen once a second, and cycles through them twice with a loop. Not very exciting, but shows how to call a function and how to use bitblt.
I wanted a way to use a 2D image and create a 3d Mesh from it. This code loads a bitmap then converts it to the 3DS ASC format that’s compatible with most 3D modeling programs.
its a birthday gift,
This is a re-submission of a program I uploaded earlier. I recently noticed that I had used the wrong .zip file. There wasn't anything in the file, except a .txt file and a couple bitmaps (and a .exe file, but that got deleted). So I've uploaded another file, and hopefully, I got everything right this time. I apologize to anyone who downloaded the file for the inconvenience.
These are two programs that use Bezier curves. Bezier curves are simply lines, with one or more control points that "attract" the line toward it. One is a Bezier curve in 2D, the other is a Bezier surface in 3D. Both allow you to select control points and move them around in the window, which affects the shape of the curve.
This program loads bitmaps as frames of animations. Then, you can play back the frames. The program lets you add frames, clear all the frames, play the animation, and stop the animation. You can also adjust the speed at which the animation is played. Its just a simple tool I wrote in a couple hours that I use to view the animations I intend to use in some of my other programs. Its also a good learning tool, since I've got a menu, as well as buttons and a dialog box. The program works, but there are currently very few options.
The program makes a ball bounce randomly on screen with a small collision sound when it strikes the edges.The code can be used in other gaming applications.
Bitmap viewer, good way to learn how to draw things
Find out the strategy to making 3D graphics.
Draws a cool little screensaver thingymajig with letters bouncing off of walls and stuff. Sorry I can't be more descriptive.
Here is an example of how to use back-buffer device contexts for on-screen animation; the basis for all graphical games
Shows how to load bitmaps of any size and stretch them onto a window.
Simple understandable fuction to show the 640x480x16 color piture.it is helpfull function to make the graphics program.
This is an example of creating LED like characters found on Railway Platform Indicators , there are 2 clock one Digital and another analog , the method can be used to develop a World Clock
To Show How To Do A Simple Double Buffer And Mask Images So The Backgroud Of The Masked Image Is Transparent.
source for basics of grapics in c++.putpixel demonstration.nice to see.
This is cool it makes things look like there
lets you hide an image inside another, only visible in internet explorer when you highlight the image. shows how to create translucent layers, get the average color of a picture and how to extract the RGB values from an int color as well as some other stuff..
A fine Graphics Program.
This example shows how to fade one bitmap into another. Shows how to use GetDIBits for fast image manipulation. Also features images of Anna Kournikova :O).
This program shows you the basic transformation such as Translation, Rotation, Scaling, Reflection and Shearing. All these transformation are simulated with a beautiful animation
This is a program which demonstrates the bouncing of ball in zero-gravity environment.Uses graphics.h and has decent graphics and cool sound.
My code produces a scrensaver prototype, so that u can use it as a screen saver.
This little piece of code loads a BMP to the background of your window. It is very very easy!
illustrates the use of bones and skin in 3d rendering.
This code computes the barycentric coordinates of a 2d point inside a 2d triangle using the area interpretation of barycentric coordinates and Heron's triangle area formula.
This is a demo of a bitmap font that uses OpenGL and is written in C++. It requires the gd library from boutell.com. There's a demo at http://www.coolgroups.com/font/.
This is another bitmap loader of me, this time more advanced :-). The user can now load the bitmap with a nice menu and the program is very fast.
Time in c++
This is an image converter for BMP, GIF, JPEG, PNG, and TIFF. There's a demo at http://www.coolgroups.com/cm/.
A small Windows program that creates colors mixes them and displays them on a window
it is a graphics orented programme which creates an animation of atossing coin and randomly gives one answer head or tail. it can be used before programme codes and will give a very good impression on the veiwer.
nb
helps users understand how to use terminal color codes as well as how to use there escape seq's and shows all the color's and there matching code for foreground and background.
draw clock
Its An Calculator Application Written in C++
This program spins the objects around and the viewer is in a huge cube. There is a small cube in the center which also spins. There are light and fog options, and the light and fog turned out fairly well.
DDA LINE ALGORITHM,BRESENHAM'S LINE ALGORITHM,BRESENHAM'S CIRCLE ALGORITHM,DRAWING CIRCLE TRIGONOMETRIC METHOD,SHEARING,TRANSLATION,SCALING,ROTATION ABOUT AN ORIGIN AND ANY POINT,BEZIER CURVE NTH ORDER ETC.
This code spins a sphere coated with a texture. It also has some other cool things added to it, and you can "spin" the sphere with your mouse drag. When you link, put in the projects -> settings -> link box opengl32.lib glu32.lib glut32.lib to make this work.
jus to find out curves of with different input...
A cool application that converts anything drawn in 2-D to 3-D.COOOOOOOl isn't it (see screenshot)
This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 2 of 9 tutorials
This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 3 of 9 tutorials
This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 4 of 9 tutorials
This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 5 of 9 tutorials
This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 6 of 9 tutorials
This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 7 of 9 tutorials
This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 8 of 9 tutorials
This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 9 of 9 tutorials
This contains tutorial(s) for 3D Graphics Programming using C/C++. This is tutorial # 1 of 9 tutorials
This contains all 9 tutorials of 3D Graphics Programming using C/C++
This is a must have for all C++ programmers using DOS or Windows. This has a BGI driver to load 256 color resolution as high as 1280 X 1024 on most of the graphics adapters. Please visit my website www.ankitrohatgi.com and fill out the report form informing me about any incompatibility(should not be!). <>!!
This is a Window Example in C++. It is identical to a Window in Windows Operating System. This is Very Easy to Use in C++ Graphics. This is written with the Standard C++ Function libraries. And the Great Thing is Reusable to any of your Program in C++. ie., it is Global. * The Window Size is to be Modified in my Next Version.
This is a Program to Explain how to Bring the Same Window that we can see in Window. Normally People will try to bring the Window in VC++ in Windows mode. But this is a Different One. This Window Appears in DOS. This will typically Depict a Wndow in Windows. Its very easy and it uses only the Basic Functions in the Graphics.h Header File in C++. Also a Progress Bar and Command Button is also Given for Reference. You may Include the Command Button and Progress Bar anywhere in your Program that uses Graphics. Mainly it can be used to attract users in DOS with the GUI type of Environment. I've neatly Documented this Program. If you have any doubt Please Contact me at lvramanan@yahoo.com. Please Vote me If you like this Code.
T1CSound - Simple ActiveX component for sound generation using system speaker (step-by-step info: http://www.tonec.com/download1.html)
A person walking simulation, in OpenGL using GLUT.
Plays the sound stream out of an AVI file on Windows or Linux - does not use the Windows mmio functions. Demonstrates the use of Windows waveOut functions and OSS on Linux.
This is a pretty neat effect. You can rotate it on its X and Y axis and it looks like 3d. By holding down the Up or Down button you can see it so to speack animated. ESC EXITS the whole program. By Pressing enter then moving the up or down button again u can take the whole screen and paste it on the screen and still move around it.
it just show the diffrent color of box and do color cycling
a nice circular and linear gradient
A very nice demo give you the illustration of rotating wheel while actually it is not rotating all fun is of color cycling
The program written in C++ is a wonderful utility that displays the clock. It would be great to explore the code for learning new things for a beginner.
Cube Game ver 1.5 (opengl)
This little game was done by me using win32 GDI.
Pretty cool 3D lower level AI simulator.
It's an OpenGL demo, that demonstrates 3ds object loading, exploding and nice motion blur.
It rotates a rectangle along z-axis
This is a simple program for saving and loading images using c. This was a great programming challenge because im a beginner
AVICQ is a ICQ like P2P communicator with duplex video and auido.
Last semister, I finished my graphics Lab and thought of trying out 3D transformations and finally ended up with this. Check out the animation. It looks really cool. Maybe you can use this code in your apps as a splash screen or something. Please leave feedback.
Designed for developing GUI's in C language.The program can be easily modified to C++.I have introduced building of command buttons in this version.So the code is reuasable.
acctually this code is for those who want to know how to use arrow key graphic and sound. how to jump from graphic mode to text and again to graphic mode.
PERFORM RUNTIME AUDIO MIXING USING AUDIO TACKLER :
This Program Simulates the 3d space travel(going in to the space)
THE CLOCK WILL TAKE THE TIME FROM UR PC-BIOS AND DISPLAY THE CURRENT TIME IN THE ANALOG GRAPHICS FORMAT.
This is number puzzle in which the elements on the screen must be sorted in ascending order(from top to bottom) using the arrow keys.
THE PURPOSE OF THIS CODE IS SIMPLY TO SHOW HOW TO DRAW A CIRCLE, AND THE CIRCLE ENLARGE PRESSING A KEY, AND DIMINISH PRESSING ANOTHER KEY. FEEL FREE TO POST YOUR COMMENTS.
This program can be used to play only avi files.
Shows AlphaBlend effect on Windows 2000 and Windows Xp --- !!! WITH ALL FILES v2
A complete paint program for DOS.Innovative saving of files, fill styles etc.
Example program how to change graphics pointer
well..here is a huge package which contains around 6 programs and these programs displays all the graphics functions needed to build a nice looking GUI..the only thing u need is a lil' creativity..and i'm sure u must b having it ina fair amt..else u wudn't b here..nevermind..check this out!
This is an awesome screen shot system. It also comes with an article describing it.This system can handle Low Resolution screen shots (Normal screen shots), High Resolution screen shots (Explain in a little), and video capture (Explain in a little). The High Resolution screen shots are used for magazines, color plates in books, etc because they are massive. A Low resolution screen shot that 800x600 will turn out to be 2400x1800! The video capture does just what it says, it will create a video while you play. Not only does this do low resoltion screen shots, high resolution screen shots, and video capture, it also does watermarks! Look at the screen shot! It optional, but you can specify a watermark and it will be applied to the screen shot. The internet is kind of slim on these topics so I present them to you. I hope you enjoy! And please vote if you like it!!
This is simple OpenGL Demo which rotates a cyclinder in 3-d space.
This is a OpenGL demo which draws a cone and rotates it in 3-d space
This is a OpenGL demo which draws a spring like structure and rotates it in 3-d space
This is a OpenGL demo which rotates a ribbon in 3-d Space
This is a OpenGL demo which simulates solar-system with realtime lighting effects using Perspective Projections
This is a OpenGL demo which simulates solar system using Orthographic projections.
This is a OpenGL demo which rotates a triangle in 3-d space.
This program is a Pac-Man, Tic-Tac-Toe combination. It's a fun program that shows how to animate in Code Warrior. Press escape to exit out of the output screen. Use the arrow keys in pac-man to move him around. Use the arrow keys in tic-tac-toe to move the selector square across the board, and the "x" and "o" keys to place an "X" or an "o" in that square. If you like this program, vote for it. If there are any problems or suggestions, please tell me.
A colorful Analog Clock.
This is a very simple paint utility. its works using arrow keys. mouse use is not added for simplicity. shows how to paint and delete in graphics mode
This is an animation. It shows fire crackers.
This code shows how to initalize graphics driver and to use its basic functions .
Displays calender of the current month(dependent on the system date).Full mouse interface is provided to change month/year.The program gives a 3D look to the buttons and the whole application in general(partly like Windows.)
This code uses Video for Windows to capture single frames from a system video source in a specified time interval(in seconds). The Frames are saved as Bitmaps or as one AVI File. Don't forget: You need a videodevice for this to work!
This class provides the same functionality as the dialog Windows Explorer uses to change the icon for a shortcut. The actual appearance of the dialog is based on the new style for this dialog as used in Internet Explorer 4. The main difference between the standard Windows "Choose Icon" dialog and the new style is that a larger list box is used to display the available icons. The zip file contains the CIconDialog source code and also includes a simple MFC dialog based demonstration application.
Plays an Audio CD with a GUI.
This program draws a nice cat in the screen. You can use it in your programs. If you like this "fucntion" please vote.
Thats what u wanted from ever.Thats the thing that will take u in ur past and in ur future.
This program shows how a 2D particle engine works. It's not the best code but it gets the job done. I know it could be greatly optimized but I just needed the code like this.
This small program depicts a piano(exactly ) using sound function at different frequencies , you can also save a key stroke sequence and play it like continuous music
Yet another graphics library. Found at: http://www.cprogramming.com/source.html
This is not source code--it is the .dll's for running OpenGL programs on your computer. If you are running Windows 95/98/NT... you can download these libraries and unzip them into your windows/system folder
With these classes you can create good interfaces for DOS which
Set background and foreground color, set cursor position, clear screen, make the program pause for a certain amount of time, clear a line out, draw lines, draw rectangle, draw circle, draw pyramid, fill up a shape with the given styles.
ship moves through star field
As the name implies you can design mouse pointers of your own. These pointers can be used in any dos based program and with extra ordinary ease if you are using TC 3.0 (i wrote all the code for TC). The interface is also very user friendly. It is just like any paint program. There are help bubbles to help you too. You can save and retrieve your designs in .icn files (Samples included). The rest of the features you can discover on your own.
It displays a Moire Pattern on the screen.
(Version 2.2 is uploaded, you can find it under complete applications)
The purpose of this is to show various Win32 Methods and some Theory. It creates a Win32 Extended class, it then Creates and Extended Window, it then starts to show that basics of Win32 Game Programming, that is an infinite loop. This shows a good theory of how to initialize variables in game programming. At first my approach was to initialize the variables in the loop and use a BOOL to say it was the first time in the loop, then on my third look at how the code was working I found the fastest way to set the first time variables, outside the loop, rather than having the computer check an if statement was true, this was the theory. This programme starts at a random position (the initializing theory), (in the loop) draws a line to a new random position, then sets the end of the line to the beginning of the new one (this is where the loop ends).
A simple fire like effect is drawn onto the screen.
This program will draw a 3D cube or 3D pyramid
THis program does some simple graphics transformation in 2D. This does shearing , scaling , translating and scaling. VEry easy to understand
repeatedly draws 3 differerent 'frames' of a man and moves them at a regular interval to the right of the display. Basicaly it makes him walk.
Play's music CD's. This can be compiled on Linux and Windows (as far as I know) using gcc, or devc++. Also SDL must be installed to be able to compile. (www.libsdl.org)
a nice circle effect demo with color cycling
Ense?arze a graficar funciones
Hi Everyone, I'm Very New At This, I'm Usually Found In The VB Section. This Is My Very FIRST C++
Just For Users Enjoyment.
hey guys,
Watch Out!! Here comes TITANIC on ur pc.This program created using c++ has animation as well as sound effects of the ALL TIME SHIP TITANIC!!!!!!
My Code was written on Visual C++ 6.0 and it Changes the Color of the text and background in a common dos window. Much like how the text based RPG games do it. It should work on all compilers.
Cool 'n' Easy animation with arc ... best for beginers ... don't forget to see
A Picture creater in 640*480 Graphics Mode
Someone at school asked me about normals and instead of trying to explain the functions to them I just made this article. It explains what some uses are for normals and how to compute them. This might help someone out thats why I decided to upload it. (Please note: Ignore the plane structure)
this prog is ment to help programmers who
chess
this class will Draw command button on screen
This is a control derrived from MFC's CWnd class... it's more or less a worthless control... it doesn't do much but make cool little "bloobs" move around in the control and melts them together. Just a neat little effect to add to your MFC programs to catch someone's attention.
This is a cool BitBlt example with reusable classes and is great for beginners to learn from.I have only been coding for a month. So please give me feedback.
Displays amazing graphics on ur screen with sound like flowing water
Do you sufficiently know DrawText function. This tutorial teachs DrawText's different angles that have neglected.
To Make 3D Graphics in C.
Example on how to shape your form to fit a the shape of an image.
It's a 3d Bar winamp Plugin
Hey the olympic fever has hit planet source code too.Check out this code
The CGraphicButton class is derived from CWnd and encapsulates a Windows button control. The CGraphicButton class allows use of a combination of a bitmap and text on the face of your button. The class allows the option of either a bitmap-left or a text-left placement.,
rotate a CBitmap and draw it to the screen (AA optional)
This code work with a JPEG, GIF, WMF, BMP skin picture. For Ex. Winamp UI or Freeamp UI etc
nothing special
nothing special
Wow A 3D car created using borland c++.You are able to view the car from any angle as it rotates around every possible angle and axis.Please Vote For This Code.
An MP3 encoder using a GUI. Very simple, easy-to-use program that gives you the option of using two encoding engines. The GUI was written in Visual Basic, but the encoder was written in C. Enjoy!
This Program is similar to windows paintbrush
This is the second version of Click 'n' Paint.
Bored of the same old dull Turbo C++ ?? Now add cool self compiled audio files to it !!! It consists of a composer and an include file with the function to add it to your programmes. So go ahead - download this and add some life to your programmes. It's probably easier to use than doing 138*45 !! Please vote for this. Visit my site at www.ankitrohatgi.com
some programs of computer graphics
this code sets the screen into VGA mode and fades the screen different colors by pressing certin keys!!!! this code is really easy to understand even for a c++ newbie also this code is very well commented just incase if theres something that you dont understand =]
Cool GUI paint utility for C++ use. You can use the software to make and edit the Images and the add them to your programs. It even loads 16-color low resol ution BMP images, so you can transform them into this format and load em to your programs.
This program has almost all the basic c++ graphics functions and also the independence day tune created using sound function. It will act as a great tutorial for those who want to learn graphics in c++.Please vote fr me.
This is program to show how to draw circle and elips vertex by vertex. You can choose how many vertex to draw the object (circle / elips). You also can reduce or add the radius. Use opengl
This Winamp Plugin allows you to directly output to MP3. This is great for ripping CDs if you have the CD Reader plugin for Winamp. If you don't have either, go to
http://www.winamp.com/ and get them!
Check back for new versions soon!
Create ASCII graphics by controlling a Turtle. The turtle is placed somewhere on the canvas, and you tell it to move, turn, and when to draw. This simple program will display a '#' where the turtle has drawn, and a '.' where the turtle hasnt. Enjoy, and please vote!
This is a fully skinnable Spectrum Analyser plugin for Winamp 2.x. It is finished to the point of being usable but not by any means complete and will continue to be updated. Any suggestions/hints would be appreciated.
This is 3d clock. This is a bit like windows time screensaver.
This is small program written in Assembly language for intel pentium processors of series 80x86.This will out put 16 bars of different colors .This Color Bar can swing the mood and will make people happy.I am including '.exe' file also if some body don't have a assembler like MASM they can get from the web.You need masm to compile this program .
View the local time or the time in a different time zone using three different clock GUI's (Analogue, Digital and Binary). Also includes a stop watch mode. The clock will calculate what time zone you belong to, and offset the other time zones from yours.
This program is developed in Turbo C in dos version. It look like Mspaint (more detail visit www.pickSourcecode.com ). we can draw pictures, edit picture using this dos paint, I designed some tools like windows ie, listbox dialog, button etc. Using those tools i was developed this Dos Paint. Use this program for only studying purpose. if you want the executable, click this link.
This program simply replicates some tools of MS paint software and tries to give a window interface
Draw Snowflake(s)...Pretty Simple...Draws Radom Polygons and then draw's it's symetric mirror versions...simple method
Play with circles and lines.Learn how to blink text in the graphics mode add sound and lots more
This is a drawing program in C.This is still in its development stage.Presently it provides foreground and background color selection,line width selection and eraser function.The program can be expanded furthur.The code is simple and easy to understand.
A fully functional 2D Graphics Editor ( Screen Editor ), that is an MS Paint like utility for DOS.
Play multiple sounds using Direct Sound with an easy to use class in an external DLL.
Play Music files in DirectX using an easy to use external DLL class.
Hey A Bitmap Draging Program Mabye Someone Could Help Me Make A Menu Item Which Makes A New Bitmap I Always Get Some Sort Of Illegal Operation.
DOS BASED WITH GRAPICAL USER INTERFACE SOFTWARE THAT CAN BE USED FOR BASIC DRAWING.WINDOWS
draw and read images
Draws a circle
This program make Dancing Lines on your screen just like the screen saver on Windows Operating System. Critic and Suggestion are very Welcome.
you can see tha drawing of many equations thses equations like sin(x2), and x2..... you can but any interval and you can use the mouse to choice the equations.
with the help of this program you are able to draw a very freehand lines using MFC classes. Check it...........
learn OPENGL programming
menus 4 dos
This zip package contains some source codes to impliment GUI
simple sound program for DOS.devloped in TC++ 3.0.
Digital plus Analog-Designed to run perfectly on TC 3.0.Resolution 640 x 480 x16Colors.This particular program is designed to give U the current Date & Time in a graphical enviorenment.It is not only a clock but it shows U the Day,Date N Year too in a Graphically designed manner.The later versions may include skinnable clocks which will definately improve programming capabilities.
random function added to my earlier trapped balls
Using example DrawBeziers method of Managed C++ (Visual C++ .NET).
using example with ExtTextOut crypto of MFC
- Use your pc as a phone and lett people on your network use that 'phone'*** D2N 1.0 Beta 2
this code draw circle and fill it with red color
Its a design in graphics.
This program displays eyes on the screen that have a max viewing distance. The pupils distance from the center of the eye depends on the mouses distance from the eye.
This is a nice electronic address-phone book. Is completely designed in graphic mode.
This programm helps you to create ecard which you can send to friends on occations
MAKE UR OWN PIANO.PLAY n RECORD musicin a FILE. A VERY SIMPLE N EASY application of GRAPHICS & SOUND + BASIC FILE HANDLING.VERY SIMPLE STATEMENTS
This program illuminates the screen with all fireworks of all colors right on your screen. You can change the code to manipulate many parameters like colors, randomness of crackers.
This program illuminates the screen with fireworks of all colors on your screen. You can change the code to manipulate many parameters like colors, randomness of crackers.
This is an explosion engine of SPACESCR.
This code does an extremely quick computation of the barycentric coordinates of a 2d point inside a 2d triangle.
This is a smaller version of the first and accually better also. it uses morph and vertex comforming to attach bitmaps. Please someone give me a real job. This is good code for game design. This is plane gl code no glut.
Playing sounds. Mp3, wav, asf .... what FMOD support... (in class)
I created this code first for a cuban digital magazine. Then I decided to publish it in Planet Source Code. I hope it is well received.
Draw a single Julia Fractal (Programable) using Win32API and resource file; Use a complex number class for math stuff. Small program; use Z'=Z*Z+C
The function generator produces sine, square, triangle waves or pink noise. This program allows you to use the line output of your sound card for testing circuits or speakers. Useful for speaker testing.
Flash Style Text fade function with working example. It displays given text from brightest to darkets and vice versa with the given red, blue
Flash Style Text fade function with working example. It displays given text from brightest to darkets and vice versa with the given red, blue
Flash Style Text fade function with working example. It displays given text from brightest to darkets and vice versa with the given red, blue
well its a gr8 examples of making coloured balloons flying over the screen
I found a java class called "jahabi.class" which diplayed excellent fireworks. I decomiled it and changed it over to C++. This will show you how to render a bitmap using SetDIBitsToDevice() and creating a bitmap using CreateDIBSection(). This shows you how to manipulate a bitmap's bits in memory. Great for fast processing of graphic effects. (does not use DirectX or OpenGL)
This Program Simulates a Fountain
This fades colours and shapes... at the same time. This code draws different shapes and fades there colour on and off. Watch it and rate it!
it is e little screensaver which show a circles !
its a little screensaver
This code is completely based on a graphical object fading function.. just check it out... and if you love it... please vote me!
Although this code isn't mine... but I want you guys to check it out... its really awesome!
fun
This is another flame simulator... ;)
This little piece of code switch to fullscreen mode and display an image! It's really simple to switch and it looks cool :-).
This displays a GIF file with GDI plus.
This class enables you to load BMP, JPEG, GIF, PNG, and TIFF files as OpenGL textures.
This program creates a small 16x16 bitmap graphic. It is an editor that the picture can be drawn then saved and used in other programs along with the graphics object that is included.
This is a fully GUI menu system compiled in Turbo C 2.0. It uses egavga.bgi and svga256.bgi for graphics support in 640x480x16 and 800x600x256 resolution. Supports keyboard and mouse interaction. There is a little graphics animation at the starting of the menu system. The main aim to develop this code was to provide a good understanding of how to use graphics in console mode. Menu system was developed in such a fashion that any body can add functionality to the menus by inserting his/her own code without affecting the existing code, or he/she can insert his/her own menu names just changing the menu text. The behaviour of the menu system is as closed as that of the MS Windows.
This is a fully GUI menu system compiled in Turbo C 2.0. It uses egavga.bgi and svga256.bgi for graphics support in 640x480x16 and 800x600x256 resolution. Supports keyboard and mouse interaction. This code demonstrates a little animation. Menu system was developed about MS Windows like fashion. The main aim to develop this code was to provide a good understanding of how to use graphics in console mode. Menu system was developed in such a fashion that any body can add functionality to the menus without affecting the existing code, or he/she can insert his/her own menu names just changing the text. There is a log in box where you should enter "SBM" as user name and 'password' as password. Codes are well commented. Please vote me for this code.
This is a small driver program that displays a binary graphic.
It is A Simple Tutorial Telling You the various Commands For the C++ Graphics in Bgi Mode
This is meant for anyone who has started programming in c++, and want to learn graphics and maths governed programs.VOTE PLEASE ! Learn from the codes,this can prove a great shortcut!
This is the graphics header file for all of you who need for making graphics. if you need any other header files, don't hesitate to ask... and yes please comment on the programs I have writen.
A standard ColorPicker that resembles Adobe Photoshop ColorPicker. No Image files used. purely code color algorithms.It is faster since algorithms are used efficiently ( ...within my knowledge); to speedup the running. This is my first C++ programme so the coding styles may not be in a standard way. Forgive me.
Thise is my first program in university by c program.
This code was used for a class as an assignment of pointers. It shows bgi and ways to move, re-size, and erase folders. It is from TurboC++ and is probably limited to only that compiler.
this program show how to create some
Bugs Problem implementation in c see also "mylib.h" file
There aren't really any decent tutorials on here for graphics, so I have uploaded this sample application to get you started in the right direction. Simply put, this program will draw what resembles a command button that responds to user initiated events; mainly mouse down, mouse up, and mouse move events.
Program consists of basic graphics routines(cls, line, box...) which work by directly writing to video memory. This method provides unprecedented speed and complete freedom to tweak display algorithms.
Providing an example how to create images, draw them and save them into a file.
basics of graphics putpixel demonstration for c++. wonderfull image display on the screen.wonderful to see
baics of graphics for drawing lines in c++. a simple line demonstration is given. nice to see.
This utility allows you to draw picture (like in MSPaint Brush) and Writes you program which will give you the picture as output Similar to Ms Front Page. The graphical Editor is good like never before. This works good to have a very compact file than BMP format. With this work you can design your development easily
GSD is tool to draw sprites for ur games...it's really useful for those who dont know to handle BMPs...the GUI really looks cool and drawing is really easy
Read in an Obj graphic file and display it on the screen. The obj file must contain only one object. This was program #2 for my graphics class. It does rotations, translations, scales, camera, and perspective transforms. Done in Win32 API. Two obj files are included: cube.obj and sphere.obj. Note:
It is a workbench software catering to all logic gates.
Graphical Animation displaying a perfect Progress Bar with Sound...
Basic 2D gaphics like line, circle drawing algos,
provided basis for graphics
It Shows Loading Of 16 bit bmp images in DOS
This is a huge grahpics programming tutorial designed to teach you the basics of graphics programming. The tutorial covers everything from creating backbuffer's for smooth graphics to using BitBlt to start making you very own game. As always please vote and leave comments all feedback is appriciated.
Manipulation of graphic applications. Sergio Izquierdo gave me every concept I needed and we did: a robot arm, manipulation of a square and a cube, sound reading from the sound card, a paint brush application, and a special animation.
Making some effect on 24 bit bmp pictures
A graphical Piano
This is an graphics helper programe this is only a add of my programe for get many of my creation mail me . i m always waiting for u. i tried to create this programe in simple language.
This program demonstrates using 3d Perlin noise to create a 3d wrapping paper texture that is applied to a cube.
This is a cool program....
This sample shows how to draw a black and white image by converting the binary equivalent of the pixels into hexidecimal and building an image from that hex code.
Simple example code for how to use Milk Shape models in your openGL code. Milkshape is a popular program that can import from Quake3, UT and various other formats and then output to the milkshape format. This example shows how to use these milkshape models+textures in a program.
Shows a technique for having wav files compiled directly into an executable.
This is a HRM (HUman Resource Management) S/W. The program is created in TURBO C++ 3.0(DOS). With wonderfull WINDOWS ENVIORNMENT(SEE SCREENSHOT).A lot effort has been spent in graphics.
Describes how to play a wav file in your C++ program in many different fashions!
This code gives an animated solution to the towers of hanoi problem with 5 rings. The method used to solve the problem is iterative ratther than recursive.
This will generate 2D-Bar chart according to the inputs given by the User.
This will generate 3D-Bar chart according to the inputs given by the User.
View an image using GDI+ library in a file dialog.
It gives u the basic details of how to write screensaver.
it draws different graphical figure. it is controlled with the mouse. for its detailed features download the code & execute the cpp file. Thank You . please rate it
it serve the same purpose that any other calender serves. it can tell day for any date from 0001 A.D to future. try it if like it as a beginner. vote for it.
new version of PSC winner code. like previous version draws graphical curves. The new features are i) windows compatibility
How to developing GUI or graphics programming in c c++
A few graphics functions i wrote ... u can move a 2d image from 1 location to another, recieve text in graphics mode etc.
Permite crear figuras como l?neas, circulos, cuadrados, etc. Es un buen ejemplo de herencia y poliformismo, as? como uso de listas enlazadas y MFC/Draw figures, squares, lines, circles, etc. Is a good example of herency and polimorfism, a linked list and MFC classes.
With This utility you can show icon on your c programs which run under dos. You can develope icons which shows your appliction more graphical like window utilities
This tutorial teachs using TabbedTextOut(). It demonstrates computing Tab places
This tutorial teachs that formatting output of float numbers like printf() and using color
For 20 term, This tutorial teachs drawing all of formating outputs to compute Fibonacci series.
fun
Simple command line example of updating ID3v1 tags on MP3 files.
This program illustrates the basic principles of generating terrains and displaying them by allowing the user to navigate an infinite
This program demonstrates creating a sphere by performing recursive subdivisions on the faces of an icosahedron. There's a demo at http://www.coolgroups.com/icosa/.
Create transparent bitmaps at run-time!
it nice equlizer but random
jet audio
it plays several tones, with simple animations in loading and the keypad, and also the menu with the circular double linked list
turns the lights on the keyboard on and off
I HAVE A LITTLE PROBLEM WITH MY CODE........... IT DOESN'T EXECUTE.
This program demonstrates the use of a kd-tree for selecting a set of 2d points that appear in a rectangle. There's a demo of it at http://www.coolgroups.com/kdtree/.
This plain simple LCD clock is developed using pure Win32 APIs and no MFC.
put a picture in the screen using the bitmap format of borland turbo c ,this is a bitmap not a color map
hai friends,
this is a cool little prog that uses for statements to print really cool graphics
nice lighting effect
Load a Bitmap from a file using MFC and a Wrapped Class.
First This Will Go Into Fullscreen Mode Then It Will Play The .Wav Sound As It Would In A Game This Should Be Helpfull Have Fun
learn programming opengl
Just a simple ladder... nothing special or complex!
Export 3d studio Viz r2 scenes to a really easy format!
This program displays 3-dimensional rocks that were made by taking the convex hull of a sphere distorted with Perlin noise. These rocks are also texture-mapped with Perlin noise. There's a demo at http://www.coolgroups.com/lavarock/.
This demonstrates how to play an MPEG file in a child window.
This is a maze you can pan with the mouse.
Plays module music (mod, s3m, xm, it) using the ModPlugin Mod Playback Engine. What you need to compile and use this code: Visual C++ compiler 6+ (I use VS.NET 2002), the ModPlugin DLL (*IN THE APPLICATION OR THE WINDOWS\SYSTEM[32] FOLDER*). You can get the modplugin DLL from http://www.modplug.com (http://www.modplug.com/modplug/npmod.zip). However you will not get the import library and the header files. Those are mine! Creating the header file was easy but the import library was a pain. The ModPlugin DLL uses the fastcall calling convention but uses cdecl naming convention (doh). So finally I created an import library using function ordinals. You can also dynamically load the DLL. But I always like load time linkage (don't ask me why). Have fun.
Here it is... Version 2.0 of the Monkey Screamcast audio and web server. It's multithreaded, small and fast. Serve up web pages and streaming media at the same time. Meta data is sent to Winamp as well now and you can view your MP3 collection from a web page and select the track you wish to be streamed to WinAmp. This dealio will work with video too.
Demonstrates a moving star field in a re-sizable window. Written in Standard C using the Win32 API. Built as an MS Visual C/C++ Project.
your stament can going up
It can play, pause, and stop MP3 files with an easy-to-use interface. Don't expect much, it's very simple and the code isn't my best, but it works.
audio video player
Merge 2 bitmap image into one without using any API, can be vertically or horizontal
By Using THis Code We Can Develop User Desinged Cursors In DOS Mode. It Is A Very Good Code To Design Cursors, Also I Have Included A Tutorial On Mouse Cursors In DOS.
This is a simple gpraphics program.You hv to design your pointer with mouse and it will generate HEX code for the perticular design.
This program reads your mind...
share music with your friends
It is a juste paint program...
This is a console C++ media player. Its not perfect and needs alot of work. But this is my 1st version of it. Im working on making it visual.(thx master for helping me) It dose all the simpal stuff open play stop pause resume. Im posting it cause C++ needs some media players to compete w/ vb. It uses win api. It comes w/ a vb project cause i havnt figured out the short path name code, yet. Dont be too harsh I just started c++. Plz vote and write comments.
it is a menu with graphical interference
Titanic is just an example of how graphics mode can be used. Its good for beginers.
This program show to you how the matmatical functin can be draw in 3D Gaphics - please Vot to me - you must read The readme file first to run the program
Create your own mp3 player. Provides basic functionality, plus dynamic playlist management. The code uses custom toolbars as player buttons (including tooltips), and MCI library strings to operate the player. A second window with a child listbox is designed to add to and delete from a playlist. The playlist is managed as a linked list during the session, and stored in a file upon exit, so it can be loaded at next start-up.
Just a PING PONG GAME for playing Vs Human or Vs Computer. Please Provide Your Feedback.
A simple Mp3 Player for a simple man. Base on article by:BLaZe found http://www.codeproject.com/audio/mp3player.asp
it allows you to set a time and on that time the mp3 sound plays
Gives an example of how to use the OpenGL harness code in my last submission. It draws a simple picture of a mosque. I am not making a comment about world affairs, rather I was trying to get a clean ogive curve and one sees these in mosques.
just pass any array with the options to the funtion menu ,run a loop and the funtion returns the button pressed.Mouse Is Used To select The Options On A button which is pressed when
This program mimics a piano. You input notes into it like the directions in the program say and then you have a menu with choices of what to do with the notes you entered. And yes this program sounds the notes out. It only makes sound on win 2000, win 2000nt and win xp
? MD-AMP is a new MP3 Player with a touch of a luxury audio device. http://dk.psxfanatics.com for Binary. Workspace is made on VS.NET, so you'll need the new Platform SDK if you are going to use VC6.
This is a multi-document interface (MDI) bitmap viewer. I features a status bar that shows the time. It also has a toolbar with custom graphics and tool tips.
It's a nice OpenGL demo that shows you how to make a mirror and reflections there. The mirror is flat.
The smallest media player ever! no sdk or dlls require,it can play this file formats *.wav, .snd, .au, .aif, .aifc, .aiff, .wma, .mp3, .cda, .mid, .rmi, .midi, .mpeg, .mpg, .m1v, .mp2, .mpa, .mpe, .avi, .wmv, .asf, .wm, .wma, .wmv. and much more with only a few lines of code.If you like this program or find it useful please vote.
Allegro , Djgpp This Will Go Into Full Screen Mode Then It Will Draw A Circle And Move It From The Left Side Of The Screen To The Right Side Usefull code
Allegro , Djgpp This code will let you move a bitmap around the screen useing the keyboard
This program uses a mouse to draw on the
MiniDraw is a very impressive program I found in a C++ book i was reading. I edited it and made it even better. This is a paint type program that opens, saves, prints (with a very impressive Print preview(2 page if chosen) and the window's print setup), Recent files and much much more. You can choose from a large range of tools (line, rectangle, rounded rectangle, circle and more) and there is default colors and also the windows custom color dialog. The list of features is endless. Enjoy
It initializes mouse pointer in dos as well as in windows
guys,
A great windows like paint utility! Includes almost all the windows paint functions. Great for Computer Graphics Beginner's Learning.Uses interrupt handling. Includes Icon files made by me. Please let me know about this program.
Music
MyPiano 3.0 is a simple piano developed in C++ using graphics functions.By using this piano,user can play,record music etc.
Ooook...i'm back with a new tutorial ..this time on multimedia and custom controls...I've been working lately on a mp3 player but I've discovered that the mciSendString func can do more then that...I'm afraid that the code is not commented (too laizy) but i think u r smart people and can figure it out by yourself if not give me an email at gioni_go@yahoo.com ...I belive the proj is worth a look especially for the custom controls (only buttons this time)...
Ok this is the last time I bore u to death with this subject ...Lates version of the Mplayer ...still has a few bugs though ...I have added two more features a playlist and a status or debug window..Beeing lazy again the proj is not complete .. If u want to give a role to the other buttons (the play has the role of playng :))) feel free to do it i dont care how u use the code ,,,I haven't invented anything in it
MusicalNotes is a program that I created when I was bored. It plays music from your PC speaker, as well as a few known songs.
This is a test program to show the following feature in 'C'.
shows how an operating system performs multitasking and how java virtual machine performs multithreading...
I was thinking about how Traditional Indian Musical notes ie, SA,RE,GA,MA etc on the computer. By that time I got an idea. I had seen in the Clarck's Tables about the Frequencies and vibrational ratios of Musical notes. I got an idea to make a header file named "music.h" and to use only for me. But the ideas of GNU General Public Licence struck me and I thought that if I distribute this file for FREE, the people, who has more knowledge than me in the field of music can make it exquisite with enhacements of their own. By this thought, I want you all to add more on this file and make it larger
This was made for those how hate Winmain to make
The Monkey Head Media Stream application captures Internet radio streams (Shoutcast, Icy and X-Stream Radio) and records them to disk in an MP3 audio file format.
ID3 Tag v1 & v2 Reader/Writer C++ MFC Class.
scribbles on the screen by user choosed color
c++ menu with mouse for projects
Explains basic morphological operations.
It recreates matrix effects, with strings that you can modify
MSNLiveDisplay is a simple program that allows you to take enumerate all the video capture devices currently on your system and select one to capture a snapshot every X seconds and set it as your MSN Messenger display picture.
I found this code compiled as a java applet on a website... i decompiled the applet with JAD and transferred it over to C++. This uses the same technique as the Fireworks code (http://www.planetsourcecode.com/vb/scripts/ShowCode.asp?txtCodeId=6331&lngWId=3) i submitted last month. This is a really easy way to create a nice looking fire effect to add to your apps... maybe the about menu or something. Anyway, this uses CreateDibSection() and SetDIBitsToDevice() to create this nice flicker-free effect. Play with the settings, you can make diffrent basic effects. Original java source code included...
It's a nice effect of crumbling (I don't know if it's the correct word) in 3D.
This program can generate 3D surface and terrain from a video source with image processing technique as well as from a random or fractal source. It is a good base for Remote Sensing, Remote Topography, Radars, GPS and regenerating Earth Terrains from a camera or spectrum analyzing by video sources and make real 3D map by CNC machines.
This program demonstrates an octree for culling. There's a demo at http://www.coolgroups.com/octree/.
To display different kind of projection.
This is a highly optimized OpenGL texture loader.
This code coverts a BGRA (blue, green, red, alpha) bitmap into RGBA format. It is highly optimized for processors that support Supplemental SSE3.
Use this scope to analyze signals from your sound card. Use with the function generator to test circuits or speakers. Code written in Borland C++ 4.5 / OWL 2.5
This code provides an OpenGL harness for testing drawing code and other techniques. Features, motion using arrow keys, wire or solid drawing, a movable light, status bar and draws into a child window. See Notes.txt for details.
This is a 3d particle engine written in 5 minutes... literally. It is written on the basecode of NeHe's tutorials at nehe.gamedev.net, but is a completely original work. It displays a total of 10000 particles, and each has a random shade of blue as a color, its own position, and its own speed in all 3 directions. You can rotate the image using the 4 arrow keys. (Hit ESCAPE to exit) Please vote and leave feedback. Ignore the title of 3d RPG, that is because it is one of my future projects im experimenting with.
This is an example of my particle engine being adapted for a specific purpose, in this case snow. The arrow keys control the direction and the speed of the wind, and the escape key exits. The red line in the center shows the speed and direction as a rotated overhead view, but it does not accurately represent the actual particle movement.
This shows you how to set up a simple 3D world using the OpenGL superset called Glut. This program also calculates the frames per second thanks to a nice class structure.
This is a simple texture mapping program that utilizes easy to use custom texture classes. The program also uses Glut32.dll to create the simple 3D environment.
Second version... loads BMP and JPG textures. This is a simple texture mapping program that utilizes easy to use custom texture classes. The program also uses Glut32.dll to create the simple 3D environment.
This program shows you how to create a simple 3D world using the OpenGL superset called Glut. From here you can create much more complex graphics. Glut provides a really nice layer in which to work with OpenGL.
Create a textured skybox. This is a very useful tool in creating 3D environments. This project contains a custom created skybox class which really help in making a skybox.
This is a simple 3DS file loader for OpenGL. It will load 3DS models and display them to the OpenGL screen. The core of this loader comes from http://www.gametutorials.com/ but I wanted to make an even more simplistic version for my own use... and one that loaded jpg, bmp, etc textures.
Impressive OpenGL and Camera class absolutely for beginners. Use this COpenGL class to setup OpenGL for Windows in easy steps and use this CCamera class for scrolling into the 3D world. Read instructions.txt for further details.
OpenGl Project
This code has just been further simplified from its complexity by me... Its a nice curve motion by putpixel();
This is an OpenGL control in MFC that can be placed on a dialog, or anywhere you please. There are also a few things on the dialog to play around with it. Further more, to get the color changing right, I had to code a function to extract the red, green, and blue values individually from a single COLORREF value, using division and some arithmetic. This control can be used freely at will. It also demonstrates how to draw on the control from OUTSIDE the class. ENJOY! Vote if you deem necessary, leave a comment, what not.
It's does a simple OpenGL animation.
It does simple OpenGL animation.
It gives details of how to write a OpenGL Screensaver. The code is written using Win32 API and OpenGL API.
This program allows you to navigate through an ocean using the arrow keys. There's a demo at http://www.coolgroups.com/ocean/.
You can play a piano. Full of graphics. 3 octaves.
Very very excellent plasma text effect and plasma effect. actually i searched for plasma effect in pscode but i did not found better result and i thought to made by my own and i come up with the results that are excellent.upto seven different type of plasma text effect and plasma effect.
If you want to code for a pyramid's graphics look then just download my code and fix it with your Microsoft VC++....if you have any question about my code feel free to email me @ amazon707@gmail.com.... Regards, Samiha Esha :)
This is a simple c++ program that shows how easy it is to add a little pazzaz to your programs! (Screen shot doesn't show to much) I mainly made this for anyone in a programming class so they can get some extra brownie points. Also, you don't need any special headers, only <windows.h>!Please comment and rate! Thank You!
check this out... awesome painting utility programmed in c... no less than MS Paint... has many features not present in even mspaint...
This not-so-useful program is created for a sole purpose: to generate special image collages. A simple collage is just a random heap of images; the collages generated by PathCollage contain figures (paths), where only a pre-defined set of images can be.
Random change the console color and draw a circle in the middle
This project contains a collection of function pages that allow a programmer of nearly any skill level to display .gif, .pcx, and .bmp files within their applications. The routines are extremely memory-efficient, and the functions permit a photo of nearly any size to be shown. Tight restrictions on the format of pictures that may be displayed reduce the project's portability and power. For example, only 8-bit photos, instead of 16-bit and 32-bit files, can be loaded up. Nonetheless, pics are shown in screen mode 13h with 200 rows x 320 columns x 256 possible colors. A test driver and all source code exist in the .zip file to better help you to understand the classes.
Shows how to play a .wav file through your application. And the different options (SYNC, ASYNC, LOOP).
This code was written by me in my introduction with C graphics in order to store graphics in memory for better performance
Draws and paints pictures and saves them in a format. It includes fill Pattern that is not available in MS-Paint also.
The purpose of this article is to demonstrate how to build RGB pixels of varying bits per pixel (15, 16, 24, and 32) and it also shows how to RGB color components from an RGB pixel.
This is a very simple code. I think its pretty cool though. It plots a random color in a pixel space but the the way the random number generator works creates a cool design.
Plays a wave file. Please check the site http://www.javagalaxy.com for more of such codes.
This code is really very simple. It loads a bitmap from a file and displays it on the application window.
Allegro , Djgpp this will play any wav file in the background its well commented
Part-1/2: Implement an image - processing function called Pixelized. This program uses SDL library from www.libsdl.org. you must download and install it before using this small prog. Or you can download part-2/2 which is the binary file (if my upload was successed).
Part-2/2: Implement an image - processing function called Pixelized. This program uses SDL library from www.libsdl.org. you must download and install it before using this small prog. Or you can download part-2/2 which is the binary file (if my upload was successed).
performs various friendly painting works as in windows paintbrush using keyboard
A START POINT TO MAKE PAINT PROGRAM USING C++
very simlpe analog clock
This tutorial present a color table of the display elements and teachs using CreateSysColorBrush
Paint type programm for dos, written in C. Hevealy uses Borland stuff. Open project file (.prj) and compile, should work. Advices and feedback are apreciated. I'm not on permenent connection, so wont be able answer questions, if any, fast. Soz for my english. hf an gl.
Idea about Graphics & H/W interaction
It can draw lines. I dont really see an example on psc that does that... It also has a good UpdateWindow example.
A Simple Paintbrush Program
This Project has been developed using Turbo C++. It is a tool to edit images and can be used to store them under the extension .dpt, which is a format of my own. It gives its user 10 different tools to edit and 16 colours.
A small program written in VC++ that it demonstrates as is simple to make to say the time, every hour, with one synthetized voice.
Player code in C++ Builder 1
Code shows how to use vector graphics in their applications and how to create interactive GIS- and CAD-system.
This is a graphics program in DOS use to emulate the MS Paint Brush of Windows, you can draw box, circle, poly shape, lines, fill colors, put text with font style and sizes, or even zoom the part of your drawing and edit, this was my little program last 1999 when I started to learn graphics programming, this program was created in TC version 1, using 386 pc, please vote for me, thanks
This code illustrates the basic principle of 3d skeletal animation. It shows how to attach 3d points to "bones" and make them undergo the corresponding matrix transformations.
This program demonstrates procedural texture mapping in 3d by choosing the colors of the surface of a sphere according to a 3-dimensional coloring function.
This program demonstrates how to create triangular slices of a 3d procedural texture function. In this particular example, these slices are then used to create a cubic surface. However, the program may be easily modified to work with any type of surface comprised of triangles.
The tutorial which teaches the amazing world of Particle Systems and then teaches you how to code your own Particle Systems... It also uses concepts such as Graphics, Pointers, Classes, Inheritance, etc..
qpEngine is a 2d rendering engine with 3d elements. Supports 8,16,24 & 32 bit modes. Features: aligned fills, RLE compression, decompression and blits, alpha transparency, affine and perspective correct texture mapping.
This class enables you to quickly load BMP, JPEG, GIF, PNG, and TIFF files as OpenGL textures.
This is a quiz game using file handling and graphics.Mouse is also initialised and used.Containg 3d buttons and windows like environment.
It is a simple programme to accept your input scores of three teams.Find out the team with largest score and make their name flash with an indicator piture along side it
Simple windows program where two robots are draws on a window and move. I have included asimple bitmap class.
Rotate a picture at any given angle in realtime. Also scale it, use transparent color and alphablending.
This was an experiment to perform a few effects with basic math. The program demonstrates reflection and spring forces, as well as some different uses for particle effects. Spring forces describe the movement of objects like a flag in the wind, or the way a cloak moves when hanging from a body. I used particle effects to model this, as well as a fractal landscape. As I recall, the calculation for spring forces uses some sine and cosine, and are generally slower (even with lookup table) than addition. This program is still kind of slow, but I didn't do a whole lot of optimization.
I noticed that the earlier version was not good enough so i worked further on the code. Now the backspace key also works.
Use your sound card input analyze frequency response. This application works like a real spectrum analyzer. Uses the line / mic input of the sound card. Great for testing speaker response.
I was just trying to know that after five months without touching C graphics can i write a program.
Watch Out Random Color Circles on Your Screen. Which keeps on bounncing
RangBirangi is a look alike of PaintBrush. It is a DOS based paint application where users can create edit and save their graphic images. The files produced are of very small size as compared to the ones produced in PaintBrush of windows.
This program show how to change the screen resolution, refresh, and other screen features. Is quite interesting for people that are beginning to program aplications with the Win32 API
This app is a tight little image viewer. It's resizable and the aspect ratio is not affected during resize. It allows for slideshow, stay-on-top, image list editing. It's mostly for jpg's but the ctrl that displays the image can be used for any image type.
this code shows how to utilize some functions in 'graphics.h' to create simple graphics. I hope this code helps. any question and comments are appreciated.
This code displays random circles over the screen, which expand, and get darker as they get farther away from their origin.
This code rotates a bitmap, any number of degrees. Demonstrates techniques such as doing work in a worker thread and posting messages to a progress bar, preloading calculations and graphics resources for speed of animation, but the main algorithm could perhaps do with optimizing. Anyone who can spot any savings I can make, please don't hesitate to let me know!
A Rotating 3D looking Like alplabet 'X'.
animation of a runner,almost resembling the biomechanics of a running human being.i have written the code in turbo c v3.0.just run the code and watch.
Rotate A Plane at various angle and move a point
RED is media player application it wil give you a good example of using the Direct X 9.0 SDK which is freely available at microsoft site.I coded this application when i was just newbie to vc++ in overall new to C++ somewhat.There are some minor bugs that needed to be fixed but for now it works just fine.This application gives a good example of IMediaSeeking,IBasicAudio, IBasicVideo, IVideoWindow IMediaEventEx IMediaControl,IGraphBuilder.you can also learn how to get objects from the dialog box with assigning a control variable to the dialog.These are some of the file formats the application plays "avi,qt,mov,mpg,mpeg,m1v,dat,mp3,wma,wav".Please feel free to use the application and do the necessary changes and rate the application.
This program creates 3-dimensional rocks comprised of triangles by taking the convex hull of a sphere distorted with Perlin noise. It
This program demonstrates drawing a 3d Reversi board. There's a demo at http://www.coolgroups.com/reversi/.
My first OpenGL application. The program just draws a pyramid and spins the pyramid around on the y-axis with the help of SDL and OpenGL.
I wrote this code many years ago when I was using my old Windows 98 system and had a Sound Blaster AWE64 Value. The SBAWE64 was a hell of sound card at that time. It always amazed me. Especially the onboard EMU8K processor. At that time I was working a C++ game frame for 32-bit protected mode DOS called "gFrame" and was searching for a good sound library. I chose MikMod 2 because MikMod 2 could do all Sound Blasters, GUS, Pro Audio Spectrum etc. It also had the ability to play different kinds of mod music (mod, s3m, xm etc.). The only thing that was missing from the library was support for my Sound Blaster AWE64. So I decided to write a driver myself! Actually the MikMod team was working on a SBAWE driver but sadly the original team stopped it's developement and the driver never saw the light of the day. Some time later "a few good men" took up the MikMod 2 sources and started working on MikMod 3. MikMod 3 had support for the SBAWE but it did not suite my purpose. The reason was that a) it was a MikMod 3 driver and b) it had no sound downsampling code to make all sounds fit on my SBAWE64 Value's 512K DRAM. After a lot of research and reading a lot of technical documents, I got it done. And thanks to all the people who helped me while I was doing that (esp. Lada Kopecky). Well I dont't have my old SBAWE64 anymore to test this code, but here it is. It might be useful to you. If you use this code in your application/driver don't forget to give credits to me and to all the people mentioned in the code. And, mail me if possible.
Screensaver
This is an Analog clock that will display time.
sthis is a basic scientific calculator program which includes 2-D and 3-D figure calculations(e.g. square sphere etc.)
This is a small program to illustrate the different colors that can be generated with a VGA Compatible display adapter in 256 Color mode. This little program can prove to be a great for those who waana know the right amount of intensities to be used for red, green and blue to make a particular shade.
It's a Simple Program that Shows a Bouncing Ball within a window...it's very simple to understand and learn...Learn How to Detect Collision With Walls (horizontal/vertical)..if you find the program cool, chances are, your a geek...
Sutherland-Hodgman Polygon Clipping....and as always, i've tried to use very simple code...
Its an introduction screen with labelled scrolling and appearing 3D bars. Introduction screens are a great idea for any program. Understand how to make graphical objects move
This code finds the factors for a number, although the real purpose is to demonstrate how to program a GUI
This example shows you how to shape your applications window to any bitmap in a resource
It displays and rotates a simple 3d cube
To introduce graphics in C/C++ and enhance the level of knowledge in this programming language.
I wrote this code for as a Research Paper for school. The purpose was to create a program that could graph functions of 2 variables (3D functions). They look like surfaces. OpenGL is used to create the 3D graphics.
Program to open & view a .bmp file in color or convert it to 256 level grayscale & perform Histogram Equalization, if required. (with sample images)
There is no purpose i got done with my project in class early and just decided to write this small screensaver. Not to big just wanted to share it with you. Does 1280 then stops
demonstrate graphics
This code shows you how to draw simple lines, rectangles or ellipses. You can choose the pen (line color) and brush (fill color).
This is a single document interface (SDI) application that allows the user to view any bmp file. This is a little slicker than most of the versions I have seen here.
This is a real cool effect I made orginally formed from a snow effect. I thought it be neat to move the snow particle around in a pattern and still be able to drop. :) Please vote or comment, my digital folks.
it is a special type of bump mapping.nothing more to say just take a look and the see yourself
Generate the coolest Diamond patterns out of characters and even strings with colors and special effects. Also generate random tunes on your input.Please vote for me.
Generate directly compilable C files .The c files contain codes to produce pc speaker sounds.The generation is created in front of you so you have the control from generating small to huge sound scripts.
Just a simple example of how to make screenshots,
printing
I looked everywhere for a very simple mp3 file player but found nothing that was simple and easy to use. This is a .RAW, .WAV, .MP2, .MP3, .OGG, .WMA, .MID or .ASF file player. It uses custom designed classes built around the fmod DLL that are extreamly easy to use.
its a 3d star field.devloped in Turbo C++ 3.0
DISPLAYS 1010... FULLSCREEN. SOMETHING LIKE MATRIX OR SYSTEM SHOCK EFFECT. CHECK IT OUT!! IT'S VERY COOL AND ITS EXCELLENT FOR BEGINNERS. THE CODE IS VERY SIMPLE AND BASIC. BUT THERE ARE LOTS OF NECECERARY FUNCTIONS THAT I HAVE USED. YOU CAN EDITED IF YOU WANT!!!! HAVE FUN!!!
Playing with Sounds.
This is an extremely accurate, but smaller, simulation of the "self test" screen you get on Windows compatable computers when the computer is off, but the monitor is on (at least I get it). This is extremely accurate, as it blinks and delays just like the real one. It even has the same exact text and colors! Read the readme for info. Enjoy!
Generates the siren sound.
This program uses a mathematical formula to produce successive notes of a piano (Keyboard). These notes have one base frequency relative to which other notes are calculated. This base frequency can be changed as per programmer's convenience . Keys "Q, W, ,E ,R ,T, Y, U, I" are assigned as Low notes and "A, S, D, F, G, H, J, K" high notes. One can change the assigned keys set also.
Security Alert Siren.. very good.. don't open this link if you don't dare to encourage by your valueable votes..
It extracts the vector graphics images (shapes) from Shockwave Flash (.swf) files, and saves them as individual flash files. I hope to later add support for extracting other resources.
Solar system with extra added function. For example, user is allow to change the radius of orbit, rotation speed of earth and moon, can relocate new viewing coordinate and object illumination function is included as well.
This Program input percentage marks of 10 students and then displays the students who score highest marks and also display the students who got minimum marks. After that it display marks in a beautiful graphical manner. Please do rate it
Demonstrate spectator mode camera resemble in "Counter Strike". You can move, rotate, zoom camera as your wish. Using mouse and keyboard. control button exactly same with "Counter Strike"
A simple media player using the mciSendString API to allow playing of most common media file types. Movie files are played in fullscreen and a slider allows control of the playback position.
My source code is an implementation of certain basic mouse and graphic routines-mode 13h,sprites,
This is my library to implement certain
basic buttons for sdl
THIS IS A SIMPLE MOUSE DEMO PROGRAM FOR BEGINNERS.
This is a demo of 3D graphics programming in C++, you can rotate the view in any direction using arrow key, F6 to begin attack animation, and F5 to reset, I choose World Trade Center Attack simulation coz this was the biggest new during I created this code, an Include .h file that contains 3d function is included and you can freely reuse this on your program, but don't forget to vote for me :)
Sorting means arranging a set of data in some order. There are different methods that are used to sort the data in ascending order. Some of the methods explained in my artcle.For more details visit http://electroguys/sorting.html U can download free graphics program.In that program sorting is explained using c/c++ programs.
This program allows you to navigate a 3d sky using the arrow keys. It does so by placing you inside a texture-mapped sphere. There's a demo at http://www.coolgroups.com/sky/.
This program demonstrates creating a sphere by performing recursive subdivisions on the faces of a tetrahedron.
This program demonstrates a 3d sky by placing the viewer inside a texture-mapped cube. There's a demo at http://www.coolgroups.com/skycube/.
This shows how to use SDL(Simple Direct Layer) to draw a picture on the screen. It also shows how to sense keypresses using SDL also.
This program demonstrates creating a 3d slot machine. It requires the gd library from boutell.com to compile. There's a demo at http://www.coolgroups.com/slotmachine/.
3D Triangle
This program was designed to show how the time division multiplexing technique works. Using graphics ,this program shows the user how index is created in memory and on call ending how they are removed from memory.It also shows the basic principle of how a time interval of 125us is distributed among several users
The code is about controlling a Traffic signal. You have to first create the circuit with IC and you must have to use printer ports to implement My code for controlling traffic in busy roads.
To play the famous Nanny Boo and Charge sounds from the PC speaker.
This project based on graphics library of turbo c++. And demonstrate the use of mouse handling,
this code is to perform the basic transformation operations.It performs rotation,scaling and translation.
This is a nice example which shows you how to create a translucent window under Windows 9X/ME. Windows 2000/XP has an own function for
This simple tile editor is extremely useful for games and other applications that use stamp-based graphics. The stamp creator is set in screen mode 13h, which has a display of 320 columns x 200 rows x 256 colors. The program neatly lays out the array of colors that the user can choose from, and the project has only minor bugs. The user can save and load tiles that are 20 pixels x 20 pixels. Uses the number pad and has a large work space. In addition, the application features the "pick color" function that can pull a color from the stamp, and a "fill" function is also available.
A nice little MP3 music player / decoder. The unit is fully
This is an upgrade to my previous Tramp MP3 Player. Now has an Reverb/Echo
It's a starting animation of a Text Flasher software. You can get the remaining code of this software on the same site, but remember my name to get that code.
It's a text flasher simulation program in which the software change the colors, font, effects of the text as well as background. It's starting file i.e. startup file can be found on the same site. Thanks
Shoot The Target.
It prints the graphs of some mathematical functions
There is no purpose to this i was just bored today and made it. Makes a cool 3d illusion by moving the arrow keys up and down.
Teach you how to write programs for creating 3-D objects on the screen using the smallest possible code
T1CFreeImage is a simple ActiveX component that creates PNG images on the fly. It draws lines and texts with a selected color and saves the rendered image to a file. (http://www.tonec.com/download3.html)
hey,
The purpose of this file is to allow you to create picture file for your applications that use dos.
Teach textcolor changing in EGA mode. I.E, standard console mode.
It's a graphics program which is quite like a screensaver
This is a simple text graphics program. It is animated using the clrscr() function, a homebrewed delay function, and text. It asks you to input a letter at first, and it animates in a different order accordingly. It has many text effects, so you are entertained for nearly a minute. Very nice! Enjoy!
It use the OpenGL, an API used to create computer graphics, particularly in 3D modeling, and integrates several of OpenGL?s features into a 3D modeling application.
Common graphic redactor written with pure C. Draws images using conventional instruments, saving it to file in specially developed format and loading them.
Decode TIFF iamge files, retrieve palettes, and display pictures
This program solves the towers of hanoi with a recursive solution, the code is in spanish (sorry for not translating, but I'm a busy man, and the time is money!!!), I hope you enjoy this code it looks like windows, uses a mouse and command buttons, etc... pleas feedback
This is a cool piece of code i wrote which uses simple trigonometry to rotate a line and uses graphics concepts to make it more funky!!
Performs 3 Dimension Trasnformations
This code is the Animated , nearly flicker free animation of towers of hanoi, beats all those jave applets. Cool , with graphics and sounds. Please vote.
This is wannabe-demo.it's done in opengl using GLUT with c (compiled on windows machine using VC++6).3d earth rotating around the sun and the stars are shining and there is also some alien spaceship and xfiles music.It shows the basics of OpenGL(glut,user input,sphere mapping,playing music,lighting).it's really basic code and everyone should understand it.I used .raw textures, because they are easy to handle and easy to understand for beginners. ssk,comment,vote :)
this is agraphicaltyping tutorjust like bybble tutor though itis not complete yet but i would like toshare it to you suggestions and comments are encouraged
This Program provides complete functionality of textbox in
This is a test program to show the following feature in 'C'.
just tank drawing
This code demonstrates how to pick a set of random points on a torus. This "point cloud" can then be used to create a 3d mesh of a torus.
This program displays the convex hull of a torus. Convex hulls like this one may be computed quickly using the Quickhull algorithm. An excellent implementation of this algorithm can be found in the program known as qhull.
This program uses the Delaunay triangulation of a set of 2d points to generate a set of triangles that will make for a good terrain. Notice
This program demonstrates loading a texture from a JPEG file. It requires the gd library from boutell.com. A demo is available at http://www.coolgroups.com/texture/.
This is a Transparent PNG texture loader for OpenGL. It requires the gd library at boutell.com. There's a demo at http://www.coolgroups.com/alpha/.
This software displays the time.It has very good graphics.It depends on your BIOS time and date
It is a very wonderful graphics program. It magnifies the given text in to a bigger beautiful format. Just have a look over it. Its really interesting.
this program is similer to banner command used in unix operating system
a very very nice fire demo show diffrent kind of fire
Using Active Image v4.5(http://www.tonec.com/download4.html) in Microsoft Visual C++ 6.0
This will take a height map, lower altitude map, and a higher altitude map and blend them. It will output a rough map thats used for CLOD terrain engine, a shade map, a blend map, and a shaded blend map. For more information read the readme.txt. If you have any questions, feel free to ask. Enjoy this :)
This tutorial teachs drawing with PolyDraw function.
There are bouncing balls all over the screen, with variety of styles and colors.
I AM SURE THAT YOU HAVE'NT SEEN THIS SORT OF
Full set of graphics functions in C++ (with source of course). Access vga/svga, palettes, fading, lines, sprites, split screen, take over mosue and keyboard interrupts and do all sorts of neat-looking things.
This is an example of how to use the code in my earlier submission OpenGLHarness. This example uses the timer to simulate a vibrating membrane. It uses a method similar to the Cranl-Nicholson method to solve the two dimensional wave equation.
view 2,16 and 256 color bitmaps accuratly and i mean accuratly .check out the windows logo enclosed in the zip with the program. Enjoy.
Tell you about the screen resolution and vga card simple but helpful
I made it for young developers(including myself)who want to develop GUI's in C or C++.Well It can surely help those guys.I have added remarks so that the code can be easily comprehended.
this code gives u access for video memory in windows as well as in dos this code works in c/c++ very well i have tested it !!! i have submitted this as examples my next code will be the grpahical representation !!!
this code gives u access for video memory in windows as well as in dos this code works in c/c++ very well i have tested it !!! i have submitted this as examples my next code will be the grpahical representation !!!
this prog gives u the actual representation of video memory
see code itself
Vector Draw++ is a collection of classes intended for vector drawing using document/view architecture in MFC. It can draw a vector shape like line, rectangle, ellipse, polyline, polygon, bezier curve and closed bezier curve. You can then move, reform, change the fill color, change the line color, bring to front, bring forward, send to back, send backward, cut, copy, paste and delete the vector shape. Other features like unlimited undo, zoom, scroll bars, open, save, print and built-in context menu are also included. Just don't miss the demo (open the Vector Draw Demo.dsw project). Your feedback and votes will be very appreciated.
This is a vector font in OpenGL. There's a demo at http://www.coolgroups.com/vecfont/.
I orinally was experimenting with the Win32 API to implement music streaming in Quake. You will find my version of quake posted in PSC. Will this is the outcome and its pretty cool. Sound streaming from a compressed WAVE source (any format provided you have the ACM driver) is really simple and works like a dream. The only thing to note here is that the WaveDecompress function decompresses the entire wave file into memory. Now if you were to use this code in your project you'll have to modify the code to decompress "on-the-fly", i.e. decompress while playing. Have fun. BTW, if you use this code please don't forget to give me the credits and mail me and let me know if possible.
Creates a window (with the Win32 API) and displays the coordinates of the windows client area in pixels in the form of X-Axis, Y-Axis. The window can be moved, and the coordinates will be re-displayed with the new position.
Shows you how to format text in a window in a portable way that should look good on most systems. Uses family guy episode list as example data.
It Simulates the graphical code used in 'Matrix the Movie'and much more ! ! !
will generate the wagon wheel for a given batsman presently only for 4s and 6s but can be easily extended for 1 2 and 3 runs also
This is a little weather effects demo that does rain and snow. The inspiration came from some games that used these effects - most notably "Baldur's Gate" and "Diablo II." I just wanted to try and reproduce some similar effects, and allow anyone else who's interested in using something like it to add some reality to their game.
A windows port of a very realistic fire algorithm. Translated from Pascal to C++ and ported to Win32 using GDI.
This is the new version of Winbgi Library. You will have to you init_graph(), not init_window. It supports every 32 bit application including Windows 2000.
add this file into your project and put it in the same directory of the c/cpp file you are making. also include the winbgim.h file in the same folder. If you need instructions on how to make a project, give a response. And no i did not write these files.
Demonstrates how you can draw OpenGL to a window that you created in a dialog box with the resource editor, without having to manually use CreateWindow
An example of how to put a color gradient in the background of a window by painting the window's DC (device context).
These are classes for loading, creating, editing, and saving Windows Bitmaps and PC Paintbrush PCX files. They fill the needs for displaying images in Windows, and can also be used under other systems.
Sample of WIN32 API Programming. Shows 3D math functions. Public Domain with source code. Language: Italian and English (selecting from menu).
Windows like Tools for dos.It contains cool functions that make make you program look better.
It is a quiz based program aimed at enhancing one's g.k. and provide entertainment.
Displays an analog clock
Writting a winamp2.x plugin actually is an easy task. This plugin displays some 3D objects using points, the objects can translate/rotate/transform in the 3D space. It is a good example for dll programming, please rate for it. I code the 3D engine without using any OpenGL or Direct3D technique (only some manipulation on device content). The dll file need to be put under winamp\plugins\ dir. It read 3d datas from file 3dview.dat (in the same dir). This plugin idea is inspired by screen saver 'dissolves'.
shows you how to create effective and good window
The Program Shows A Menu Like in windows.
This is a small DOS base graphics programme written in C. I used TC++IDE. It shows how to programme mouse functions by using interrupt. And I tried to make some nice buttons also. It also reads system time and shows it in a graphical watch. Thanks! Vote!
Example of Windows Graphics Animation.
This is a win32 dll that opens midi out port, Plays midi files in a background thread. You can set tempo and transpose. A Visual Basic tes application is also included. The OO hierarchy for the midi file and the code for loading the midi file may be useful for you, you can use it in your own applications
This program demonstrates loading Wavefront OBJ files. There's a demo at http://www.coolgroups.com/wavefront/.
creates a 3d button on user defined coordinates
How to give Xp-style to your Visual C++ 6.0 or Visual Studio 2005 applications.
This is just a little program that prints a christmas tree on the console screen, very cool!
Total re-write of xpmloader, uses templates to parameterize surface types, can return an SDL surface or an integer array of pixel data from an xpm file, and has the potential for some interesting extensions. re-submitted 9/26/2005
This program can draw any polygon that is a "regular polygon",
generates the prime factors of a given number
generates polygons... you specify the number of side it generates polygon containing that many sides
3D OBJECT VIEWER