Sorry your browser is not supported!

You are using an outdated browser that does not support modern web technologies, in order to use this site please update to a new browser.

Browsers supported include Chrome, FireFox, Safari, Opera, Internet Explorer 10+ or Microsoft Edge.

2D All the way! / Kaleidoscope Help

Author
Message
fubarpk
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 7th Nov 2005 11:46
I have been having fun creating a graphics workshop that uses sprites that you select it creates a colour range from a given color and randomly redraws them with random size,alpha and diffuse levels depending on colour range. Now this is all fine so far. It even has a save option.

I was hoping if someone could point me in a tutorial that is easy to follow on how to create a kaleidescope on the image I have created on screen. Or even better supply some dbpro source for credit.

I have created some nice artwork so far with what I have but I have to use a filter in photoshop for the effect i want. Like the picture i have attached.

fubar
fubarpk
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 7th Nov 2005 13:50
So far I have worked out i need to place my image onto an object then place mirrors positioned above the object in a triangular shape 2,3,4 is what is usually done these mirrors then reflect the object back at itself to create a kaleidescope on the original. I then can screen capture the image on screen and save it. That is what I am hoping. But I am presently researching mirrors and object possibly plain capturing the reflection this one im most unsure about. I have read many articles now and heading to bed soon.

thanks for reading this thread and to any replies i might get

fubar
fubarpk
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 8th Nov 2005 07:49
This site has something similar to what I want but i dont understand what the flip command is meant to do it is in pseudocode

http://sprott.physics.wisc.edu/pickover/ekscop.html

fubar
Pincho Paxton
23
Years of Service
User Offline
Joined: 8th Dec 2002
Location:
Posted: 8th Nov 2005 10:09 Edited at: 8th Nov 2005 10:12
This will give you a start. Have an image called YourPic.bmp in the same folder. You need to try ghosted plains on this.

Edit: Oh you want to do an effect on the full screen image. I see now.

This code is not what you want then.



fubarpk
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 8th Nov 2005 12:10
Pinch paxton that is pretty cool but i think i am going to have to grab an image and apply it to a plain and have ghosting on. Your formulas should be sufficient to create some triangles which need to reflect the bottom image back at itself. I dont wish to see these mirrors. What you really need is one central mirror and have several others offset from the main. I am still toying with this but as usual I am having trouble with the camera

fubar
fubarpk
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 12th Nov 2005 11:39
Incase anyone wants to see the program I want the kaleidoscope for there is a codebase entry with my code and media. Just search for
fubars workshop

fubar
fubarpk
Retired Moderator
21
Years of Service
User Offline
Joined: 11th Jan 2005
Playing: AGK is my friend
Posted: 27th Dec 2005 23:31
Can Someone tell me whats wrong with this code it is supposed to be a popcorn effect i have converted from a qbasic program. I have attached the qbasic code but it dont work the same.

fubar

Login to post a reply

Server time is: 2026-06-12 23:24:48
Your offset time is: 2026-06-12 23:24:48