secondlife / viewer

🖥️ Second Life's official client
GNU Lesser General Public License v2.1
209 stars 53 forks source link

When uploading small objects without hitting analyze, physics doesn´t get uploaded correctly #2846

Open canny[bot] opened 3 hours ago

canny[bot] commented 3 hours ago

We have been avoiding the analyze button of the uploader due to its problems with extra physics geometry + camera bumps. When I tried to upload this door using the same process, because we noticed that the door with analyze was generating camera issues around, I noticed that even with a simple physics triangulated, and the preview showing correctly, the physics does not get uploaded correctly.

Door frames are here: http://maps.secondlife.com/secondlife/MoleTest/106/59/23

White door frame used the analyze >> https://gyazo.com/b2ac84d9b0d81a137c253e0ead17f0a6

This is what happens when I resize above 50 cm and it shows the mesh uploaded>>

https://gyazo.com/3ee8df170355d60c6d26c6dc96ea3584

Red door frame didn´t >>

https://gyazo.com/8f2ffc19c026703e3756da62bb681323

this is what happens when I resize above 50cm >>

https://gyazo.com/fab3a059e4b5c01fe8da4e968bca1d4d

Both were uploaded with the same mesh LODs

https://gyazo.com/13cb287918b9ba5d29591219691c0356

The mesh needing to be resized to over 50cm to be able to see which was the physics uploaded, is another known bug >>

https://feedback.secondlife.com/bug-reports/p/incorrect-behavior-of-render-metadata-physics-shapes

Which is linked to some github issues, but I don´t know the real status of this fix

https://github.com/secondlife/viewer/issues/1016

https://github.com/secondlife/jira-archive/issues/4271

The only way around this - which is not the desired way - is to make a transparent face underneath everything to mimic the object being bigger than 50cm.

When you do that, and upload it, you don´t need even to use the analyze for the physics to be correct.

Orange frame is this workaround!

Uploader image:

https://gyazo.com/a4033bf4058091f7449350fc7af3de33

Mesh models with the hidden face sized to 52cm:

https://gyazo.com/e640f12aa587ba2a2674ce75b724a993

Video showing how the physics automatically shows right because the mesh model is over 50cm:

https://gyazo.com/5b15c0aa2286ba61ee0b0bd702057193


Viewer info:

Second Life Release 7.1.9.10515727195 (64bit)

Release Notes

You are at 103.8, 72.8, 23.0 in MoleTest located at simhost-0343eaf1ac316b2ad.agni

SLURL: http://maps.secondlife.com/secondlife/MoleTest/104/73/23

(global coordinates 260,968.0, 241,737.0, 23.0)

Second Life Server 2024-09-13.10853867644

Release Notes

CPU: Intel(R) Core(TM) i7-10750H CPU @ 2.60GHz (2592 MHz)

Memory: 65444 MB

OS Version: Microsoft Windows 11 64-bit (Build 22631.4169)

Graphics Card Vendor: NVIDIA Corporation

Graphics Card: NVIDIA GeForce RTX 2060/PCIe/SSE2

Windows Graphics Driver Version: 32.0.15.5599

OpenGL Version: 4.6.0 NVIDIA 555.99

Window size: 1920x1003

Font Size Adjustment: 96pt

UI Scaling: 1

Draw distance: 128m

Bandwidth: 3000kbit/s

LOD factor: 1

Render quality: 2

Texture memory: 5187MB

Disk cache: Max size 1638.4 MB (100.0% used)

J2C Decoder Version: KDU v7.10.4

Audio Driver Version: OpenAL, version 1.1 ALSOFT 1.23.1 / OpenAL Community / OpenAL Soft: OpenAL Soft

Dullahan: 1.14.0.202310131404

CEF: 118.4.1+g3dd6078+chromium-118.0.5993.54

Chromium: 118.0.5993.54

LibVLC Version: 3.0.16

Voice Server Version: Not Connected

Packets Lost: 225/18,690 (1.2%)

October 02 2024 18:09:52

https://secondlife.canny.io/admin/board/mole-bugs/p/when-uploading-small-objects-without-hitting-analyze-physics-doesnt-get-uploaded

canny[bot] commented 3 hours ago

This issue has been linked to a Canny post: When uploading small objects without hitting analyze, physics doesn´t get uploaded correctly :tada: