Skip to content
This repository has been archived by the owner on Sep 16, 2023. It is now read-only.

the app is amazing work #8

Closed
flufy3d opened this issue Aug 5, 2013 · 16 comments
Closed

the app is amazing work #8

flufy3d opened this issue Aug 5, 2013 · 16 comments

Comments

@flufy3d
Copy link
Contributor

flufy3d commented Aug 5, 2013

hope there could be a cooler ui. data gui only a demo way
and feature like image project painting
could i help you anything?

@stephomi
Copy link
Owner

stephomi commented Aug 5, 2013

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).

@disjukr
Copy link
Contributor

disjukr commented Aug 6, 2013

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

@flufy3d
Copy link
Contributor Author

flufy3d commented Aug 6, 2013

@disjukr color on vertex is ugly

@disjukr
Copy link
Contributor

disjukr commented Aug 6, 2013

@flufy3d but it dont need uv mapping.

@stephomi
Copy link
Owner

stephomi commented Aug 6, 2013

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.

@flufy3d
Copy link
Contributor Author

flufy3d commented Aug 6, 2013

@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

@stephomi
Copy link
Owner

stephomi commented Aug 6, 2013

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).

@disjukr
Copy link
Contributor

disjukr commented Aug 6, 2013

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.

@stephomi
Copy link
Owner

stephomi commented Aug 6, 2013

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.

@disjukr
Copy link
Contributor

disjukr commented Aug 6, 2013

sounds great XD

@stephomi
Copy link
Owner

stephomi commented Aug 6, 2013

done :D

@flufy3d
Copy link
Contributor Author

flufy3d commented Aug 7, 2013

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

@DreadKnight
Copy link

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

@flufy3d
Copy link
Contributor Author

flufy3d commented Aug 7, 2013

bugscreenshot

seems I found a bug

@stephomi
Copy link
Owner

stephomi commented Aug 7, 2013

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.

@flufy3d
Copy link
Contributor Author

flufy3d commented Aug 7, 2013

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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants