Wolfram Blog
Jon McLoone

Twisted Pictures

September 1, 2010 — Jon McLoone, International Business & Strategic Development

I have a lot to study at the moment, as I learn how to use the technology that’s in our development pipeline. One of the first features I played with was so much fun I thought I would share it with you. You will be able to efficiently and easily texture map over any 3D image.

Texture mapping has all kinds of practical uses for improving visualization, but the first thing that I thought of was setting fire to a plot…

Importing a texture and creating the plot
The resulting textured plot

And then I thought of what the world might look like if it were toroidal…

Importing a texture and wrapping it to a toroidal
The resulting image

And then what would happen if this blog post were suddenly sucked into the screen…

Importing a texture and wrapping it to shape
The resulting image

I’ll come back to it another day with some serious uses!

(Images courtesy of Wikipedia. First image, photo by Fir0002.)

Posted in: Image Processing
Leave a Comment

7 Comments


Sander Huisman

This seems a lot more practical than using ListPlot3D with VertexColors for each point! like:

pic=Reverse[ExampleData[{"TestImage","Lena"},"Data"]/255.];
ListPlot3D[Table[x+ Sin[x y],{x,-5,5,.1},{y,-5,5,.1}],Mesh->None,VertexColors->{pic[[5;;-5;;5,5;;-5;;5]]},Lighting->”Neutral”]

So when are we going to see this? A small upgrade to 7.1 or version 8.0?

Posted by Sander Huisman    September 1, 2010 at 3:19 pm
Seth Chandler

The last graphic is really very clever!

Posted by Seth Chandler    September 1, 2010 at 3:28 pm
Luboš Motl

Pretty, Jon! I hope that soon enough, the computers will be fast enough to do similar things with videos, too.

Such calculations may be fast in Mathematica as long as they’re directly incorporated into Mathematica commands – and the user only needs to perform a relatively small number of Mathematica commands.

It may be a good idea to give Mathematica a kind of compiler – so that the command Sander wrote above could do similar pictures as quickly as the “new texture option” presented by Jon.

Posted by Luboš Motl    September 2, 2010 at 2:02 am
Julio de la Yncera

Jon McLoone
Can you rotate the textures or place texture on particular locations and orientations?
Can you map the textures with different projection types?
How about bump maps and displacement maps? Those will also be a really nice addition! Are those things also in the new release?

Posted by Julio de la Yncera    September 3, 2010 at 10:29 am
seks izle

The last graphic is really very clever!

Posted by seks izle    September 5, 2010 at 5:24 am
Sjoerd de Vries

Great, I love this! Will this feature arrive in v8 or is it planned for a later version?

Posted by Sjoerd de Vries    September 5, 2010 at 6:51 am
Luc Barthelet

oh, how cruel to see all of this and not being able to use it yet… :)

Posted by Luc Barthelet    September 7, 2010 at 1:32 pm


Leave a comment

Loading...

Or continue as a guest (your comment will be held for moderation):