Code Monkey home page Code Monkey logo

Comments (16)

stephomi avatar stephomi commented on July 30, 2024

For all the painting stuff I will need texture coordinates... and UV mapping is not an easy problem :(

I also wish for a better interface ( I think there is a bug with it in the lower left area of the screen).
And the combo boxes aren't not really user friendly.
I don't know if there's a good alternative for dat.gui, maybe tweaking the css might be enough (but I'm bad at the css stuffs).

from sculptgl.

disjukr avatar disjukr commented on July 30, 2024

@stephomi then.. how are you thinking about painting the color on vertex color property? (maybe need to modify shader)

from sculptgl.

flufy3d avatar flufy3d commented on July 30, 2024

@disjukr color on vertex is ugly

from sculptgl.

disjukr avatar disjukr commented on July 30, 2024

@flufy3d but it dont need uv mapping.

from sculptgl.

stephomi avatar stephomi commented on July 30, 2024

I already thought about that, it would be easy but ugly...

It would be great to have UVs... but as sculptris and blender do, I should then prevent the decimation and subdivision process (well in theory it would be possible to assign new uv coordinates to the newly created vertices but that's another problem).

There're some softwares that are only dedicated to UV mapping... so I don't think I'll find a magic javascript library on UV unwrap :D.

from sculptgl.

flufy3d avatar flufy3d commented on July 30, 2024

@stephomi dedicated UV mapping softwares such as?

are there any open source UV mapping softwares ?

the zbrush's uv mapping tool is very cool ,but its Commercial

from sculptgl.

stephomi avatar stephomi commented on July 30, 2024

This one or this one, but they are commercial.

As for open source project... there're CGAL, blender... and maybe wings3d and other softwares .

The best uv tools are not completely automatic and the artists usually just have to give a few hint ("cut here", "want more pixel on this area"...)
An automatic uvmapping that produce patches such as in sculptris would be fine enough, but that's quite a challenge (on top of doing it in Javascript).

from sculptgl.

disjukr avatar disjukr commented on July 30, 2024

I think painting color on vertex is maybe not so much ugly then you guys thinking..
because sculpted model is usually have high poly then texture map resolution.
and also zbrush support it.
I think offering conversion between vertex color and texture map later then uv mapping is enough to user.

from sculptgl.

stephomi avatar stephomi commented on July 30, 2024

Hmmm maybe u're right, I'll give it a try when i'll have time.

The shader should be very simple, integration with the subdivision/decimation process will also be easy, and there's also the history (undo/redo) that shouldn't pose any problems.

from sculptgl.

disjukr avatar disjukr commented on July 30, 2024

sounds great XD

from sculptgl.

stephomi avatar stephomi commented on July 30, 2024

done :D

from sculptgl.

flufy3d avatar flufy3d commented on July 30, 2024

@stephomi cool, the vertex color painting is done ,Very efficient!:D

from sculptgl.

DreadKnight avatar DreadKnight commented on July 30, 2024

Nice! Is there a colorpicker functionality right from the model?

from sculptgl.

flufy3d avatar flufy3d commented on July 30, 2024

bugscreenshot

seems I found a bug

from sculptgl.

stephomi avatar stephomi commented on July 30, 2024

Dat.gui color picker is broken...
I really want to change the interface but I'm a bit afraid to dive in HTML/CSS stuff.

For the color problem I guess I can fix it easily as someone already experienced the same kind of bug for the color picking (and gave me an hint on how to fix it).

For the model color picker, if you mean click on the model and pick the color under the mouse, that shouldn't be difficult either.

from sculptgl.

flufy3d avatar flufy3d commented on July 30, 2024

the color problem is difficult to reappear.....

from sculptgl.

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.