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.

Author
Message
randi
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United States
Posted: 12th Jul 2003 08:37
Anyone have an idea on how you could do morphing of two images with DB?
My friend, who does exhibits for museums, has a project for a science museum.
It's this thing where it takes a picture of you and then makes you look old.
They already have an exhibit like this but it is dumb.
They want to redo it.
I haven't seen it yet though.
But he was asking me how he could do it.
But I really don't know.

Any ideas?

Randi
Falelorn
23
Years of Service
User Offline
Joined: 19th Jun 2003
Location: Canada
Posted: 12th Jul 2003 09:05
I dont think it can be done in DBPro, at least not easily. but there are a ton of free and cheap software programs out there that can do it.

my sister uses this in her kindergarden type school.

http://www.rocketdownload.com/details/inte/4567.htm

and its freeware. She seems to think its good. But a quick search on GOOGLE should find you a ton of them
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 12th Jul 2003 09:07
i'm pretty sure it can be... i know that Sam has some kinda blending for his sprite proggie - so perhaps try and ask him about it

Bulleyes
23
Years of Service
User Offline
Joined: 3rd Nov 2002
Location: Cyberjaya, Malaysia
Posted: 12th Jul 2003 11:59
If you said morhping two images, I would say YES, it can be done in DBpro. What you need is just to find the algorithm for morhping and code it in DBpro. Most probably you need to manipulate the pixel data directly using memblocks. I had a Feature Based Morhping written in Java actually. If you need it, I can send to you and you can port it into DBpro.

If you need morphing in 3D Models, I think it can't be done in DBpro as this requires mesh deformation. And I think DBpro doesn't support this.

Bad Nose Entertainment - Where games are forged from the flames of talent and passion.

http://www.badnose.com/
randi
23
Years of Service
User Offline
Joined: 27th Aug 2002
Location: United States
Posted: 12th Jul 2003 17:53
I looked at other programs, but they need it to do it automatically.

It needs to be able to take your picture then make it look old.

I don't know anything about memblocks though.
I couldn't tell you what a dword is to save my life.

Randi
Shadow Robert
23
Years of Service
User Offline
Joined: 22nd Sep 2002
Location: Hertfordshire, England
Posted: 12th Jul 2003 18:46
the memblocks are the simple part to figure out, the hard part would be morphing... especially if you don't know what the end result will be.

i mean if you had an end result it'd just be a case of

startPx(Height,Width) * endPx(Height,Width) / 255 / Frames = resultMorph

you'd then apply the resultMorph to that pixel, however each pixel is made up of a RED - GREEN - BLUE - RESERVED

which are put into a dword like
ARGB = ( (RESERVED<<24) || (RED<<16) || (GREEN<<8) || (BLUE) )

however luckily DB Memblocks will allow you to pass back either each DWORD (structured above) or each Byte which is far simpler to deal with as the structure there is just



only problem you'd face is you'd need a 3rd buffer specifically for the morphing pixel ... and then you'd have to regulate the time so they morphed right.

i wish i could help more than that but thats about the best i think i can come up with.

LuciferX
23
Years of Service
User Offline
Joined: 16th May 2003
Location: United States
Posted: 14th Jul 2003 07:17
if you are thinking about morphing sprites into other sprites, this is possible sice you can just render diffrent frams of the morph seperatly and then play it if the charactedr has to morph.

as for a DB program than can analize a persons face and then predict the image that would be his face when he is older? No Way, No How.

i caouldnt even tell you what might be needed for that , maybe bio-informatics engine that xfered to a image recognition algorithm just for human faces, with a little bit of dna and aging informtion it might be possible to predict this, of course what you speak of would only be for entertainment and not really FBI level stuff, but unles it is just a simple camera trick, it will probly turn out to be a math formula from hades.

Do or do not, there is no try. -Yoda

Login to post a reply

Server time is: 2026-07-21 12:49:47
Your offset time is: 2026-07-21 12:49:47