Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0006757opensim[REGION] Physics Enginespublic2013-09-04 09:422014-05-15 15:05
Assigned ToRobert Adams 
PlatformDual Xeon Quad Core 32 GB ramOSWindowsOS VersionServer 2012 64
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0006757: [BULLETSIM SHAPE] Mesh asset would not mesh. WARN - OpenSim.Region.Physics.BulletSPlugin.BSScene
DescriptionWarning messages appear in console and log when Bulletsim is active, but not when ODE is active. Is this a real issue with these assets, or is Bulletsim not handling something that ODE does, or does ODE have this problem too and just not display the warning? The abbreviated log (not debug) log is included.

This is a typical warning message, but a log containing many messages all from one sim is also attached:

WARN - OpenSim.Region.Physics.BulletSPlugin.BSScene [BULLETSIM SHAPE] Mesh asset would not mesh. prim=set of glasses/302da609-ccb6-42dd-ae85-fc43b07525f4/pos=<207.1234, 113.4315, 26.14404>/rgn=BulletSim/Jennys Island, texture=384696ff-d2bf-4ec8-8d18-eeba69728db5
Steps To ReproduceUse Bulletsim as physics engine and watch console or look at log after startup is complete.
TagsNo tags attached.
Git Revision or version numberr/23579
Run Mode Grid (Multiple Regions per Sim)
Physics EngineBulletSim
Script Engine
Environment.NET / Windows64
Mono VersionNone
Attached Fileslog file icon Opensim.log [^] (36,727 bytes) 2013-09-04 09:43

- Relationships
related to 0006797confirmedRobert Adams [BULLETSIM] Mesh object issues - asset would not mesh 
related to 0006787confirmedRobert Adams [BULLETSIM SHAPE MESH]: All mesh triangles degenerate and [BULLETSIM SHAPE]: Mesh asset would not mesh. 

-  Notes
aiaustin (developer)
2013-09-04 13:47
edited on: 2013-09-04 13:47

I also get one of these errors when I switched to Bulletsim from ODE for a specific pipe which looks fine visually on a mesh rich oil rig build. On Vue-Rig region on OSGrid.

kenvc (reporter)
2013-10-18 08:29

The spew on this is really slowing down sim startup when Bulletsim is enabled.

It appears to be mostly on sims where I have let people have free sims. It appears like many of these objects that display these errors might have been brought to OSG from Hypergrid. but this is just a guess.

Have no idea why Bulletsim would complain so much about objects that look perfectly normal in-world especially when ODE does not complain about them at all.
Robert Adams (administrator)
2013-10-18 09:08

Is there an error message before this warning? Meshes don't mesh because the asset couldn't be fetched or, most likely, it is one of those 'degenerate' sculpties. Any additional error messages would help finding.
aiaustin (developer)
2013-10-18 09:18
edited on: 2013-10-18 12:07

Robert, In another Mantis entry... [^]

I put a sample mesh pipe in an IAR for tests that looks visually fine but does not mesh and gave the full errors logs.

aiaustin (developer)
2013-10-18 09:20
edited on: 2013-10-18 12:08

This may not be the same thing as a Collada mesh not meshing.. but we need to explain why we get that transparent type sculpt texture in the sculpties that do not mesh.

kenvc (reporter)
2013-10-18 09:24


My log file from when this was first reported is attached. It should contain the detail you need.
Robert Adams (administrator)
2013-10-18 10:19

aiaustin: what do you mean "transparent type sculpt texture"? Is that related to physics or is that appearance in the viewer? BulletSim should use the objects bounding box as its physical shape if the mesh cannot be created.
aiaustin (developer)
2013-10-18 12:00
edited on: 2013-10-18 12:00

I meant that the sculpt type object visually looks correct in OpenSim, but if you edit the object and look at its sculpt texture, instead of that appearing the usual range of colours for the sculpt map it shows as the chequerboard squares (transparent ) texture.

aiaustin (developer)
2013-10-18 12:04
edited on: 2013-10-18 12:06

See for example the image of a bowl of oranges and Neb's campfire (logs part)and showing the "transparent" sculpt texture for the object at [^]

Robert Adams (administrator)
2013-10-18 12:27

Sculpties don't use the alpha channel in the image -- only the RGB info. In the early days of sculpties, some authors would "hide" their sculptie textures by making them transparent and thus a little harder to steal/copy/etc. When they are made 100% transparent, all you see in the dialog is the checkerboard squares.
aiaustin (developer)
2013-10-19 01:39

Ah, thanks Robert. Understood on that point now so transparent looking sculpt texture is irrelevant. Visually the sculpts do look fine though.. even though they do not mesh
jak.daniels (reporter)
2014-02-21 06:51

All the sculpts that I can find on my region that are causing this error message are 'transparent' i.e. they have an alpha channel set to black or 0 so as to hide the sculpt texture in the viewer. This seems to cause the sculpts physics shape to become a box in Bulletsim whereas they previously worked ok in ODE.
In one instance where the sculpt texture was copyable in an object that was causing the startup error/bounding box problem i was able to save the texture, remove the alpha channel and re-upload. The object then worked flawlessly with no errors and a proper physics shape.
Robert Adams (administrator)
2014-02-21 07:45

That is a good find. I will look at how the Meshmerizer converts the image. I would suspect that the alpha channel needs clearing before creating the sculpt.
jak.daniels (reporter)
2014-02-21 08:39

Ok... perhaps I spoke too soon? This is a very difficult problem to pin down. I guess when I exported and edited the sculpt, the software I used possibly changed something in the original image, because I can't always reproduce this. i.e. sometime a sculpt which has the alpha removed is then still also broken. Duh! Whole afternoon spent with this lol.

- Issue History
Date Modified Username Field Change
2013-09-04 09:42 kenvc New Issue
2013-09-04 09:43 kenvc File Added: Opensim.log
2013-09-04 09:46 kenvc Status new => confirmed
2013-09-04 09:47 kenvc Priority normal => high
2013-09-04 13:47 aiaustin Note Added: 0024309
2013-09-04 13:47 aiaustin Note Edited: 0024309 View Revisions
2013-10-18 08:29 kenvc Note Added: 0024517
2013-10-18 09:06 Robert Adams Assigned To => Robert Adams
2013-10-18 09:06 Robert Adams Status confirmed => assigned
2013-10-18 09:08 Robert Adams Note Added: 0024518
2013-10-18 09:18 aiaustin Note Added: 0024519
2013-10-18 09:19 aiaustin Relationship added related to 0006797
2013-10-18 09:20 aiaustin Note Added: 0024520
2013-10-18 09:24 kenvc Note Added: 0024522
2013-10-18 10:19 Robert Adams Note Added: 0024523
2013-10-18 12:00 aiaustin Note Added: 0024525
2013-10-18 12:00 aiaustin Note Edited: 0024525 View Revisions
2013-10-18 12:04 aiaustin Note Added: 0024526
2013-10-18 12:06 aiaustin Note Edited: 0024526 View Revisions
2013-10-18 12:06 aiaustin Relationship added related to 0006787
2013-10-18 12:07 aiaustin Note Edited: 0024519 View Revisions
2013-10-18 12:07 aiaustin Note Edited: 0024519 View Revisions
2013-10-18 12:08 aiaustin Note Edited: 0024520 View Revisions
2013-10-18 12:12 aiaustin Summary WARN - OpenSim.Region.Physics.BulletSPlugin.BSScene [BULLETSIM SHAPE] Mesh asset would not mesh. => [BULLETSIM SHAPE] Mesh asset would not mesh. WARN - OpenSim.Region.Physics.BulletSPlugin.BSScene
2013-10-18 12:27 Robert Adams Note Added: 0024527
2013-10-19 01:39 aiaustin Note Added: 0024539
2014-02-21 06:51 jak.daniels Note Added: 0025253
2014-02-21 07:45 Robert Adams Note Added: 0025254
2014-02-21 08:39 jak.daniels Note Added: 0025257

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker