Closed pigLoveRabbit520 closed 11 months ago
Hello, this code are using OpenTK 4 .Net Framework so it's support to window platform only. I tried several ways to get it to compile on Linux, but I got some errors. One of them was using the OpenTK.GLControl Winforms Control .Net core version 3.1 but this version of GLControl didn't seem to run three.js' glsl properly. I haven't been able to fix it yet.
https://github.com/hjoykim/THREE/tree/master/THREE this repo should be compiled on Linux, it should be a underlying library, nothing with GUI. Maybe the repo can be divided into two part:THREE and THREE.controls
, because I just want a render engine.
Let's examine how it can be split into two parts: THREE and THREE.controls. However, since I am currently working hard for a living, it may take a long time. If you have any good ideas please tell me
I use threejs4net and split core library to netstandard2.0, not reference opentk, use a single project to use opentk render, because i see current threejs will support webgpu.
I see demo of THREE work well than threejs4net, so try do it in THREE, but many code use api of opengl.
update: There are many small changes for remove opengl from core project, use little code from threejs4net, now winformdemo work https://github.com/xtuzy/THREE/tree/veldrid
OK, I'll check it Thanks you
Can this repo be compiled on Linux?