Facepunch / sbox-sdf

Library providing marching cubes / squares mesh generation
MIT License
15 stars 7 forks source link

SDF library update to S&box Scene System #22

Closed PolSpock closed 6 months ago

PolSpock commented 11 months ago

Hi,

It would be cool to get the SDF library back on S&box Scene Edition. I know it have been started a month ago with https://github.com/Facepunch/sbox-scenestaging/tree/libsdf but with a recent Scene update, all is fucked up :

Regards

trundlr commented 10 months ago

Currently also getting whitelist errors:

 03:27:03   PackageLoader/GameMenu Whitelist Error: Sandbox.Polygons.PolygonMeshBuilder.AddSvg(..) - [None]   Failed to load type 'Rect' from assembly 'Sandbox.System, Version=1.0.1.0, Culture=neutral, PublicKeyToken=null'
 03:27:03   PackageLoader/GameMenu Whitelist Error: Sandbox.Polygons.PolygonMeshBuilder.GetTangent(..) - [None]   Missing method 'Vector3 Vector3.Cross(Vector3, Vector3)'
 03:27:03   PackageLoader/GameMenu Whitelist Error: One or more errors occurred. (TypeDefinition was null - couldn't resolve Rect) (Object reference not set to an instance of an object.)
 03:27:03   PackageLoader/GameMenu Couldn't load package.facepunch.libpolygon - access control error
 03:27:03   PackageManager Error installing local package apetavern.grubs-scene#local: Error loading package.facepunch.libpolygon.dll
Metapyziks commented 9 months ago

Starting on this now.