Sign in to follow this  
r34117y

2 point perspective words

Recommended Posts

r34117y    105

Hi everybody,

 

I am looking for algorithms to project 2 point perspective words.

 

Like in this kickstarter project: http://www.kickstarter.com/projects/773542611/words-in-perspective-a-unique-sculpture-design-0

 

What I found is this movie on yt: http://www.youtube.com/watch?v=09kXTL2IcVA

 

There is even a filename WordsPerspective.py shown, but I can't find it with any search engine.

 

Do you know any algorithms/libraries/software that can do things like that?

Share this post


Link to post
Share on other sites
JTippetts    12950
WordsPerspective.py is probably just a Python script he wrote himself to do that, and not something you would find on the internet.
 
Each letter would be comprised of a 2D block of pixels that can either be on or off, to form the shape of the letter. I would conceptually construct a 2d array of pixels from the letters of each word, and set those arrays up adjacent to the viewpoint from which each word would be visible. Then I would cast rays or construct a field-of-view volume for each pixel empty from its corresponding view point. Here is a visual example using 2D:

f3hnS6r.png

The colored triangles represent the field of view for a couple of empty pixels, as seen from the white points of view.

SuhLZNN.png

Here, I've carved out pixels from a solid chunk of pixels to represent these empty pixels (I eliminated the third point of view for simplicity). By carving out all empty pixels from each viewpoint, you should end up with only the solid pixels needed to form the two words left over. Note that the larger a volume of solid pixels you start with, the more likely that the words will both be recognizable once you are done carving. Edited by JTippetts

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this