Mantis Bug Tracker

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0008306opensim[REGION] Physics Enginespublic2018-03-22 04:052018-11-14 10:39
Assigned To 
PlatformKubuntu Operating SystemOperating System Version18.04
Product Versionmaster (dev code) 
Target VersionFixed in Version 
Summary0008306: mesh object do not work with current bullet-sim physics..
Descriptionmesh object do not work with current bullet-sim physics..
please see attachment (.txt) for details .....
Steps To Reproduce- setup basic mysql opensim region
- create a group of basic prims
- link prims as linkset
- export linkset as mesh .dae object
- import again as mesh object
- add mesh object to region
- restart opensim and check log files

Additional Information- logins could be disabled after restart, enable with "login enable"
- terrain could be "invisible" due to physics exception(s)
- attachment rather big, not sure what to look at to fix this bug...

* Kubuntu 18.04 x64
* mono version (Xamarin)

CPU: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz (2285.65 MHz)
Memory: 5895 MB
Graphics Card Vendor: NVIDIA Corporation
Graphics Card: GeForce GT 610/PCIe/SSE2

OpenGL Version: 4.6.0 NVIDIA 390.42

RestrainedLove API: (disabled)
libcurl Version: libcurl/7.47.0 OpenSSL/1.0.1i zlib/1.2.8
J2C Decoder Version: KDU v7.9.1
Audio Driver Version: FMOD Ex 4.44.61
LLCEFLib/CEF Version: 1.5.3-(CEF-OSX-3.2171.2069-32)
LibVLC Version: 2.2.3
Voice Server Version: Not Connected
Settings mode: Firestorm
Viewer Skin: Firestorm (Grey)
Window size: 1266x801 px
Font Used: Deja Vu (96 dpi)
Font Size Adjustment: 0 pt
UI Scaling: 1
Draw distance: 1024 m
Bandwidth: 1600 kbit/s
LOD factor: 4
Render quality: High-Ultra (6/7)
Advanced Lighting Model: Yes
Texture memory: 128 MB (1)
VFS (cache) creation time (UTC): 2018-3-20T11:4:42
Built with GCC version 40702
Packets Lost: 0/1040 (0.0%)
March 22 2018 03:58:54 SLT


TagsNo tags attached.
Git Revision or version number122d3a3
Run Mode Standalone (Multiple Regions)
Physics EngineBulletSim
Script Engine
EnvironmentMono / Linux64
Mono VersionOther
ViewerFirestorm 5.0.11 (53634)
Attached Filestxt file icon mesh-bulletsim-bug.txt [^] (60,197 bytes) 2018-03-22 04:05 [Show Content]

- Relationships
related to 0008408new Bulletsim fails to display any mesh object in Grid mode 

-  Notes
tampa (reporter)
2018-03-22 04:36

Does this also occur with other mesh objects uploaded to that simulator or just the linkset you downloaded through the viewer?
UbitUmarov (administrator)
2018-03-22 04:46

This can be a issue with the viewer DAE export
Verwijs (reporter)
2018-03-22 06:32
edited on: 2018-03-22 06:34

any .dae mesh...

hat nothing to do with viewer, bug shows up starting up opensimulator without any viewer started...

other note: terrain is also a mesh, they don't go together...

UbitUmarov (administrator)
2018-03-22 06:35

im reading the steps to reproduce:
- export linkset as mesh .dae object
- import again as mesh object
this may just fail with current viewers, using generic linksets.
UbitUmarov (administrator)
2018-03-22 08:54

did test with 2 or 3 basic linked box prims and FS 5.0.11
and it kinda worked.
- the root prim is wrong, and LODs are very bad uploading with default settings.

tested also at sl (you own me 17L$ :p ) with same bad results.

the number of vertices and tris is also absurd, and dependent on the boxes size.
One case 108 tris and 96 vertices, when that simple box only needs 12 tris and 8 vertices, no matter the size. Really bad!
btw did test with ubOde, but that error does not seem related to physics engine.
UbitUmarov (administrator)
2018-03-22 08:59

a older singurarity viewer does upload with correct root prim, but also a ton of vertices and triangles
Verwijs (reporter)
2018-03-23 01:59

also tested with import/export with blender, exported as separated parts and joined together as one mesh object. all crashing physics. had to tp to other region, restart region with mesh object to reset physics...
tampa (reporter)
2018-03-23 02:02

I have been unable to reproduce this issue, does switching to another physics engine resolve the issue or do errors occur with ubODE as well?
BillBlight (developer)
2018-03-23 06:54
edited on: 2018-03-23 07:03

I tested this, brought up a bulletsim region, and was able to reproduce this but not consistently, by uploading and selecting NO physics level, so the resulting import blew up with no physics shape.

Imported mesh that was exported from the viewer is horrible though.

UbitUmarov (administrator)
2018-03-23 08:08

i only tested ubOde, because, reasons.. (ie im lazy)
the error did seem not related to a engine, but i may be wrong.
Do you also have the issue with ubOde?

And yes like i said the exported meshes are far from good, you will need a lot of work on blender to clean them up. Guess viewers get them from rendering and that does seem to have extra vertices to suport skew, twist etc, even when not used.
BillBlight (developer)
2018-03-23 08:08

No I had no issues and could not replicate it on ubODE ..

But the imported mesh still sucks .
Wiccy (reporter)
2018-09-16 21:02

This also occurs with any mesh uploaded, not just viewer-exported meshes.
Ferd Frederix (reporter)
2018-11-14 10:39

Instructions in Blender to optimize a cube.

Edit the object (right click it, then press tab key).
Select all vertexes with 'a', which is a toggle, so you may have to press it twice. Do this for each step below, so that the vertexes are always highlighted in orange.

Mesh-Cleanup-Remove doubles (welds all close vertexes together)
Mesh-Cleanup-Limited dissolve (removes extra faces less than 5 degrees slope, you can adjust this at lower left in the 't' window)

After this, you cube will be one piece and be 12 triangles, and not 96. It should upload nicely now. If it does not mesh, there is a problem in your opensim code or mesh settings, and it is not the mesh.

For models you get off the internet, you probably need to do these, too:

Mesh-Cleanup-delete loose (deletes any hanging edges)
Mesh-Cleanup-degenerate dissolve (delete disconnected vertices and edges)

This usually will fix up almost anything that has less than the 21K triangle limit.

- Issue History
Date Modified Username Field Change
2018-03-22 04:05 Verwijs New Issue
2018-03-22 04:05 Verwijs File Added: mesh-bulletsim-bug.txt
2018-03-22 04:36 tampa Note Added: 0032600
2018-03-22 04:46 UbitUmarov Note Added: 0032601
2018-03-22 06:32 Verwijs Note Added: 0032602
2018-03-22 06:34 Verwijs Note Edited: 0032602 View Revisions
2018-03-22 06:35 UbitUmarov Note Added: 0032603
2018-03-22 08:54 UbitUmarov Note Added: 0032604
2018-03-22 08:59 UbitUmarov Note Added: 0032605
2018-03-23 01:59 Verwijs Note Added: 0032606
2018-03-23 02:02 tampa Note Added: 0032607
2018-03-23 06:54 BillBlight Note Added: 0032608
2018-03-23 07:02 BillBlight Note Edited: 0032608 View Revisions
2018-03-23 07:03 BillBlight Note Edited: 0032608 View Revisions
2018-03-23 08:08 UbitUmarov Note Added: 0032609
2018-03-23 08:08 BillBlight Note Added: 0032610
2018-09-16 21:02 Wiccy Note Added: 0032957
2018-11-13 22:31 BillBlight Relationship added related to 0008408
2018-11-14 10:39 Ferd Frederix Note Added: 0033493

Copyright © 2000 - 2012 MantisBT Group
Powered by Mantis Bugtracker