hmmmm...but i am seeing the processor pegged, just by going into Play With Me 7. this is before i execute any commands, so Squeak-Alice shouldn't be *doing* anything. so you are saying that as long as the camera is on, S-A is rendering? interesting...
Yup. S-A is time based, so as soon as you enter a project with a Wonderland it starts incrementing its clock. And until I work my way around to putting in the hooks to notify the renderer whether or not anything has changed in the visual field it assumes it needs to render every frame.
For the curious, you can execute/print:
scheduler getFPS
to find out what frame rate you're currently getting.
You can also execute/print:
scheduler getTime
to find out the current time in a Wonderland.
For the truly curious, you can also set Alarms in Wonderlands. There are two ways of doing this:
1) Alarm do: [ bunny turn: left ] at: 1000.
(The bunny will turn left 1000 seconds after you created the Wonderland)
2) Alarm do: [ bunny roll: left ] in: 10.
(The bunny will roll left 10 seconds after you execute this line)
If for some reason you can't live with Squeak-Alice using as much of your CPU has it can get, look at WonderlandCameraMorph->stepping->stepTime and change the value to something larger than 1. However, this will put a ceiling on your frame rate, and the surgeon general has determined that working with interactive 3D graphics at a frame rate below 10 fps is incredibly aggravating and prone to shorten your life out of sheer frustration.
Besides, your CPU has been needing a good workout, hasn't it? =)
Jeff
: -----Original Message----- : From: Pierce, Jeff S. [mailto:Jeff.S.Pierce@disney.com] : Sent: mercredi 21 avril 1999 23:46 : To: 'squeak@cs.uiuc.edu' : Subject: RE: Squeak-Alice RE: Squeak 2.4 for Windows : : : > hmmmm...but i am seeing the processor pegged, just by going : > into Play With : > Me 7. this is before i execute any commands, so Squeak-Alice : > shouldn't be : > *doing* anything. so you are saying that as long as the : > camera is on, S-A is : > rendering? interesting... : : Yup. S-A is time based, so as soon as you enter a project with a : Wonderland : it starts incrementing its clock. And until I work my way around : to putting : in the hooks to notify the renderer whether or not anything has changed in : the visual field it assumes it needs to render every frame. : : For the curious, you can execute/print: : : scheduler getFPS
Check that out: scheduler getFPS results 5.88235294117395
: to find out what frame rate you're currently getting. : : You can also execute/print: : : scheduler getTime
And scheduler getTime results 26189.02800000003
Ok, ok.. I've hurd you.. I need a new Video card. ;;P
[ Snipped some Wonder-Wonderland stuff ]
: If for some reason you can't live with Squeak-Alice using as much of your : CPU has it can get, look at WonderlandCameraMorph->stepping->stepTime and : change the value to something larger than 1. However, this will put a : ceiling on your frame rate, and the surgeon general has determined that : working with interactive 3D graphics at a frame rate below 10 fps is : incredibly aggravating and prone to shorten your life out of sheer : frustration.
I've tried WonderlandCameraMorph->stepping->stepTime at 500. It goes way better. And the animation is _not that bad_. Though I doubt others are as patient as I am. Truely, my P133 is outdated for such ::)
: Besides, your CPU has been needing a good workout, hasn't it? =) : : Jeff :
Ian
(Oh yah, thanks for Wonder-Wonderland tips ;;P hehe)
Hi folks:
I have my virtual machine and DLLs in one directory and my .image, .changes, and .sources files in another. I formed a shortcut to run squeak.exe with a full path to the .image file. I double clicked the shortcut. This caused Squeak to appear with a warning about not being able to find the .changes file.
Why would Squeak not look in the same directory where it was told to find (and actually found) an .image file? I don't want to duplicate my virtual machines unnecessarily by throwing each of several different images into separate directories with their own copy of a particular virtual machine. Does anyone know what to do here?
Regards.
At 11:51 PM -0500 4/28/99, shaping@bigfoot.com wrote:
I have my virtual machine and DLLs in one directory and my .image, .changes, and .sources files in another. I formed a shortcut to run squeak.exe with a full path to the .image file. I double clicked the shortcut. This caused Squeak to appear with a warning about not being able to find the .changes file.
Why would Squeak not look in the same directory where it was told to find (and actually found) an .image file? I don't want to duplicate my virtual machines unnecessarily by throwing each of several different images into separate directories with their own copy of a particular virtual machine. Does anyone know what to do here?
I suspect that the error you got referred to the .sources file, which should be placed in the same directory as the virtual machine and DLL's (since it can be shared by all your images).
Another trick that might work for you (it works on the Mac) is to make a shortcut to the Squeak .exe file and leave it on your desktop. You can then drop any image file onto it to start that image. (I don't use Squeak on Window every day, but I think this trick works there.)
Hope this helps!
-- John
----- Original Message ----- From: John.Maloney@disney.com To: shaping@bigfoot.com Cc: squeak@cs.uiuc.edu Sent: Thursday, April 29, 1999 9:58 AM Subject: Re: Separating virtual machine and image files on Windows NT
At 11:51 PM -0500 4/28/99, shaping@bigfoot.com wrote:
I have my virtual machine and DLLs in one directory and my .image,
..changes,
and .sources files in another. I formed a shortcut to run squeak.exe
with
a full path to the .image file. I double clicked the shortcut. This
caused
Squeak to appear with a warning about not being able to find the .changes file.
Why would Squeak not look in the same directory where it was told to find (and actually found) an .image file? I don't want to duplicate my
virtual
machines unnecessarily by throwing each of several different images into separate directories with their own copy of a particular virtual machine. Does anyone know what to do here?
I suspect that the error you got referred to the .sources file,
It was indeed the .changes file, thought I don't understand why. In the shortcut I specifiy the .image file. So, it finds the .image file, and then doesn't remember to look in the same directory for the .changes. I moved the .sources file back to the VM directory, but still have the problem.
In the shortcut I also tried removing the explicit path to the image file, and instead told Squeak to "Start in" the directory containing the image. It doesn't find the image. Perhaps I don't understand the implications of "Start in". I thought this meant "Look here first for whatever files you need when you run". Is there something strange about Squeak in this regard, due to its portability? I don't know whether the Start-in path involves a reference to the Registry, which Squeak doesn't do. I don't think it does.
Regards.
Hmmm, this sounds like a minor bug in the Win32 VM startup code. I'll mention it to Andreas Raab.
Did you try the technique I mentioned of not specifying any path in the shortcut, and starting the image by dropping it onto the VM shortcut?
If you only have a single image, you can put it in the same directory as the VM itself and name it "Squeak.image". Put the changes file in that directory too. Then you can start it just by invoking "squeak.exe" via a shortcut. But this doesn't let you have multiple image files.
-- John
----- Original Message ----- From: John.Maloney@disney.com To: shaping@bigfoot.com Cc: squeak@cs.uiuc.edu Sent: Thursday, April 29, 1999 9:58 AM Subject: Re: Separating virtual machine and image files on Windows NT
At 11:51 PM -0500 4/28/99, shaping@bigfoot.com wrote:
I have my virtual machine and DLLs in one directory and my .image,
.changes,
and .sources files in another. I formed a shortcut to run squeak.exe
with
a full path to the .image file. I double clicked the shortcut. This
caused
Squeak to appear with a warning about not being able to find the .changes file.
Why would Squeak not look in the same directory where it was told to find (and actually found) an .image file? I don't want to duplicate my
virtual
machines unnecessarily by throwing each of several different images into separate directories with their own copy of a particular virtual machine. Does anyone know what to do here?
I suspect that the error you got referred to the .sources file,
It was indeed the .changes file, thought I don't understand why. In the shortcut I specifiy the .image file. So, it finds the .image file, and then doesn't remember to look in the same directory for the .changes. I moved the .sources file back to the VM directory, but still have the problem.
In the shortcut I also tried removing the explicit path to the image file, and instead told Squeak to "Start in" the directory containing the image. It doesn't find the image. Perhaps I don't understand the implications of "Start in". I thought this meant "Look here first for whatever files you need when you run". Is there something strange about Squeak in this regard, due to its portability? I don't know whether the Start-in path involves a reference to the Registry, which Squeak doesn't do. I don't think it does.
Regards.
----- Original Message ----- From: John.Maloney@disney.com To: shaping@bigfoot.com Cc: squeak@cs.uiuc.edu Sent: Thursday, April 29, 1999 5:36 PM Subject: Re: Separating virtual machine and image files on Windows NT
Hmmm, this sounds like a minor bug in the Win32 VM startup code. I'll mention it to Andreas Raab.
Did you try the technique I mentioned of not specifying any path in the shortcut, and starting the image by dropping it onto the VM shortcut?
Yes--no problem there, but I want to put my various image/VM combos on command buttons, so that I don't have to go looking through directories for the appropriate image to drag.
Shaping
----- Original Message ----- From: John.Maloney@disney.com To: shaping@bigfoot.com Cc: squeak@cs.uiuc.edu Sent: Thursday, April 29, 1999 9:58 AM Subject: Re: Separating virtual machine and image files on Windows NT
At 11:51 PM -0500 4/28/99, shaping@bigfoot.com wrote:
I have my virtual machine and DLLs in one directory and my .image,
.changes,
and .sources files in another. I formed a shortcut to run squeak.exe
with
a full path to the .image file. I double clicked the shortcut. This
caused
Squeak to appear with a warning about not being able to find the
..changes
file.
Why would Squeak not look in the same directory where it was told to
find
(and actually found) an .image file? I don't want to duplicate my
virtual
machines unnecessarily by throwing each of several different images
into
separate directories with their own copy of a particular virtual
machine.
Does anyone know what to do here?
I suspect that the error you got referred to the .sources file,
It was indeed the .changes file, thought I don't understand why. In the shortcut I specifiy the .image file. So, it finds the .image file, and
then
doesn't remember to look in the same directory for the .changes. I moved the .sources file back to the VM directory, but still have the problem.
In the shortcut I also tried removing the explicit path to the image
file,
and instead told Squeak to "Start in" the directory containing the
image.
It doesn't find the image. Perhaps I don't understand the implications
of
"Start in". I thought this meant "Look here first for whatever files you need when you run". Is there something strange about Squeak in this
regard,
due to its portability? I don't know whether the Start-in path involves
a
reference to the Registry, which Squeak doesn't do. I don't think it
does.
Regards.
I seem to remember that the names for the different files are hard coded in the image somewhere. I remember an 'Aha!' that occured when I saw it. The mental note was filed away, but I don't have clue as to where the code resides.
Hope this helps.
John-Reed Maffeo Mesa, AZ
John.Maloney@disney.com wrote:
At 11:51 PM -0500 4/28/99, shaping@bigfoot.com wrote:
I have my virtual machine and DLLs in one directory and my .image, .changes, and .sources files in another. I formed a shortcut to run squeak.exe with a full path to the .image file. I double clicked the shortcut. This caused Squeak to appear with a warning about not being able to find the .changes file.
Why would Squeak not look in the same directory where it was told to find (and actually found) an .image file? I don't want to duplicate my virtual machines unnecessarily by throwing each of several different images into separate directories with their own copy of a particular virtual machine. Does anyone know what to do here?
I suspect that the error you got referred to the .sources file, which should be placed in the same directory as the virtual machine and DLL's (since it can be shared by all your images).
Another trick that might work for you (it works on the Mac) is to make a shortcut to the Squeak .exe file and leave it on your desktop. You can then drop any image file onto it to start that image. (I don't use Squeak on Window every day, but I think this trick works there.)
Hope this helps!
-- John
squeak-dev@lists.squeakfoundation.org