Jump to content
  • Advertisement
Sign in to follow this  
r34117y

2 point perspective words

This topic is 1733 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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?

Share this post


Link to post
Share on other sites
Advertisement
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
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!