Results 1 to 7 of 7
Thread: Cross dissolving of 2 images.
- 03-01-2011, 04:23 PM #1
Member
- Join Date
- Dec 2010
- Posts
- 20
- Rep Power
- 0
- 03-01-2011, 04:47 PM #2
What exactly is the cross dissolving algorithm? Write it out in easy to follow steps, and you should have something that's pretty easy to convert to code.
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 03-02-2011, 10:16 AM #3
Member
- Join Date
- Dec 2010
- Posts
- 20
- Rep Power
- 0
Pseudocode is like this:
Input image 1
Input image 2
Grab pixels from images 1 and 2
IF width and height are same,
In image viewer, start with image 1
Slowly fade image 1 to image 2
Wait till image 2 is fully reconstructed
Fade back to image 1 again and repeat sequence
ELSE
Resize image and repeat operation
- 03-02-2011, 01:35 PM #4
Okay... and what part of this are you having trouble with? Where are you stuck? What have you tried?
How to Ask Questions the Smart Way
Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!
- 03-02-2011, 04:19 PM #5
Member
- Join Date
- Dec 2010
- Posts
- 20
- Rep Power
- 0
I think this algorithm uses timers and threads but I tried to make my way around this algorithm by merging the 2 images by using pixel grabber and for loops. However, I am not getting the expected results. There are blurry lines being drawn vertically
- 03-02-2011, 08:50 PM #6
You might find java.awt.AlphaComposite of interest.
db
- 03-02-2011, 11:44 PM #7
Senior Member
- Join Date
- Jan 2009
- Posts
- 671
- Rep Power
- 5
Similar Threads
-
Cross posting question
By tashimoto in forum Forum GuidesReplies: 7Last Post: 12-28-2010, 06:06 PM -
java with cross-platform
By rupeshnerkar in forum Advanced JavaReplies: 1Last Post: 10-08-2010, 09:06 PM -
cross platform architecture in Java/J2ee
By softbuzz in forum IntroductionsReplies: 0Last Post: 01-09-2010, 08:03 AM -
applet won't draw a cross
By michcio in forum New To JavaReplies: 1Last Post: 06-02-2009, 07:03 PM -
JAVA a cross-platform language? I have my doubts!
By willemjav in forum Advanced JavaReplies: 34Last Post: 10-24-2008, 11:26 PM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks