alice-teacher s Digest, Vol 30, Issue 4

Tiffany Kitchen tkitchen1 at hotmail.com
Sun Jan 20 00:36:27 EST 2013


I posed this same question to the AP list serve about 2 weeks ago.  They suggested that eclipse and net beans are too complicated.  BlueJ and drJava seemed to be the most highly recommended, and my students preferred drJava.  I have been using JCreator but it is not as user friendly and is no longer free.  They also suggested Greenfoot for the hierarchies in particular. 

Sent from my iPad

On Jan 19, 2013, at 6:35 PM, alice-teachers-request at lists.andrew.cmu.edu wrote:

> Send alice-teachers mailing list submissions to
>    alice-teachers at lists.andrew.cmu.edu
> 
> To subscribe or unsubscribe via the World Wide Web, visit
>    https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> or, via email, send a message with subject or body 'help' to
>    alice-teachers-request at lists.andrew.cmu.edu
> 
> You can reach the person managing the list at
>    alice-teachers-owner at lists.andrew.cmu.edu
> 
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of alice-teachers digest..."y a
> 
> 
> Today's Topics:
> 
>   1.  java compiler (Sandy Graham)
>   2. Re:  Alice 3.1 on an RM network (Dean)
>   3. Re:  java compiler (Milbury, Michael)
>   4. Re:  Alice 3.1 on an RM network (Brenda Knobloch)
>   5. Re:  java compiler (James Vanderhyde)
>   6. Re:  Alice 3.1 on an RM network (Don Slater)
>   7. Re:  java compiler (Kamal Kant Gupta)
>   8. Re:  java compiler (Michael Bauer)
>   9. Re:  java compiler (Myra J. Deister)
>  10. Re:  Object in Camera View (Don Slater)
>  11. Re:  Object in Camera View (Tom Stokke)
> 
> 
> ----------------------------------------------------------------------
> 
> Message: 1
> Date: Wed, 16 Jan 2013 09:11:07 -0600
> From: "Sandy Graham" <sandyg at gvtc.com>
> Subject: alice-teacher java compiler
> To: "'Alice educators'" <alice-teachers at lists.andrew.cmu.edu>
> Message-ID: <000101cdf3fb$b65a6250$230f26f0$@gvtc.com>
> Content-Type: text/plain; charset="us-ascii"
> 
> Can anyone please recommend a low-cost but good working compiler for a
> homeschool teacher to use on a laptop (low budget and not the latest
> technology)?  I'm going to use the Java Solutions book that was recommended
> to transition from Alice into java, but it does not come with a compiler.
> Free if that exists would be awesome if it's reliable because the book is
> quite expensive!  
> 
> 
> 
> Your sister in Christ,
> 
> 
> 
> Sandy Graham
> 
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130116/c05ffbbc/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 2
> Date: Wed, 16 Jan 2013 08:49:10 +0000
> From: Dean <deanjennings at wilnecote-high.staffs.sch.uk>
> Subject: Re: alice-teacher Alice 3.1 on an RM network
> To: Don Slater <don at alice.org>
> Message-ID: <1358326150.2720.5.camel at dean-MS-7735>
> Content-Type: text/plain; charset=windows-1252
> 
> If anyone has any thoughts about how this issue, please pass them on directly to Dean Jennings @ deanjennings at wilnecote-high.staffs.sch.uk..
> 
> <begin>
> HI Don,
> 
> Think I have found the problem, as we use a RM network here the Students
> do not have permission to open EXEs and as Alice 3.1 opens cmd.exe to
> run the Java I think that?s where the problem is for me. Going to be
> interesting to see how i can get round this.
> 
> Kind Regards
> Dean Jennings
> <end>
> 
> On Tue, 2013-01-15 at 13:05 -0500, Don Slater wrote:
>> The console comes up[ as a diagnostic tool? It provides information about the startup,a nd when people experience problems, we will ask them to coy and paste the information form the window into an email message so we can see what is going on? Remember, Alice 3 is still under development?
>> 
>> If this is a problem, perhaps Alice 2.3 is a viable option for you?
>> 
>> Let me know if you have any other questions?
>> 
>> All the best,
>> Don Slater
>> 
>> On Jan 15, 2013, at 9:53 AM, Dean <deanjennings at wilnecote-high.staffs.sch.uk> wrote:
>> 
>>> HI Don,
>>> 
>>> I?m and we are using your software in a UK based school however since
>>> moving to 3.1 we seem to have a problem with our RM network. When the
>>> kids try and load up Alice it seems to work then we get a black dos box
>>> and it says access denied, i was wondering if you could tell me what its
>>> doing when if brings up that box.
>>> 
>>> Kind Regards
>>> Dean Jennings.
> 
> 
> 
> 
> 
> ------------------------------
> 
> Message: 3
> Date: Wed, 16 Jan 2013 15:40:37 +0000
> From: "Milbury, Michael" <Michael.Milbury at culver.org>
> Subject: Re: alice-teacher java compiler
> To: Alice educators <alice-teachers at lists.andrew.cmu.edu>
> Message-ID:
>    <99027E5EA75369488BFB6DC3A7164ADF06E5869F at BLUPRD0711MB413.namprd07.prod.outlook.com>
>    
> Content-Type: text/plain; charset="us-ascii"
> 
> BlueJ is free and I use it with my AP students because it is easy to edit, format, and the project folder/class setup of programs is easy to manage.
> 
> From: alice-teachers-bounces+michael.milbury=culver.org at lists.andrew.cmu.edu [mailto:alice-teachers-bounces+michael.milbury=culver.org at lists.andrew.cmu.edu] On Behalf Of Sandy Graham
> Sent: Wednesday, January 16, 2013 10:11 AM
> To: 'Alice educators'
> Subject: alice-teacher java compiler
> 
> Can anyone please recommend a low-cost but good working compiler for a homeschool teacher to use on a laptop (low budget and not the latest technology)?  I'm going to use the Java Solutions book that was recommended to transition from Alice into java, but it does not come with a compiler.  Free if that exists would be awesome if it's reliable because the book is quite expensive!
> 
> Your sister in Christ,
> 
> Sandy Graham
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130116/bf83075d/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 4
> Date: Wed, 16 Jan 2013 09:47:00 -0600
> From: Brenda Knobloch <bkknobloch at howard-winn.k12.ia.us>
> Subject: Re: alice-teacher Alice 3.1 on an RM network
> To: Alice educators <alice-teachers at lists.andrew.cmu.edu>
> Message-ID:
>    <CAO=KiB=GqJNhLWCxFX=hg-0D1wGEzyhU8pbBJCAp99UWPPvEvg at mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> What is the difference between alice 2 and 3?
> 
> 
> On Wed, Jan 16, 2013 at 2:49 AM, Dean <
> deanjennings at wilnecote-high.staffs.sch.uk> wrote:
> 
>> If anyone has any thoughts about how this issue, please pass them on
>> directly to Dean Jennings @ deanjennings at wilnecote-high.staffs.sch.uk..
>> 
>> <begin>
>> HI Don,
>> 
>> Think I have found the problem, as we use a RM network here the Students
>> do not have permission to open EXEs and as Alice 3.1 opens cmd.exe to
>> run the Java I think that?s where the problem is for me. Going to be
>> interesting to see how i can get round this.
>> 
>> Kind Regards
>> Dean Jennings
>> <end>
>> 
>> On Tue, 2013-01-15 at 13:05 -0500, Don Slater wrote:
>>> The console comes up[ as a diagnostic tool? It provides information
>> about the startup,a nd when people experience problems, we will ask them to
>> coy and paste the information form the window into an email message so we
>> can see what is going on? Remember, Alice 3 is still under development?
>>> 
>>> If this is a problem, perhaps Alice 2.3 is a viable option for you?
>>> 
>>> Let me know if you have any other questions?
>>> 
>>> All the best,
>>> Don Slater
>>> 
>>> On Jan 15, 2013, at 9:53 AM, Dean <
>> deanjennings at wilnecote-high.staffs.sch.uk> wrote:
>>> 
>>>> HI Don,
>>>> 
>>>> I?m and we are using your software in a UK based school however since
>>>> moving to 3.1 we seem to have a problem with our RM network. When the
>>>> kids try and load up Alice it seems to work then we get a black dos box
>>>> and it says access denied, i was wondering if you could tell me what its
>>>> doing when if brings up that box.
>>>> 
>>>> Kind Regards
>>>> Dean Jennings.
>> 
>> 
>> 
>> _______________________________________________
>> alice-teachers mailing list
>> alice-teachers at lists.andrew.cmu.edu
>> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> 
> 
> 
> -- 
> Brenda Knobloch
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130116/a917b5f5/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 5
> Date: Wed, 16 Jan 2013 15:52:41 +0000
> From: James Vanderhyde <jvanderhyde at benedictine.edu>
> Subject: Re: alice-teacher java compiler
> To: Alice educators <alice-teachers at lists.andrew.cmu.edu>
> Message-ID: <A4B78B5E-7D51-49EA-B421-90FB01D3014C at benedictine.edu>
> Content-Type: text/plain; charset="windows-1252"
> 
> BlueJ is an excellent simple Java IDE (compiler) for learning Java. NetBeans is another free Java IDE, and I think the Alice team has been working on a NetBeans plug-in for Alice 3. Both IDEs are available for Windows and Mac. Otherwise you can use the javac command-line compiler that comes with the JDK (Java Development Kit). It's not as fun to use a command-line compiler, but it is in some sense the simplest solution.
> 
> James
> --
> Dr. James Vanderhyde
> Math and Computer Science
> Benedictine College
> jvanderhyde at benedictine.edu<mailto:jvanderhyde at benedictine.edu>
> http://vanderhyde.us/~james/pro/
> 
> 
> 
> On Jan 16, 2013, at 9:11 AM, Sandy Graham wrote:
> 
> Can anyone please recommend a low-cost but good working compiler for a homeschool teacher to use on a laptop (low budget and not the latest technology)?  I?m going to use the Java Solutions book that was recommended to transition from Alice into java, but it does not come with a compiler.  Free if that exists would be awesome if it?s reliable because the book is quite expensive!
> 
> Your sister in Christ,
> 
> Sandy Graham
> 
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu<mailto:alice-teachers at lists.andrew.cmu.edu>
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130116/56a7f17a/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 6
> Date: Wed, 16 Jan 2013 11:12:48 -0500
> From: Don Slater <dslater at andrew.cmu.edu>
> Subject: Re: alice-teacher Alice 3.1 on an RM network
> To: Alice educators <alice-teachers at lists.andrew.cmu.edu>
> Message-ID: <94BBB224-06F3-4298-9BA8-92979DCE04E7 at andrew.cmu.edu>
> Content-Type: text/plain; charset="windows-1252"
> 
> Please see the attached two links, Alice Suite Introduction, and the Alice Decision Tree?
> 
>    http://help.alice.org/w/file/57914016/AliceSuite.pdf
> 
>    http://help.alice.org/w/file/57857409/AliceSuiteDecisionTree.pdf
> 
> Please let me know if you have any other questions?
> 
> All the best,
> Don Slater
> 
> On Jan 16, 2013, at 10:47 AM, Brenda Knobloch <bkknobloch at howard-winn.k12.ia.us> wrote:
> 
>> What is the difference between alice 2 and 3?
>> 
>> 
>> On Wed, Jan 16, 2013 at 2:49 AM, Dean <deanjennings at wilnecote-high.staffs.sch.uk> wrote:
>> If anyone has any thoughts about how this issue, please pass them on directly to Dean Jennings @ deanjennings at wilnecote-high.staffs.sch.uk..
>> 
>> <begin>
>> HI Don,
>> 
>> Think I have found the problem, as we use a RM network here the Students
>> do not have permission to open EXEs and as Alice 3.1 opens cmd.exe to
>> run the Java I think that?s where the problem is for me. Going to be
>> interesting to see how i can get round this.
>> 
>> Kind Regards
>> Dean Jennings
>> <end>
>> 
>> On Tue, 2013-01-15 at 13:05 -0500, Don Slater wrote:
>>> The console comes up[ as a diagnostic tool? It provides information about the startup,a nd when people experience problems, we will ask them to coy and paste the information form the window into an email message so we can see what is going on? Remember, Alice 3 is still under development?
>>> 
>>> If this is a problem, perhaps Alice 2.3 is a viable option for you?
>>> 
>>> Let me know if you have any other questions?
>>> 
>>> All the best,
>>> Don Slater
>>> 
>>> On Jan 15, 2013, at 9:53 AM, Dean <deanjennings at wilnecote-high.staffs.sch.uk> wrote:
>>> 
>>>> HI Don,
>>>> 
>>>> I?m and we are using your software in a UK based school however since
>>>> moving to 3.1 we seem to have a problem with our RM network. When the
>>>> kids try and load up Alice it seems to work then we get a black dos box
>>>> and it says access denied, i was wondering if you could tell me what its
>>>> doing when if brings up that box.
>>>> 
>>>> Kind Regards
>>>> Dean Jennings.
>> 
>> 
>> 
>> _______________________________________________
>> alice-teachers mailing list
>> alice-teachers at lists.andrew.cmu.edu
>> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
>> 
>> 
>> 
>> -- 
>> Brenda Knobloch
>> _______________________________________________
>> alice-teachers mailing list
>> alice-teachers at lists.andrew.cmu.edu
>> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130116/6af59304/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 7
> Date: Wed, 16 Jan 2013 21:55:49 +0530
> From: Kamal Kant Gupta <kamalkant.kv at gmail.com>
> Subject: Re: alice-teacher java compiler
> To: Alice educators <alice-teachers at lists.andrew.cmu.edu>
> Message-ID:
>    <CAEVNu96grD613SOPkZ1LUAcjvPp6-hTCF9_u+t5VSdqrzZC4rQ at mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> You may download Good Java Compiler for free from Oracle's Website Jdk 1.6
> or 1.7 would be OK.
> -Regards
> Kamal
> 
> On Wed, Jan 16, 2013 at 9:10 PM, Milbury, Michael <
> Michael.Milbury at culver.org> wrote:
> 
>> BlueJ is free and I use it with my AP students because it is easy to
>> edit, format, and the project folder/class setup of programs is easy to
>> manage.****
>> 
>> ** **
>> 
>> *From:* alice-teachers-bounces+michael.milbury=
>> culver.org at lists.andrew.cmu.edu [mailto:
>> alice-teachers-bounces+michael.milbury=culver.org at lists.andrew.cmu.edu] *On
>> Behalf Of *Sandy Graham
>> *Sent:* Wednesday, January 16, 2013 10:11 AM
>> *To:* 'Alice educators'
>> *Subject:* alice-teacher java compiler****
>> 
>> ** **
>> 
>> Can anyone please recommend a low-cost but good working compiler for a
>> homeschool teacher to use on a laptop (low budget and not the latest
>> technology)?  I?m going to use the Java Solutions book that was recommended
>> to transition from Alice into java, but it does not come with a compiler.
>> Free if that exists would be awesome if it?s reliable because the book is
>> quite expensive!  ****
>> 
>> ** **
>> 
>> Your sister in Christ,****
>> 
>> ** **
>> 
>> Sandy Graham****
>> 
>> ** **
>> 
>> _______________________________________________
>> alice-teachers mailing list
>> alice-teachers at lists.andrew.cmu.edu
>> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130116/fb216e09/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 8
> Date: Wed, 16 Jan 2013 09:49:21 -1000
> From: Michael Bauer <mbauer at hawaii.edu>
> Subject: Re: alice-teacher java compiler
> To: Alice educators <alice-teachers at lists.andrew.cmu.edu>
> Message-ID:
>    <CAO1_moxWjNu=YWDZbnpAwHPukDHZxbz3n2ZpcRLcBm3UevV58A at mail.gmail.com>
> Content-Type: text/plain; charset="windows-1252"
> 
> The Java compiler is free.  Download JDK from Java SE on Oracle's website.
> The Java compiler is in JDK.  You can compile (javac) your source code to
> produce Java bytecode.  Then, interpret (java) your bytecode to run the
> program.  This is done from the command prompt.  If your source code file
> is named Sample,java:
> 
> javac Sample.java at the command prompt compiles the program producing a
> file named Sample.class.
> 
> java Sample at the command prompt interprets the bytecode.  Note: "Sample"
> must be spelled in exactly the same case as it appears in the class heading
> in your source code.
> 
> -------------------
> 
> If you are asking for an IDE, in addition to those already recommended
> JGrasp is one that my students like to use.  It is free and can be
> downloaded from JGrasp.org.
> Mike
> 
> On Wed, Jan 16, 2013 at 5:11 AM, Sandy Graham <sandyg at gvtc.com> wrote:
> 
>> Can anyone please recommend a low-cost but good working compiler for a
>> homeschool teacher to use on a laptop (low budget and not the latest
>> technology)?  I?m going to use the Java Solutions book that was recommended
>> to transition from Alice into java, but it does not come with a compiler.
>> Free if that exists would be awesome if it?s reliable because the book is
>> quite expensive!  ****
>> 
>> ** **
>> 
>> Your sister in Christ,****
>> 
>> ** **
>> 
>> Sandy Graham****
>> 
>> ** **
>> 
>> _______________________________________________
>> alice-teachers mailing list
>> alice-teachers at lists.andrew.cmu.edu
>> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130116/cd4a783a/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 9
> Date: Wed, 16 Jan 2013 20:29:51 +0000
> From: "Myra J. Deister" <mjdeister at fjuhsd.k12.ca.us>
> Subject: Re: alice-teacher java compiler
> To: Alice educators <alice-teachers at lists.andrew.cmu.edu>
> Message-ID:
>    <C29C2266F7E4A94BA30FCB96EB4C09FEB87C5C at EC-MAIL.fjuhsd.admin>
> Content-Type: text/plain; charset="us-ascii"
> 
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130116/f1d427a6/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 10
> Date: Thu, 17 Jan 2013 13:23:13 -0500
> From: Don Slater <dslater at andrew.cmu.edu>
> Subject: Re: alice-teacher Object in Camera View
> To: Laurie Dutchen <ldutche at glencove.k12.ny.us>,    Alice Teachers
>    <alice-teachers at lists.andrew.cmu.edu>
> Message-ID: <78F9DCC1-F353-42F9-8223-4ECD994CBED6 at andrew.cmu.edu>
> Content-Type: text/plain; charset="windows-1252"
> 
> On Jan 17, 2013, at 1:04 PM, Laurie Dutchen <ldutche at glencove.k12.ny.us> wrote:
> 
>> HELP!!!
>> 
>> I have a student who is trying to complete a project and we have hit a brick wall!
>> 
>> He wants to be able to determine when an object comes into the camera?s view.  How can we do that?
>> 
>> Thanks,
>> Laurie Dutchen
>> Math/Computer Science Teacher
>> Glen Cove High School
>> Glen Cove, NY
> 
> 
> <Reply from Don Slater; others may have different and better thoughts>
> 
> That is an interesting and difficult question? Ask the student to think about it this way, how do they know when they have walked into the view of a camera that is pointed in their general direction.
> 
> Virtually impossible, unless there has been some indicators for the students to let them know that they are now in view, i.e. a sign that tells them "You are now in view of the camera" and / or another sign that tells them "You are now leaving the view of the camera". So what they might do is put a marker in the center of the camera view, make it invisible, figure out how far to the left or right of the marker the object can be and still be in camera view, and then check the distance:
> 
> For example, the student figures out that an object can be 2.5 meters to the left or 2.5 meters to the right of the marker and still be in the camera view. So the conditional statement will be something like
> 
>    if obj.distance to marker is less than 2.5 meters
>        // obj is in camera view; do what the obj should do
> 
> There are some assumptions here, that the obj and the marker are in line, and the camera is static (not moving)
> 
> If the object is not in line with the marker than the distance value may have to be tweaked?
> 
> If the camera is moving, than set the marker's vehicle to be the camera, so that as the camera moves, the marker moves with it, maintaining its relative position.
> 
> Let me know if you have any other questions. I am also going to post this question to the Alice Educator's Mailing list to see if what other solutions are out there.
> 
> All the best,
> Don Slater
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130117/62724444/attachment-0001.html 
> 
> ------------------------------
> 
> Message: 11
> Date: Sat, 19 Jan 2013 20:30:27 +0000
> From: Tom Stokke <tstokke at cs.und.edu>
> Subject: Re: alice-teacher Object in Camera View
> To: Alice educators <alice-teachers at lists.andrew.cmu.edu>
> Message-ID:
>    <EE5D75B64EA00D4CA5BA8915E4D175AE2FB200 at MAILBOX.aerospace.local>
> Content-Type: text/plain; charset="windows-1252"
> 
> Hey Don, Laurie, and et. al.,
> 
> Here is a quick attempt, I think you could make it work. I added a couple of 3-D text objects, the text is just 10 dashes, add more for the desired length. I just wanted an object that was essentially long, short and skinny. I'm sure there is a better object, I didn't work very hard at looking. Maybe a billboard with a long, short image would work well.
> 
> I made two 3-D images and positioned them at the limits or edges of what I can see from the camera. Maybe you'd want them just out of sight, it depends upon what you're trying to do. In a "real" world I suspect you would want to make them invisible.
> 
> Now I just continually check to see it the desired object is between the two "edges". Because of the quirks of the 3-D text I had to check to see if the car was in front of one edge and behind the other. It had to do with how I turned them either 90? or 270? when positioning them. You'd probably have the same issue with a billboard. You might want to check distance from the edges for more accuracy. I just going for "proof of concept, which is code for me being too lazy to really did into it right now :-).
> 
> If the objects are stationary and the camera moves make the vehicle for the edges be the camera.
> 
> It's very rough but I think it should work. If I get back to creating tutorials for how to do different "tricks" or "techniques" this is definitely one I'd add to the collection.
> 
> Let me know if and how it works for you. If anyone cleans it up and gets it working well let us know.
> 
> Tom
> That guy from North Dakota
> ________________________________
> From: alice-teachers-bounces+tstokke=cs.und.edu at lists.andrew.cmu.edu [alice-teachers-bounces+tstokke=cs.und.edu at lists.andrew.cmu.edu] on behalf of Don Slater [dslater at andrew.cmu.edu]
> Sent: Thursday, January 17, 2013 12:23 PM
> To: Laurie Dutchen; Alice Teachers
> Subject: Re: alice-teacher Object in Camera View
> 
> On Jan 17, 2013, at 1:04 PM, Laurie Dutchen <ldutche at glencove.k12.ny.us<mailto:ldutche at glencove.k12.ny.us>> wrote:
> 
> HELP!!!
> 
> I have a student who is trying to complete a project and we have hit a brick wall!
> 
> He wants to be able to determine when an object comes into the camera?s view.  How can we do that?
> 
> Thanks,
> Laurie Dutchen
> Math/Computer Science Teacher
> Glen Cove High School
> Glen Cove, NY
> 
> <Reply from Don Slater; others may have different and better thoughts>
> 
> That is an interesting and difficult question? Ask the student to think about it this way, how do they know when they have walked into the view of a camera that is pointed in their general direction.
> 
> Virtually impossible, unless there has been some indicators for the students to let them know that they are now in view, i.e. a sign that tells them "You are now in view of the camera" and / or another sign that tells them "You are now leaving the view of the camera". So what they might do is put a marker in the center of the camera view, make it invisible, figure out how far to the left or right of the marker the object can be and still be in camera view, and then check the distance:
> 
> For example, the student figures out that an object can be 2.5 meters to the left or 2.5 meters to the right of the marker and still be in the camera view. So the conditional statement will be something like
> 
> if obj.distance to marker is less than 2.5 meters
> // obj is in camera view; do what the obj should do
> 
> There are some assumptions here, that the obj and the marker are in line, and the camera is static (not moving)
> 
> If the object is not in line with the marker than the distance value may have to be tweaked?
> 
> If the camera is moving, than set the marker's vehicle to be the camera, so that as the camera moves, the marker moves with it, maintaining its relative position.
> 
> Let me know if you have any other questions. I am also going to post this question to the Alice Educator's Mailing list to see if what other solutions are out there.
> 
> All the best,
> Don Slater
> 
> 
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130119/c4877b03/attachment.html 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: inCameraView.a2w
> Type: application/octet-stream
> Size: 203027 bytes
> Desc: inCameraView.a2w
> Url : http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130119/c4877b03/attachment.obj 
> -------------- next part --------------
> A non-text attachment was scrubbed...
> Name: screenshot.59.jpg
> Type: image/jpeg
> Size: 228653 bytes
> Desc: screenshot.59.jpg
> Url : http://lists.andrew.cmu.edu/pipermail/alice-teachers/attachments/20130119/c4877b03/attachment.jpg 
> 
> ------------------------------
> 
> _______________________________________________
> alice-teachers mailing list
> alice-teachers at lists.andrew.cmu.edu
> https://lists.andrew.cmu.edu/mailman/listinfo/alice-teachers
> 
> 
> End of alice-teachers Digest, Vol 30, Issue 4
> *********************************************


More information about the alice-teachers mailing list