MantisBT - opensim
View Issue Details
0006757opensim[REGION] Physics Enginespublic2013-09-04 09:422014-05-15 15:05
kenvc 
Robert Adams 
highminoralways
assignedopen 
Dual Xeon Quad Core 32 GB ramWindowsServer 2012 64
master (dev code) 
 
r/23579
Grid (Multiple Regions per Sim)
BulletSim
.NET / Windows64
None
N/A
0006757: [BULLETSIM SHAPE] Mesh asset would not mesh. WARN - OpenSim.Region.Physics.BulletSPlugin.BSScene
Warning 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
Use Bulletsim as physics engine and watch console or look at log after startup is complete.
No tags attached.
related to 0006797confirmed Robert Adams [BULLETSIM] Mesh object issues - asset would not mesh 
related to 0006787confirmed Robert Adams [BULLETSIM SHAPE MESH]: All mesh triangles degenerate and [BULLETSIM SHAPE]: Mesh asset would not mesh. 
log Opensim.log (36,727) 2013-09-04 09:43
http://opensimulator.org/mantis/file_download.php?file_id=3583&type=bug
Issue History
2013-09-04 09:42kenvcNew Issue
2013-09-04 09:43kenvcFile Added: Opensim.log
2013-09-04 09:46kenvcStatusnew => confirmed
2013-09-04 09:47kenvcPrioritynormal => high
2013-09-04 13:47aiaustinNote Added: 0024309
2013-09-04 13:47aiaustinNote Edited: 0024309bug_revision_view_page.php?bugnote_id=24309#r1502
2013-10-18 08:29kenvcNote Added: 0024517
2013-10-18 09:06Robert AdamsAssigned To => Robert Adams
2013-10-18 09:06Robert AdamsStatusconfirmed => assigned
2013-10-18 09:08Robert AdamsNote Added: 0024518
2013-10-18 09:18aiaustinNote Added: 0024519
2013-10-18 09:19aiaustinRelationship addedrelated to 0006797
2013-10-18 09:20aiaustinNote Added: 0024520
2013-10-18 09:24kenvcNote Added: 0024522
2013-10-18 10:19Robert AdamsNote Added: 0024523
2013-10-18 12:00aiaustinNote Added: 0024525
2013-10-18 12:00aiaustinNote Edited: 0024525bug_revision_view_page.php?bugnote_id=24525#r1661
2013-10-18 12:04aiaustinNote Added: 0024526
2013-10-18 12:06aiaustinNote Edited: 0024526bug_revision_view_page.php?bugnote_id=24526#r1663
2013-10-18 12:06aiaustinRelationship addedrelated to 0006787
2013-10-18 12:07aiaustinNote Edited: 0024519bug_revision_view_page.php?bugnote_id=24519#r1665
2013-10-18 12:07aiaustinNote Edited: 0024519bug_revision_view_page.php?bugnote_id=24519#r1666
2013-10-18 12:08aiaustinNote Edited: 0024520bug_revision_view_page.php?bugnote_id=24520#r1668
2013-10-18 12:12aiaustinSummaryWARN - 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:27Robert AdamsNote Added: 0024527
2013-10-19 01:39aiaustinNote Added: 0024539
2014-02-21 06:51jak.danielsNote Added: 0025253
2014-02-21 07:45Robert AdamsNote Added: 0025254
2014-02-21 08:39jak.danielsNote Added: 0025257

Notes
(0024309)
aiaustin   
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.

(0024517)
kenvc   
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.
(0024518)
Robert Adams   
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.
(0024519)
aiaustin   
2013-10-18 09:18   
(edited on: 2013-10-18 12:07)
Robert, In another Mantis entry...

http://opensimulator.org/mantis/view.php?id=6797 [^]

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.

(0024520)
aiaustin   
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.

(0024522)
kenvc   
2013-10-18 09:24   
Robert,

My log file from when this was first reported is attached. It should contain the detail you need.
(0024523)
Robert Adams   
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.
(0024525)
aiaustin   
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.

(0024526)
aiaustin   
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 http://opensimulator.org/mantis/view.php?id=6787 [^]

(0024527)
Robert Adams   
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.
(0024539)
aiaustin   
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
(0025253)
jak.daniels   
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.
(0025254)
Robert Adams   
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.
(0025257)
jak.daniels   
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.