Forum Moderators: open

Message Too Old, No Replies

3d image

make image look like having depth

         

majjk

12:37 pm on Oct 5, 2008 (gmt 0)

10+ Year Member



Is anyone aware of some javascript that would take an image and display it as being 3-dimensional, i.e. to look as if it was a stretched canvas print. I have no need for any rotation feature. The only thing I'd like to have is a tool that transforms an image into a 3d object, i.e. one can also see two of the sides of this 3d image.

DrDoc

3:38 pm on Oct 5, 2008 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Well, the problem is that JavaScript doesn't really have much of any real programming functionality. It is very good at manipulating text and textual objects, but it cannot really do what you describe. Now, that being said, if you have a way of converting the binary image code to bitmap information which can be stored in a JavaScript variable, then you might be able to do what you want. But, it has to be a bitmap. And even then, you're likely to be out of luck.

That being said, I don't know of any JavaScript that already does what you want.

majjk

7:14 am on Oct 7, 2008 (gmt 0)

10+ Year Member



I am anything but an expert on javascript, so I really don't know what might be possible or not... I just came across a few pieces of javascript that can crop a jpg image in a very user friendly way. Was just hoping one could make the end result look 3d as well.