Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

More demos #26771

Closed
chiaravalle opened this issue Sep 16, 2023 · 7 comments
Closed

More demos #26771

chiaravalle opened this issue Sep 16, 2023 · 7 comments

Comments

@chiaravalle
Copy link

chiaravalle commented Sep 16, 2023

Description

I'd like to have more demos, covering the topics in this list

Solution

Sculpt (like Z-Brush - show a sculptable mesh)
Bevel modifier (show polygons beveled)
Decimate polycount (procedurally reduce polycount - show original and reduced side by side)
Skin modifier (Automatically produce a mesh based on a skeleton-like structure made of a hierarchy - show the result)
Maintain volume while transforming - show resulting animation
Chamfer - show result
Subdivide geometry - show result wireframe
Revolve (sometimes referred to as lathe) - show revolved curve
Twist - show twisted shape
Taper - show tapered tape
Paint on mesh - interactively paint on mesh

Physics simulation - show a simulation

  • Soft bodies
  • Fluids

Alternatives

May be finding suitable code one by one on Google

Additional context

No response

@Mugen87
Copy link
Collaborator

Mugen87 commented Sep 16, 2023

Most of what you have listed are very complex components. It is out of scope to support all of them in this repository.

@Mugen87 Mugen87 closed this as completed Sep 16, 2023
@chiaravalle
Copy link
Author

Maybe you should broaden your horizons?
You could add a "very complex" demo category to the three.js main examples page.
No, I'm just kidding, but hey, why not try? Maybe something ready made already exist, just need to be linked.

I guess the "out of scope" tag for refusing jobs it's a bit misused nowadays, isn't it?

I'm sarcastic. Have a nice day, regards =)

@Mugen87
Copy link
Collaborator

Mugen87 commented Sep 16, 2023

Maybe something ready made already exist, just need to be linked.

The project actually uses an approach for this called "external examples". For instance the physics engine Ammo.js is not maintained in this repository, but there are official examples using it like:

https://threejs.org/examples/physics_ammo_volume (which is btw a demo for soft bodies)

Another external example is the subdivision modifier:

https://threejs.org/examples/webgl_modifier_subdivision

So if someone decides to implement a bevel modifier or sculpt tool for three.js, new examples could be created in a similar fashion.

@chiaravalle
Copy link
Author

Oh, I see. This is sort of a good news, gonna Googling for stuff I'm interested to and propose to add them to such list.
By the way sorry for my "funny" post, I hope I didn't offend anyone.

@chiaravalle
Copy link
Author

chiaravalle commented Sep 16, 2023

Ok, here are what I found.

Twist - show twisted shape (https://medium.com/@crazypixel/geometry-manipulation-in-three-js-twisting-c53782c38bb)
Taper - show tapered mesh (https://github.com/Sean-Bradley/Bender)
Paint on mesh - interactively paint on mesh (https://rawcdn.githack.com/sciecode/three.js/f4e363a8e0cf6c496f4191192d7eb15110442a7c/examples/webgl_paint_texture.html)

Physics simulation - show a simulation

Other are already listed in the examples and I didn't noticed (in the rush, excuse me) or are described in the documentation.

Not found stuff:
Sculpt (like Z-Brush - show a sculptable mesh)
Skin modifier (Automatically produce a mesh based on a skeleton-like structure made of a hierarchy - show the result)
Maintain volume while transforming - show resulting animation
Physics simulation - show a simulation

  • Fluids

Thanks so much, I hope you'll include my found demos in the external examples.

@Mugen87
Copy link
Collaborator

Mugen87 commented Sep 16, 2023

I hope you'll include my found demos in the external examples.

This needs to be done by the maintainers of the specific projects. You have to understand that maintenance is a huge issue and without the support of these maintainers things would become quickly out of date.

@chiaravalle
Copy link
Author

Oh, ok. So I'll have to ask them, right?
Thanks anyhow.

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

No branches or pull requests

2 participants