Jump to content
  • Advertisement
Sign in to follow this  

2 point perspective words

This topic is 2098 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
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

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!