Comments (7)
What about linux?
from tsugite.
@bart9h, @DanielJoyce, @bmarien
The problem was the hardcoded backslashes in the paths. I have replaced them to os.sep. I have sent a pull request with these changes. If you want to try it, you can use my fork too. Still there are problems for me but I am sure those are not because of my system (blackPanther OS Linux). I think the authors have some fixes for this just they did not uploaded them here yet.
@hudbrog
Unfortunately I don't know mac but which are those opengl extensions? Could you show us error messages?
from tsugite.
Probably has some hardcoded path name assumptions.
from tsugite.
Sadly, won't work on mac os. Requires some opengl extensions mac doesn't provide =(
from tsugite.
@hmikihth there are a few issues with using it on MacOS. First one, is that by default mac provides a 'legacy' profile that only supports opengl2. You can enable 'core profile' that supports more modern versions of opengl. After that - a small issue with how vertex arrays are initialized which can be fixed easily enough as well, here are the diffs:
diff --git a/setup/Buffer.py b/setup/Buffer.py
index 04f8070..ff2d002 100644
--- a/setup/Buffer.py
+++ b/setup/Buffer.py
@@ -14,6 +14,8 @@ class Buffer:
self.parent = parent
self.VBO = glGenBuffers(1)
glBindBuffer(GL_ARRAY_BUFFER, self.VBO)
+ self.VAO = glGenVertexArrays(1)
+ glBindVertexArray(self.VAO)
self.EBO = glGenBuffers(1)
glBindBuffer(GL_ELEMENT_ARRAY_BUFFER, self.EBO)
self.vertex_no_info = 8
diff --git a/setup/Tsugite_app.py b/setup/Tsugite_app.py
index 50f5418..e415347 100644
--- a/setup/Tsugite_app.py
+++ b/setup/Tsugite_app.py
@@ -43,8 +43,12 @@ def get_untitled_filename(name,ext,sep):
class GLWidget(QGLWidget):
def __init__(self, parent=None):
+ glformat = QGLFormat()
+ glformat.setVersion(3,3)
+ glformat.setProfile(QGLFormat.CoreProfile)
+ # glformat.setSampleBuffers(True)
self.parent = parent
- QGLWidget.__init__(self, parent)
+ QGLWidget.__init__(self, glformat, parent)
self.setMinimumSize(800, 800)
self.setMouseTracking(True)
self.click_time = time.time()
And after all that you will get:
extension \'GL_ARB_explicit_uniform_location\' is not supported
when building shaders. Fixing that would require a more thorough refactoring, but I don't have opengl skills to do one.
from tsugite.
Thank you for bringing attention to this issue. We are currently working on making it run on Mac, too.
If anybody got some solutions, please share.
from tsugite.
Hi I would love Tsugite to run on mac OS!
from tsugite.
Related Issues (16)
- Shader compile error on MacOS HOT 6
- Angle Input is not changing geometry HOT 1
- Please provide the file which failed for a Carbide 3D machine for testing HOT 2
- CSV export option HOT 1
- LICENSE file HOT 1
- PaintGL and GLWidget HOT 14
- Error message on win 10
- CNC Drilling Machine HOT 2
- Suggestion: SVG top down export of cut outlines HOT 1
- Gallery Mode activation
- Error when attempting to run
- glUniformMatrix4fv throws error because of pyrr's Matrix444 objects HOT 1
- Difficulty running on Windows 10 HOT 3
- Unable to load numpy_formathandler accelerator from OpenGL_accelerate HOT 1
- 64bit win10 no toolpath HOT 7
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 tsugite.