Comments (2)
Did you find any solution for changing line width?
from arkit-line-drawing.
This StackOverflow question seems to answer this. SceneKit doesn't provide a way to do it. But it's built on OpenGL ES, which does. But to do that you have to set a delegate for the view, and define a renderer:willRenderSceneAtTime: and call glLineWidth there.. But that's not using ARKit - I have no idea what to do with an ARKit SceneView.
And apparently you already tried that.
But that was as of Nov 2014. Apple has surely moved SceneKit to using Metal everywhere (iOS and Mac). And they may (read "should") have added something as simple as a "setLineWidthToInPixels" method to SCNGeometry. It seems rather obvious, considering that "line width" has been a rather simple attribute, all the way back to "SetLineWidth(int lineWidth)" back in the good old days with B/W low-res QuickDraw and Pascal.
from arkit-line-drawing.
Related Issues (8)
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 arkit-line-drawing.