I am trying to create a picture on a wall were the user can load their own image. The view is angled so the picture should be perspective.
Is there any way to do this within MMF?
---------
I had an example image but can't seem to get it loaded.
I am trying to create a picture on a wall were the user can load their own image. The view is angled so the picture should be perspective.
Is there any way to do this within MMF?
---------
I had an example image but can't seem to get it loaded.












You could try the Perspective object / the Lens object.
.:::.Joshtek.:::.
Thanks Joshtek.
Unless I'm doing something wrong I still can't get any of those objects to give what I want.
HERE is a (quick rendered) image showing what I'm trying to do. Where the "painting" is I'd like to be able in MMF load an image that will fit the frame and have the right perspective.
You could use the image manipulator object to do that. You might have to alter the perspective of the other objects though.
Image manipulater would not "shrink" at one end creating a perspective image.Originally Posted by raytrace
I was able to have the window shape object get the correct shape but it cut the image instead of deforming it.
Well, there may not be a way of doing this so I'll just have to go with pre decided images instead of users having their own.
Thanks for the help guys! :smile:
Image Manipulator - I thought it could skew - o well
Use the lens object then. It will work but you've got to get it right first. I'll have a look tommorrow
Could someone explain how to skew with it? What I'm trying to do is create a game that's 2D but with depth. This would require, as well as the character to appear and move slower further away (which I've already managed), that the platforms get skewed more and more as they get closer to the edge of the screen. If you want to see an example of what I mean, try playing one of the 2D sections in Crash Bandicoot games. A good example is in the level "Piston It Away" of Crash 2, where this happens with some nitros that are lined up in the background. If you're standing directly in line with one set, you only see the front and top of them, and as they go close to the edge of the screen, you can see more and more of the side that's closer to you.

A good way of faking it is to pre-do images for the box for what it looks like at different places across the screen, and then store these in an animation and set the animation frame based on where they are compared to the screen (formula).
If they need to be animated, you can always use the 32 directions instead, but it's trickier.
Nope, I don't need animations on any skewed objects.Thanks for the idea.