Comments (2)
seem it enter Infinite loop in function connect1RingCommonVertices
here is the call stack
Topology.connect1RingCommonVertices (adaptive.js:316)
Topology.vertexJoin (adaptive.js:219)
Topology.checkCollisions (adaptive.js:127)
Topology.adaptTopology (adaptive.js:37)
Sculpt.sculptMesh (sculpt.js:231)
Sculpt.sculptStroke (sculpt.js:119)
SculptGL.onMouseMove (sculptgl.js:456)
(anonymous function) (sculptgl.js:96)
x.event.dispatch (jquery-1.10.1.min.js:5)
v.handle (jquery-1.10.1.min.js:5)
from sculptgl.
The method itselft can't handle self-intersection.
Even when there're no self-intersection, some weird stuffs can happen (just put the detail slider to 1.0 and do a lot of holes...).
A quick summary for this method is :
- each edges length must be in a certain interval ( min < x < max )
- when you sculpt the vertices you can only move them to a limited distance dist on each frame (dependent from min and max )
- that way you can prevent every self-intersection by checking the distance between the vertices and if it is closer than a certain thickness (dependent of min, max and dist, you can merge them)
Currently, I am not even sure that the first point is respected (because I sometimes smooth stuffs in the subdivision and decimation process).
The second point is not difficult...
And the third point... well... I don't know if it's work perfectly.
So in short, adaptive sculpting is by far the most difficult part to improve :D.
from sculptgl.
Related Issues (20)
- Save diffuse from cylinder or torus
- Why windows only for standalone HOT 1
- special request HOT 5
- Allow PWA functionality. HOT 1
- How to add simple point ?
- Updated standalone version HOT 1
- Typescript migration HOT 2
- WebGL GUI Dependency HOT 2
- Go to Sketchfab ! HOT 1
- How to import multi obj and merge combined into one obj HOT 1
- Scale size of object changes after remesh operation. HOT 2
- Cut 3d object feature in old-sculptgl Branch HOT 3
- Getting the angle of 3d object HOT 4
- Cut Feature in Sculpt-GL HOT 3
- Enter VR Button
- Updating 3D model position by giving user input
- Set pivot point to centre in exportOBJ file HOT 1
- Import issue HOT 1
- Certain Materials don't export to sketchfab.com HOT 2
- glTF import-export HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sculptgl.