Giter VIP home page Giter VIP logo

Comments (11)

coderofsalvation avatar coderofsalvation commented on May 10, 2024 2

blender3d is the king of mesh editing.
Unity3D neither supports such features, hence they just point people to blender3d.
Imho implementing such features would not be the best focus for webglstudio.
Blender3d & webglstudio is a perfect๐Ÿ‘Œ combination, both free and opensource.

from webglstudio.js.

jagenjo avatar jagenjo commented on May 10, 2024 1

ok, but Im the sole developer of WebGLStudio and I dont have plans to add that feature (it will take one year of work to develop it), so do not expect it to be available in quite some time.

from webglstudio.js.

jagenjo avatar jagenjo commented on May 10, 2024 1

I can make an skeleton for the mesh editor, but you will have to code the actions like:

  • select one or multiple vertex, edge or face
  • move, rotate, scale
  • subdivision, extrusion, etc

The main problem is that my mesh structure is not meant for editing, in the sense that it just packs all the vertices in an array (focused on rendering performance), and to edit meshes you usually want to have a structure that has info like neighbour triangles, etc.

If you do not have experience it could take some time, thats why I never bothered trying, but if you are commited to the idea Im willing to help.

from webglstudio.js.

jagenjo avatar jagenjo commented on May 10, 2024

WebGLStudio doesnt have mesh editing capabilities (maybe one day...)

Its main goal is to create 3D applications, but meshes must be imported from any 3D software.
I suggest you to check clara.io which is more a 3D meshes editor.

Cheers

from webglstudio.js.

brylie avatar brylie commented on May 10, 2024

I had found clara.io, but it is not open source. In effect, this is a feature request to be able to edit meshes with WebGL Studio, but I wasn't sure to what extent the ability existed. Please re-open the issue, since it is a feature request.

from webglstudio.js.

brylie avatar brylie commented on May 10, 2024

That makes sense. We may be able to help. What would be some sub-tasks for the feature?

from webglstudio.js.

brylie avatar brylie commented on May 10, 2024

The main problem is that my mesh structure is not meant for editing, in the sense that it just packs all the vertices in an array (focused on rendering performance), and to edit meshes you usually want to have a structure that has info like neighbour triangles, etc.

Might it be good to add an 'edit mode' toggle (for a selected mesh), so the default representation could be performance optimized, while edit mode would switch to a more topology-based representation? E.g. this is similar to the Blender modelling experience.

from webglstudio.js.

jagenjo avatar jagenjo commented on May 10, 2024

yes, thats what I was thinking, it shouldnt be hard to have a property inside every mesh for a geometric representation of itself (triangles, edges, vertices), and methods to convert from one to the other.

I was just saying it to showcase the complexities of editing.

from webglstudio.js.

brylie avatar brylie commented on May 10, 2024

it shouldnt be hard to have a property inside every mesh for a geometric representation of itself (triangles, edges, vertices), and methods to convert from one to the other.

OK, should that be a sub-task or separate feature request?

from webglstudio.js.

jagenjo avatar jagenjo commented on May 10, 2024

because that representation is totally tied to the editor itself, the person in charge of doing it should decide how he wants to structure it. I do not have experience with mesh editing so I dont know what are the best way to structure it.

The main problem is that for complex meshes (with thousands of vertices) if that structure is not accelerated (using some sort of spatial partitioning) it could be a little bit slow because for every click you have to traverse all the faces. Although we could asume small meshes to start.

from webglstudio.js.

kalwalt avatar kalwalt commented on May 10, 2024

I agree with you @coderofsalvation, of someone want to edit a mesh modify it with blender3d.

from webglstudio.js.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.