• Create Account

# 2 point perspective words

Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

2 replies to this topic

### #1r34117y  Members   -  Reputation: 105

Like
1Likes
Like

Posted 18 October 2013 - 07:03 AM

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:

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?

### #2JTippetts  Moderators   -  Reputation: 6812

Like
3Likes
Like

Posted 18 October 2013 - 07:46 AM

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:

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

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, 18 October 2013 - 07:47 AM.

### #3Migi0027  Members   -  Reputation: 1025

Like
1Likes
Like

Posted 20 October 2013 - 09:45 AM

Why do people never read the description?

Hope this helps.

-MIGI0027

My Blog - Cuboid Zone

“C makes it easy to shoot yourself in the foot; C++ makes it harder, but when you do, it blows away your whole leg.” Bjarne Stroustrup

Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

PARTNERS