[Opensim-dev] gltf Materials info - minor differences between Open Simulator and Second Life

John Nagle nagle at animats.com
Sat Jul 29 19:32:37 UTC 2023


I'm testing out Sharpview with both Open Simulator (OsGrid/ubittest2) 
and Second Life (aditi/Materials1 region).

Differences observed so far in event polling:

1. In LargeGenericMessage/GLTFMaterialOverride messages, the
    "SessionId" field is missing in OpenSimulator output.
    It is present in Second Life output.

19:13:42 [ERROR] Error decoding event poll reply from region 
(2839808,2561280): Bad event: Map({"message": 
String("LargeGenericMessage"), "body": Map({"MethodData": 
Array([Map({"Invoice": UUID(00000000-0000-0000-0000-000000000000), 
"Method": String("GLTFMaterialOverride")})]), "ParamList": 
Array([Map({"Parameter": String("<? llsd/notation 
?>{'object_id':uff59abe4-7ac2-419d-8593-6a29f8d27b16,'region_handle_x':i2839808,'region_handle_y':i2561280,'sides':[i1,i0,i2,i3,i4,i5],'gltf_json':['{\"asset\":{\"version\":\"2.0\"},\"images\":[{\"uri\":\"00000000-0000-2222-3333-100000001000\"}],\"materials\":[{\"pbrMetallicRoughness\":{\"baseColorFactor\":[0.0,1.0,1.0,0.800000011920929],\"baseColorTexture\":{\"index\":0}}}],\"textures\":[{\"source\":0}]}','{\"asset\":{\"version\":\"2.0\"},\"images\":[{\"uri\":\"00000000-0000-2222-3333-100000001000\"}],\"materials\":[{\"pbrMetallicRoughness\":{\"baseColorFactor\":[0.0,1.0,1.0,0.800000011920929],\"baseColorTexture\":{\"index\":0}}}],\"textures\":[{\"source\":0}]}','{\"asset\":{\"version\":\"2.0\"},\"images\":[{\"uri\":\"00000000-0000-2222-3333-100000001000\"}],\"materials\":[{\"pbrMetallicRoughness\":{\"baseColorFactor\":[0.0,1.0,1.0,0.800000011920929],\"baseColorTexture\":{\"index\":0}}}],\"textures\":[{\"source\":0}]}','{\"asset\":{\"version\":\"2.0\"},\"images\":[{\"uri\":\"00000000-0000-2222-3333-100000001000\"}],\"materials\":[{\"pbrMetallicRoughness\":{\"baseColorFactor\":[0.0,1.0,1.0,0.800000011920929],\"baseColorTexture\":{\"index\":0}}}],\"textures\":[{\"source\":0}]}','{\"asset\":{\"version\":\"2.0\"},\"images\":[{\"uri\":\"00000000-0000-2222-3333-100000001000\"}],\"materials\":[{\"pbrMetallicRoughness\":{\"baseColorFactor\":[0.0,1.0,1.0,0.800000011920929],\"baseColorTexture\":{\"index\":0}}}],\"textures\":[{\"source\":0}]}','{\"asset\":{\"version\":\"2.0\"},\"images\":[{\"uri\":\"00000000-0000-2222-3333-100000001000\"}],\"materials\":[{\"pbrMetallicRoughness\":{\"baseColorFactor\":[0.0,1.0,1.0,0.800000011920929],\"baseColorTexture\":{\"index\":0}}}],\"textures\":[{\"source\":0}]}']}")})]), 
"AgentData": Array([Map({"AgentID": 
UUID(44d0aec2-1608-4800-b0ac-38a2bfac8444)})])})})

Caused by:
     No SessionId


2. Sequence numbers (the "id") field, are 1,2,3,... from Second Life.
    From Open Simulator, the first "id" was a large integer.

19:13:39 [ERROR] Event poll ID out of sequence, expected 1, received 
18594276

    Also, I think that when Open Simulator times out a poll, it
    advances the message number, even though no message is
    delivered. So I get errors like this.

19:13:41 [ERROR] Event poll ID out of sequence, expected 18594277, 
received 18594278

    So sequence numbers from Open Simulator cannot be used to detect
missing messages.

				John Nagle
				Animats


More information about the Opensim-dev mailing list