New Cobalt Release for 20090330

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
9 messages Options
Reply | Threaded
Open this post in threaded view
|

New Cobalt Release for 20090330

John Dougan
In preparation for connectivity testing, a new release is being issued:

Changes include:
  • Jabber Chat fixes
  • The Local Help menu item will now bring up the users preferred web browser on the help files instead of the rather weak Scamper in the 3D space
  • Billboard avatars.
    • These are the simplest possible avatar, a texture that always faces the viewing camera.  These can be created from any image via the Cobalt>>My Avatar... menu item.
    • These should be the easiest to customize as pretty much anyone can take a picture with a digital camera and trim it a bit to make an image suitable for an avatar.
  • Menu item to create a build ruler, which is a stack of 1 m cubes that can be used to measure in-space objects
  • Some cleanup of the internals of the Alpha place panel
  • Fixes to the CSliderWithTypein class
  • Work around to problems withe the portals staying in synch, to use the materialize option for portal creation by default.
After uploading the build will be available at  http://www.duke.edu/~jd135/downloads/cobalt-base-current-build-20090330.zip .  The last extended content release at http://www.duke.edu/~julian/downloads/Open%20Cobalt/content-20090226.zip is still valid with this build.

Cheers,
  -- John

====================
Name: Chat-etw.91
Author: etw
Time: 30 March 2009, 5:27:22 pm
UUID: 51c3d67b-36a4-42c4-a9bf-4b439f3320bd
Ancestors: Chat-jrd.90

Fixed some bugs found with registration and disconnecting

====================
Name: Applescript-jrd.6.1
Author: jrd
Time: 23 March 2009, 2:59:20 pm
UUID: ddc92c9c-b686-4ef7-a284-56fc53c853ce
Ancestors: Applescript-jdr.6

Changed:

- Hopefully removed all the occurences of underscore assignment

====================
Name: Applescript-jrd.6.2
Author: jrd
Time: 23 March 2009, 3:57:57 pm
UUID: 943bd6ab-0e98-432a-b645-e98bbad9093c
Ancestors: Applescript-jrd.62

Changed:

- Should have all the underscore changes now.

====================
Name: ExternalWebBrowser-mtf.11.1
Author: mtf
Time: 23 March 2009, 11:09:32 am
UUID: a1315777-258f-404f-9dc8-c0329c46aeb9
Ancestors: ExternalWebBrowser-mtf.11

no more underscore assignments

====================
Name: Cobalt-Chat-etw.15
Author: etw
Time: 30 March 2009, 5:27:56 pm
UUID: deb11def-3806-46b8-929a-52dd169bae1e
Ancestors: Cobalt-Chat-jrd.14

Fixed a registration bug

====================
Name: Tweak-Widgets-eb.173
Author: eb
Time: 30 March 2009, 5:57:11 pm
UUID: 3bfc06e5-f07e-1e4f-bd26-6b6c62e9e547
Ancestors: Tweak-Widgets-jrd.172

Begins to fix init problems with CSliderWithTypein

====================
Name: Tweak-Widgets-eb.174
Author: eb
Time: 30 March 2009, 9:25:17 pm
UUID: 9f0e4938-d56d-9247-af31-9eec47a96724
Ancestors: Tweak-Widgets-eb.173

Hopefully corrects CSliderWithTypein appropriately with min: and max: constraints

====================
Name: Tweak-Widgets-eb.175
Author: eb
Time: 30 March 2009, 9:42:31 pm
UUID: 1b1d468b-3c8a-b94d-845f-b07aa9121c35
Ancestors: Tweak-Widgets-eb.174

Removes debug transcript output from CSliderWithTypein

====================
Name: MenuUI-jrd.143
Author: jrd
Time: 23 March 2009, 7:21:22 pm
UUID: 720abe3e-129e-48f5-a5bc-de9d7038316c
Ancestors: MenuUI-jrd.142

Changed:

- CroquetMenuProject>>actionSwitchAvatar changed to allow chooseing images to make billboard avatars

====================
Name: MenuUI-jrd.144
Author: jrd
Time: 29 March 2009, 6:06:22 pm
UUID: 586deb51-fedf-456a-912f-d5897f6ca533
Ancestors: MenuUI-jrd.142

Changed:

- Updated so WAN connect makes the postcard contain the vpn

====================
Name: MenuUI-jrd.144
Author: jrd
Time: 29 March 2009, 6:06:22 pm
UUID: 586deb51-fedf-456a-912f-d5897f6ca533
Ancestors: MenuUI-jrd.142

Changed:

- Updated so WAN connect makes the postcard contain the vpn

====================
Name: Croquet-Contacts-jrd.11
Author: jrd
Time: 29 March 2009, 6:05:06 pm
UUID: 4f03ce8a-da36-4378-b218-49930bb2871a
Ancestors: Croquet-Contacts-jrd.10

Changed:

- Minor updates to the error logging

====================
Name: Cobalt-Router-jrd.22
Author: jrd
Time: 28 March 2009, 5:46:55 pm
UUID: 69eeb33f-d6fa-478e-88ec-32ea07058bca
Ancestors: Cobalt-Router-jrd.21

Changed:

- Addrd protocol to dispatcher config to make it more consistent.
- Manual dispatcher config will now tey to use dyndns ip service if the external IP is not configured.

====================
Name: Cobalt-Avatar-jrd.9
Author: jrd
Time: 29 March 2009, 5:55:23 pm
UUID: 3d4e2e9d-606a-4e1e-aa9c-4bc79f572b9f
Ancestors: Cobalt-Avatar-mka.8

Changed:

- Test modiifications to prevent the MNU that sometimes occurs on start and portal transition.

====================
Name: CobaltUI-eb.144
Author: eb
Time: 23 March 2009, 4:45:34 pm
UUID: 78befecd-f8d6-462f-9486-4257d8a00cc3
Ancestors: CobaltUI-jrd.143

Changes help menu to allow local documentation to be viewed by ExternalWebBrowser (which itself still needs minor fixes)

====================
Name: CobaltUI-jrd.144
Author: jrd
Time: 26 March 2009, 3:03:55 pm
UUID: bca93373-1fb5-404f-9454-1563e204e4fc
Ancestors: CobaltUI-jrd.143

Changed:

- Test packaging of changes to the Alpha place panel to clean it up some.
- DO NOT USE IN A RELEASE.

====================
Name: CobaltUI-jrd.145
Author: jrd
Time: 23 March 2009, 5:40:32 pm
UUID: 41db8a2b-2b98-40d4-866c-e81fff1c1cbb
Ancestors: CobaltUI-eb.144

Changed:

- Integrated the menu item to put a TBuildRuler in the space

====================
Name: CobaltUI-eb.145
Author: eb
Time: 30 March 2009, 5:56:08 pm
UUID: c122b4f2-6f05-1d43-bb08-44b0bf921ca7
Ancestors: CobaltUI-jrd.144

Adds debug messages to Space Panel's initializeValues

====================
Name: CobaltUI-jrd.146
Author: jrd
Time: 29 March 2009, 5:27:41 pm
UUID: f6bf8260-1a9b-4d2a-a919-12db3240465b
Ancestors: CobaltUI-jrd.144

Changed:

- Added test menu item to return avatar to start point.

====================
Name: CobaltUI-eb.146
Author: eb
Time: 30 March 2009, 9:35:57 pm
UUID: 8f4ece72-f2f3-ed4c-bac5-c26e4cbdda66
Ancestors: CobaltUI-eb.145

sets justForShow back to false in the space panel initialize.

====================
Name: CobaltUI-eb.147
Author: eb
Time: 30 March 2009, 9:41:21 pm
UUID: 163de0e5-56c3-484c-be2e-2784609a6859
Ancestors: CobaltUI-eb.146

Removes debug transcript output from CSliderWithTypein

====================
Name: CobaltUI-jrd.147
Author: jrd
Time: 29 March 2009, 5:29:07 pm
UUID: 1f2e8cba-9a9c-4f5b-873f-acfc3b07f578
Ancestors: CobaltUI-jrd.146, CobaltUI-jrd.145

Changed:

- Merged in external web browser stream and connecting /gp home stream

====================
Name: CobaltUI-eb.148
Author: eb
Time: 30 March 2009, 10:25:30 pm
UUID: 47fa605f-1de8-f04f-98c0-c594e4108751
Ancestors: CobaltUI-eb.147

Adds constraints to scale CSliderWithTypein widgets in Space and Object info panels

====================
Name: CobaltUI-jrd.149
Author: jrd
Time: 30 March 2009, 9:16:12 pm
UUID: d1482d1e-0818-413b-bf25-51e8d2f52ddf
Ancestors: CobaltUI-jrd.147, CobaltUI-eb.148

Changed:

- Merging Ed's and John's deveopment lines

====================
Name: Croquet-Objects-kayef.267
Author: kayef
Time: 4 March 2009, 9:21:58 pm
UUID: 20cd8fbe-138b-a644-8475-e45b2a7de619
Ancestors: Croquet-Objects-kayef.266

Light mesh set to full bright

====================
Name: Croquet-Objects-jrd.268
Author: jrd
Time: 23 March 2009, 7:43:33 pm
UUID: 1660f006-ceb7-42ea-adea-d80b89b143b5
Ancestors: Croquet-Objects-jrd.267

Changed:

- TAvatarUser>>loadAvatar:scale: changed to handle images to be used as billboard avatars
- TBillboardAroundYAxis added to serve as avatar billboard approach. Only rotares around y-axis to face as close as poiible to the camera
- TBillboard - refactored to enable subclasses
- TBillboardFacingOrigin - Demo class to show how facing works in a camera independent way.
- TBuildRuler added to provide an quick way of measureing in space objects
- TFrame>>lookAt:up:  refactored to use more general lookAtGlobalPoint:up:
- TFrame>>lookAtGlobalPoint:up: added

====================
Name: Croquet-Objects-jrd.269
Author: jrd
Time: 24 March 2009, 12:04:46 pm
UUID: 96721838-fb61-4aac-9e69-1f7d79bffc9f
Ancestors: Croquet-Objects-jrd.268, Croquet-Objects-kayef.267

Changed:

- Merged in Fong's lighting changes

====================
Name: Cobalt-Import-jrd.1
Author: jrd
Time: 30 March 2009, 9:54:31 pm
UUID: 4a67affe-152e-444b-b063-2444e09cd0d2
Ancestors:

Changed:

- First Commit.
- Added TLoadBillboard, a class to generate TBillboards from images

====================
Name: Croquet-Contacts-jrd.12
Author: jrd
Time: 31 March 2009, 2:53:58 am
UUID: 1d39e333-159e-4d35-964d-6edd09b9a6c5
Ancestors: Croquet-Contacts-jrd.11

Changed:

- Updated default postcard portal generation to use the materialize option to work around problems with portals.

====================

-- 
John Dougan
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: New Cobalt Release for 20090330

mstram
Hi John,

I've downloaded that file.

When I run it, (Win XP) the only shared tabs visible are "Tools" and "License".

There are no  'Cobalt:', 'People', 'Space','Object', or 'View'  menus.

Also when I RMB on the desktop and choose 'Peronsalize', a system browser opens on the 'Preferences' class / personalizeUserMenu: aMenu method.    Shouldn't  that method be executed, rather than a brower being opened on it ?

Mike


---
After uploading the build will be available at  
http://www.duke.edu/~jd135/downloads/cobalt-base-current-build-20090330.zip 

Reply | Threaded
Open this post in threaded view
|

Re: New Cobalt Release for 20090330

John Dougan
Hi Mike,

I'd have sworn we had directions in the README, but I just looked and we don't.   What you do to start it up (at the moment) is drag the blue ball in the lower left corner to the middle of the window. That should create a viewport and run Open Cobalt in it. We have an option for autostart but it's turned off right now to make development easier.

Cheers,
  -- John

On Wed, Apr 1, 2009 at 20:43, mstramba <[hidden email]> wrote:

Hi John,

I've downloaded that file.

When I run it, (Win XP) the only shared tabs visible are "Tools" and
"License".

There are no  'Cobalt:', 'People', 'Space','Object', or 'View'  menus.

Also when I RMB on the desktop and choose 'Peronsalize', a system browser
opens on the 'Preferences' class / personalizeUserMenu: aMenu method.
Shouldn't  that method be executed, rather than a brower being opened on it
?

Mike


---
--
View this message in context: http://www.nabble.com/New-Cobalt-Release-for-20090330-tp22802428p22840301.html
Sent from the Croquet - Dev mailing list archive at Nabble.com.




--
John Dougan
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: New Cobalt Release for 20090330

mstram
John,

Thanks for the info.   I see now if I hover the mouse over the "blue ball", there *is* a tooltip to click,
and drag it to start.   I did try clicking it before that, but of course nothing happens :)

Instead / in addition to a an external readme file, maybe a "readme workspace" that is initially open would be a good idea ?

I'll file a bug report, but I'm not having much luck with adding models.  I tried both obj and collada, exported from blender 2.48, and downloaded a couple of sketchup models (ver 5 and 6) from google.  None of them import, with various errors.   The skp files don't show up as "models" in the add model dialog.

Also, opening the add model dialog, gives an annoying error that no disk is in drive A: (heck I forgot I even have a drive A:  :) ).

Mike

Reply | Threaded
Open this post in threaded view
|

Re: New Cobalt Release for 20090330

John Dougan
The mesh importer doesn't handle the .skp format, it uses the .kmz export format from SketchUp, Google Earth or the Google 3D warehouse. It needs to be at least the Google Earrth version 4 .kmz .   All a .kmz is is a zip file with a .kml file and a .dae file and it's textures.  It should be handling uncompressed .dae...if it isn't please file a bug report on that.

The drive A: issue we know about and aren't sure quite how to handle. We could just skip drives A; and B: but some people still use those and there have been some devices that sit on those drive letters that aren't floppy drives that we might want to look at (such as older bootable thumb drives). Any suggestions?

Cheers,
  -- John

On Thu, Apr 2, 2009 at 00:54, mstramba <[hidden email]> wrote:

John,

Thanks for the info.   I see now if I hover the mouse over the "blue ball",
there *is* a tooltip to click,
and drag it to start.   I did try clicking it before that, but of course
nothing happens :)

Instead / in addition to a an external readme file, maybe a "readme
workspace" that is initially open would be a good idea ?

I'll file a bug report, but I'm not having much luck with adding models.  I
tried both obj and collada, exported from blender 2.48, and downloaded a
couple of sketchup models (ver 5 and 6) from google.  None of them import,
with various errors.   The skp files don't show up as "models" in the add
model dialog.

Also, opening the add model dialog, gives an annoying error that no disk is
in drive A: (heck I forgot I even have a drive A:  :) ).

Mike


--
View this message in context: http://www.nabble.com/New-Cobalt-Release-for-20090330-tp22802428p22842750.html
Sent from the Croquet - Dev mailing list archive at Nabble.com.




--
John Dougan
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: New Cobalt Release for 20090330

John Dougan
Forgot to mention that I aleady filed a bug on the lack of docs at http://croquet-src-01.oit.duke.edu/mantis/view.php?id=299 . Please add to it if I missed anything.

Cheers,
  --  John

On Thu, Apr 2, 2009 at 01:13, John Dougan <[hidden email]> wrote:
The mesh importer doesn't handle the .skp format, it uses the .kmz export format from SketchUp, Google Earth or the Google 3D warehouse. It needs to be at least the Google Earrth version 4 .kmz .   All a .kmz is is a zip file with a .kml file and a .dae file and it's textures.  It should be handling uncompressed .dae...if it isn't please file a bug report on that.

The drive A: issue we know about and aren't sure quite how to handle. We could just skip drives A; and B: but some people still use those and there have been some devices that sit on those drive letters that aren't floppy drives that we might want to look at (such as older bootable thumb drives). Any suggestions?

Cheers,
  -- John


On Thu, Apr 2, 2009 at 00:54, mstramba <[hidden email]> wrote:

John,

Thanks for the info.   I see now if I hover the mouse over the "blue ball",
there *is* a tooltip to click,
and drag it to start.   I did try clicking it before that, but of course
nothing happens :)

Instead / in addition to a an external readme file, maybe a "readme
workspace" that is initially open would be a good idea ?

I'll file a bug report, but I'm not having much luck with adding models.  I
tried both obj and collada, exported from blender 2.48, and downloaded a
couple of sketchup models (ver 5 and 6) from google.  None of them import,
with various errors.   The skp files don't show up as "models" in the add
model dialog.

Also, opening the add model dialog, gives an annoying error that no disk is
in drive A: (heck I forgot I even have a drive A:  :) ).

Mike


--
View this message in context: http://www.nabble.com/New-Cobalt-Release-for-20090330-tp22802428p22842750.html
Sent from the Croquet - Dev mailing list archive at Nabble.com.




--
John Dougan
[hidden email]



--
John Dougan
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: New Cobalt Release for 20090330

mstram
John,

First, I can't seem to close the 'Annotator' "entry panel" at the bottom of the Squeak window.
This in turn is hiding the "blue ball", so I'm launching Cobalt by opening the Objects menu.

Second, still having problems importing objects. I've installed Sketchup v7.0.10247, and have exported some skp files to kmz format.

Here's one of them (a Rubik cube) http://tinyurl.com/cmt23t

 When trying to use the Add Object menu, the errors are :

http://sketchup.google.com/3dwarehouse/download?mid=4e9447dfd2b56527fc7a8e315c9ddc8&rtyp=s6&fn=Rubik%27s+Cube+-+Detailed&ctyp=other&prevstart=0&ts=1218308681000

=========================================================
Error: Instances of UndefinedObject are not indexable
2 April 2009 4:41:30 pm

VM: Win32 - a SmalltalkImage
Image: Croquet1.0beta [latest update: #2]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir D:\Squeak3.10.2-7179\Cobalt\20090330\cob
Trusted Dir D:\Squeak3.10.2-7179\Cobalt\20090330\cob\Mike
Untrusted Dir C:\My Squeak\Mike

UndefinedObject(Object)>>error:
        Receiver: nil
        Arguments and temporary variables:
                aString: 'Instances of UndefinedObject are not indexable'
        Receiver's instance variables:
nil

UndefinedObject(Object)>>errorNotIndexable
        Receiver: nil
        Arguments and temporary variables:

        Receiver's instance variables:
nil

UndefinedObject(Object)>>at:
        Receiver: nil
        Arguments and temporary variables:
                index: 2
        Receiver's instance variables:
nil

[] in CoDOMTriangle(CoDOMShapes)>>buildIndices {[:i |  tempVertex   at: count   put: (vertexBuffer at: (indices at: i)      ...]}
        Arguments and temporary variables:
                tempNormal: a Vector3Array(a Vector3(1.0 -0.0 -0.0) a Vector3(0.0 0.0 0.0) a Ve...etc...
                tempTexcoord: a Vector2Array(a Vector2(0.0 0.0) a Vector2(0.0 0.0) a Vector2(0....etc...
                tempVertex: a Vector3Array(a Vector3(32.05359649658203 33.4033317565918 0.0) a ...etc...
                count: 1
                i: 1
                j: nil
                jLimiT: nil


--- The full stack ---
UndefinedObject(Object)>>error:
UndefinedObject(Object)>>errorNotIndexable
UndefinedObject(Object)>>at:
[] in CoDOMTriangle(CoDOMShapes)>>buildIndices {[:i |  tempVertex   at: count   put: (vertexBuffer at: (indices at: i)      ...]}
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SmallInteger(Number)>>to:by:do:
CoDOMTriangle(CoDOMShapes)>>buildIndices
CoDOMMesh>>parseTriangle:
[] in CoDOMMesh>>parseAll: {[:tri |  haveTriangle := true.  haveLine := false.  Transcript show: 'Parsin...]}
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value: each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
CoDOMMesh>>parseAll:
[] in CoDOMGeometry>>parseMesh: {[:m |  mesh := CoDOMMesh new.  mesh rootFrame: rootFrame.  mesh matList: mat...]}
XMLElement>>tagsNamed:do:
CoDOMGeometry>>parseMesh:
[] in CoColladaDOMImporter>>parseGeometry: {[:mesh |  m := geometry parseMesh: mesh.  m objectName: geometry coName.  li...]}
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value: each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
CoColladaDOMImporter>>parseGeometry:
[] in CoColladaDOMImporter>>parseFile: {[:geo |  bar value: indGeoCount / geoCount * 100 + 70.  self parseGeometry: ...]}
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value: each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value: each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
[] in CoColladaDOMImporter>>parseFile: {[:bar |  aXMLElements   tagsNamed: #asset   do: [:ass | rootFrame parseAsset...]}
[] in CProgressBar>>displayProgress:at:from:to:during: {[result := workBlock     value: [:newValue |       self value: newValue.    ...]}
BlockContext>>on:do:
[] in CProgressBar>>displayProgress:at:from:to:during: {[[result := workBlock     value: [:newValue |       self value: newValue.   ...]}
BlockContext>>ensure:
CProgressBar>>displayProgress:at:from:to:during:
CProgressBar class>>displayProgress:at:from:to:during:
CoColladaDOMImporter>>parseFile:
CoColladaDOMImporter>>buildFrame
CobaltMenuProject(CroquetMenuProject)>>actionImportKMZ:
CobaltMenuProject>>actionAddModel
AsyncScriptMessageSend(ScriptMessageSend)>>synchronousValueWithArguments:event:
...etc...

=========================================================
As for the "drive A: thing .."

For now, I just stuck a random disk in drive A: ;)

I don't know the nitty-gritty of the programming, but programs like windows explorer, or even the 'open file dialog' for any windows program ... when you navigate to 'my computer' (i.e. an overall view of all drives), the drive letters ARE displayed, but the drives are not actually read until you doubleclick / press enter on a drive letter.  It seems that the first time the 'select a model' dialog is run, it is by default selecting the first drive in the list (A:) and trying to read it.  

Is it possible for that dialog to be opened without any drive being selected?  Or better yet, either a) have the drive/directory that the program was launched from be displayed or b) have an entry under the Cobalt/general preferences for file locations and start from there (the default which would be the program's launch directory).

btw all the above is standard in most every other program ;)

Mike




Reply | Threaded
Open this post in threaded view
|

Re: New Cobalt Release for 20090330

John Dougan
Sounds like another importer bug to me.   Could you please file this at the mantis server?  By the way, if you want to ask questions in real time we have a skype public chat which should be accessible via here.

Cheers,
  -- John

On Thu, Apr 2, 2009 at 13:52, mstramba <[hidden email]> wrote:

John,

First, I can't seem to close the 'Annotator' "entry panel" at the bottom of
the Squeak window.
This in turn is hiding the "blue ball", so I'm launching Cobalt by opening
the Objects menu.

Second, still having problems importing objects. I've installed Sketchup
v7.0.10247, and have exported some skp files to kmz format.

Here's one of them (a Rubik cube) http://tinyurl.com/cmt23t

 When trying to use the Add Object menu, the errors are :

http://sketchup.google.com/3dwarehouse/download?mid=4e9447dfd2b56527fc7a8e315c9ddc8&rtyp=s6&fn=Rubik%27s+Cube+-+Detailed&ctyp=other&prevstart=0&ts=1218308681000

=========================================================
Error: Instances of UndefinedObject are not indexable
2 April 2009 4:41:30 pm

VM: Win32 - a SmalltalkImage
Image: Croquet1.0beta [latest update: #2]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir D:\Squeak3.10.2-7179\Cobalt\20090330\cob
Trusted Dir D:\Squeak3.10.2-7179\Cobalt\20090330\cob\Mike
Untrusted Dir C:\My Squeak\Mike

UndefinedObject(Object)>>error:
       Receiver: nil
       Arguments and temporary variables:
               aString:        'Instances of UndefinedObject are not indexable'
       Receiver's instance variables:
nil

UndefinedObject(Object)>>errorNotIndexable
       Receiver: nil
       Arguments and temporary variables:

       Receiver's instance variables:
nil

UndefinedObject(Object)>>at:
       Receiver: nil
       Arguments and temporary variables:
               index:  2
       Receiver's instance variables:
nil

[] in CoDOMTriangle(CoDOMShapes)>>buildIndices {[:i |  tempVertex   at:
count   put: (vertexBuffer at: (indices at: i)      ...]}
       Arguments and temporary variables:
               tempNormal:     a Vector3Array(a Vector3(1.0 -0.0 -0.0) a Vector3(0.0 0.0
0.0) a Ve...etc...
               tempTexcoord:   a Vector2Array(a Vector2(0.0 0.0) a Vector2(0.0 0.0) a
Vector2(0....etc...
               tempVertex:     a Vector3Array(a Vector3(32.05359649658203 33.4033317565918
0.0) a ...etc...
               count:  1
               i:      1
               j:      nil
               jLimiT:         nil


--- The full stack ---
UndefinedObject(Object)>>error:
UndefinedObject(Object)>>errorNotIndexable
UndefinedObject(Object)>>at:
[] in CoDOMTriangle(CoDOMShapes)>>buildIndices {[:i |  tempVertex   at:
count   put: (vertexBuffer at: (indices at: i)      ...]}
 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SmallInteger(Number)>>to:by:do:
CoDOMTriangle(CoDOMShapes)>>buildIndices
CoDOMMesh>>parseTriangle:
[] in CoDOMMesh>>parseAll: {[:tri |  haveTriangle := true.  haveLine :=
false.  Transcript show: 'Parsin...]}
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol
do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value:
each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
CoDOMMesh>>parseAll:
[] in CoDOMGeometry>>parseMesh: {[:m |  mesh := CoDOMMesh new.  mesh
rootFrame: rootFrame.  mesh matList: mat...]}
XMLElement>>tagsNamed:do:
CoDOMGeometry>>parseMesh:
[] in CoColladaDOMImporter>>parseGeometry: {[:mesh |  m := geometry
parseMesh: mesh.  m objectName: geometry coName.  li...]}
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol
do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value:
each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
CoColladaDOMImporter>>parseGeometry:
[] in CoColladaDOMImporter>>parseFile: {[:geo |  bar value: indGeoCount /
geoCount * 100 + 70.  self parseGeometry: ...]}
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol
do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value:
each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol
do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value:
each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
[] in CoColladaDOMImporter>>parseFile: {[:bar |  aXMLElements   tagsNamed:
#asset   do: [:ass | rootFrame parseAsset...]}
[] in CProgressBar>>displayProgress:at:from:to:during: {[result := workBlock
value: [:newValue |       self value: newValue.    ...]}
BlockContext>>on:do:
[] in CProgressBar>>displayProgress:at:from:to:during: {[[result :=
workBlock     value: [:newValue |       self value: newValue.   ...]}
BlockContext>>ensure:
CProgressBar>>displayProgress:at:from:to:during:
CProgressBar class>>displayProgress:at:from:to:during:
CoColladaDOMImporter>>parseFile:
CoColladaDOMImporter>>buildFrame
CobaltMenuProject(CroquetMenuProject)>>actionImportKMZ:
CobaltMenuProject>>actionAddModel
AsyncScriptMessageSend(ScriptMessageSend)>>synchronousValueWithArguments:event:
...etc...

=========================================================
As for the "drive A: thing .."

For now, I just stuck a random disk in drive A: ;)

I don't know the nitty-gritty of the programming, but programs like windows
explorer, or even the 'open file dialog' for any windows program ... when
you navigate to 'my computer' (i.e. an overall view of all drives), the
drive letters ARE displayed, but the drives are not actually read until you
doubleclick / press enter on a drive letter.  It seems that the first time
the 'select a model' dialog is run, it is by default selecting the first
drive in the list (A:) and trying to read it.

Is it possible for that dialog to be opened without any drive being
selected?  Or better yet, either a) have the drive/directory that the
program was launched from be displayed or b) have an entry under the
Cobalt/general preferences for file locations and start from there (the
default which would be the program's launch directory).

btw all the above is standard in most every other program ;)

Mike





--
View this message in context: http://www.nabble.com/New-Cobalt-Release-for-20090330-tp22802428p22856762.html
Sent from the Croquet - Dev mailing list archive at Nabble.com.




--
John Dougan
[hidden email]
Reply | Threaded
Open this post in threaded view
|

Re: New Cobalt Release for 20090330

Phua Khai Fong
In reply to this post by mstram
Hi mstramba,

Thanks for using the KMZ importer. I downloaded your rubik skp model and exported it to Google Earth 4 kmz format. It loaded in Cobalt through the "Add Model" function without problems. I have attached the kmz model in this mail. I used Sketchup ver 6.4.112 though (not sure if ver 7 is compatible). Please send me the kmz file you exported so I can see where the problem is. Thanks.

Regards,
Fong


From: mstramba <[hidden email]>
To: [hidden email]
Sent: Friday, April 3, 2009 4:52:53
Subject: Re: [croquet-dev] New Cobalt Release for 20090330


John,

First, I can't seem to close the 'Annotator' "entry panel" at the bottom of
the Squeak window.
This in turn is hiding the "blue ball", so I'm launching Cobalt by opening
the Objects menu.

Second, still having problems importing objects. I've installed Sketchup
v7.0.10247, and have exported some skp files to kmz format.

Here's one of them (a Rubik cube) http://tinyurl.com/cmt23t

When trying to use the Add Object menu, the errors are :

http://sketchup.google.com/3dwarehouse/download?mid=4e9447dfd2b56527fc7a8e315c9ddc8&rtyp=s6&fn=Rubik%27s+Cube+-+Detailed&ctyp=other&prevstart=0&ts=1218308681000

=========================================================
Error: Instances of UndefinedObject are not indexable
2 April 2009 4:41:30 pm

VM: Win32 - a SmalltalkImage
Image: Croquet1.0beta [latest update: #2]

SecurityManager state:
Restricted: false
FileAccess: true
SocketAccess: true
Working Dir D:\Squeak3.10.2-7179\Cobalt\20090330\cob
Trusted Dir D:\Squeak3.10.2-7179\Cobalt\20090330\cob\Mike
Untrusted Dir C:\My Squeak\Mike

UndefinedObject(Object)>>error:
    Receiver: nil
    Arguments and temporary variables:
        aString:     'Instances of UndefinedObject are not indexable'
    Receiver's instance variables:
nil

UndefinedObject(Object)>>errorNotIndexable
    Receiver: nil
    Arguments and temporary variables:

    Receiver's instance variables:
nil

UndefinedObject(Object)>>at:
    Receiver: nil
    Arguments and temporary variables:
        index:     2
    Receiver's instance variables:
nil

[] in CoDOMTriangle(CoDOMShapes)>>buildIndices {[:i |  tempVertex  at:
count  put: (vertexBuffer at: (indices at: i)      ...]}
    Arguments and temporary variables:
        tempNormal:     a Vector3Array(a Vector3(1.0 -0.0 -0.0) a Vector3(0.0 0.0
0.0) a Ve...etc...
        tempTexcoord:     a Vector2Array(a Vector2(0.0 0.0) a Vector2(0.0 0.0) a
Vector2(0....etc...
        tempVertex:     a Vector3Array(a Vector3(32.05359649658203 33.4033317565918
0.0) a ...etc...
        count:     1
        i:     1
        j:     nil
        jLimiT:     nil


--- The full stack ---
UndefinedObject(Object)>>error:
UndefinedObject(Object)>>errorNotIndexable
UndefinedObject(Object)>>at:
[] in CoDOMTriangle(CoDOMShapes)>>buildIndices {[:i |  tempVertex  at:
count  put: (vertexBuffer at: (indices at: i)      ...]}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
SmallInteger(Number)>>to:by:do:
CoDOMTriangle(CoDOMShapes)>>buildIndices
CoDOMMesh>>parseTriangle:
[] in CoDOMMesh>>parseAll: {[:tri |  haveTriangle := true.  haveLine :=
false.  Transcript show: 'Parsin...]}
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol
do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value:
each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
CoDOMMesh>>parseAll:
[] in CoDOMGeometry>>parseMesh: {[:m |  mesh := CoDOMMesh new.  mesh
rootFrame: rootFrame.  mesh matList: mat...]}
XMLElement>>tagsNamed:do:
CoDOMGeometry>>parseMesh:
[] in CoColladaDOMImporter>>parseGeometry: {[:mesh |  m := geometry
parseMesh: mesh.  m objectName: geometry coName.  li...]}
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol
do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value:
each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
CoColladaDOMImporter>>parseGeometry:
[] in CoColladaDOMImporter>>parseFile: {[:geo |  bar value: indGeoCount /
geoCount * 100 + 70.  self parseGeometry: ...]}
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol
do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value:
each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
[] in XMLElement(XMLNode)>>tagsNamed:do: {[:each | each tagsNamed: aSymbol
do: aOneArgumentBlock]}
[] in XMLElement(XMLNodeWithElements)>>elementsDo: {[:each | aBlock value:
each]}
OrderedCollection>>do:
XMLElement(XMLNodeWithElements)>>elementsDo:
XMLElement(XMLNode)>>tagsNamed:do:
XMLElement>>tagsNamed:do:
[] in CoColladaDOMImporter>>parseFile: {[:bar |  aXMLElements  tagsNamed:
#asset  do: [:ass | rootFrame parseAsset...]}
[] in CProgressBar>>displayProgress:at:from:to:during: {[result := workBlock   
value: [:newValue |      self value: newValue.    ...]}
BlockContext>>on:do:
[] in CProgressBar>>displayProgress:at:from:to:during: {[[result :=
workBlock    value: [:newValue |      self value: newValue.  ...]}
BlockContext>>ensure:
CProgressBar>>displayProgress:at:from:to:during:
CProgressBar class>>displayProgress:at:from:to:during:
CoColladaDOMImporter>>parseFile:
CoColladaDOMImporter>>buildFrame
CobaltMenuProject(CroquetMenuProject)>>actionImportKMZ:
CobaltMenuProject>>actionAddModel
AsyncScriptMessageSend(ScriptMessageSend)>>synchronousValueWithArguments:event:
...etc...

=========================================================
As for the "drive A: thing .."

For now, I just stuck a random disk in drive A: ;)

I don't know the nitty-gritty of the programming, but programs like windows
explorer, or even the 'open file dialog' for any windows program ... when
you navigate to 'my computer' (i.e. an overall view of all drives), the
drive letters ARE displayed, but the drives are not actually read until you
doubleclick / press enter on a drive letter.  It seems that the first time
the 'select a model' dialog is run, it is by default selecting the first
drive in the list (A:) and trying to read it. 

Is it possible for that dialog to be opened without any drive being
selected?  Or better yet, either a) have the drive/directory that the
program was launched from be displayed or b) have an entry under the
Cobalt/general preferences for file locations and start from there (the
default which would be the program's launch directory).

btw all the above is standard in most every other program ;)

Mike





--
View this message in context: http://www.nabble.com/New-Cobalt-Release-for-20090330-tp22802428p22856762.html
Sent from the Croquet - Dev mailing list archive at Nabble.com.



Get your preferred Email name!
Now you can @ymail.com and @rocketmail.com.

Rubik_s Cube - Detailed.kmz (171K) Download Attachment