We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
Page Index Toggle Pages: 1
ASCII Video Example (Read 1269 times)
ASCII Video Example
Mar 30th, 2007, 9:37pm
 
just getting into video uses using Processing and was looking to demo than pick apart this example here http://processing.org/learning/examples/asciivideo.html

after fixing the minor typo that the notes at the end was lacking a **/ Im getting a error i am not to sure how to fix  


java.lang.NullPointerException
at java.io.DataInputStream.readInt(Unknown Source)
at processing.core.PFont.<init>(PFont.java:122)
at processing.core.PApplet.loadFont(PApplet.java:3722)
at Temporary_9218_8575.setup(Temporary_9218_8575.java:37)


Any suggestions?
Re: ASCII Video Example
Reply #1 - Mar 30th, 2007, 10:09pm
 
you are missing the PFont ... just make that yourself with "tools->create font" in processing
Re: ASCII Video Example
Reply #2 - Mar 30th, 2007, 10:49pm
 
good call worked great. Now only one question...

 size(640, 480, P3D);


Would there be a easier way to full screen a window instead of just changing the box size there to the resolution?
Re: ASCII Video Example
Reply #3 - Mar 30th, 2007, 11:41pm
 
screen.width and screen.height are your friend.

http://processing.org/reference/screen.html
Re: ASCII Video Example
Reply #4 - Apr 1st, 2007, 3:41pm
 
go easier on yourself, that example is included with every processing download:

Sketchbook -> Examples -> Library-Video -> AsciiVideo.
Re: ASCII Video Example
Reply #5 - Apr 1st, 2007, 11:59pm
 
jkriss wrote on Mar 30th, 2007, 11:41pm:
screen.width and screen.height are your friend.

http://processing.org/reference/screen.html


That helped it answered most of my questions regarding to Present vs Run killing the boarder ect..

Now working with this I have another question What does processing use the most of hardware wise, would it be actual processor power ram what would a system really need to push some of the most intensive projects and display at at a modest projector size or better

Reason im picking apart this project i am working on an idea for a project that is some what similar with live video but also using the Vector3D package i found over here http://www.shiffman.net/teaching/nature/library/

So at this point im just trying to find as many examples of other video  projects as possible and just see how it works break it and mutate it to get a better understanding. Being this is my first major project with Processing i want to make sure i can get the correct setup for the display its self.
Page Index Toggle Pages: 1