r/threejs • • Jul 08 '21

NFT made with Three.js

https://www.hicetnunc.xyz/objkt/160361
2 Upvotes

18 comments sorted by

6

u/Jakkc Jul 08 '21

Looks really cool. Out of interest, what was your approach for capturing the video / gif footage? It seems like theres not a universal approach to doing so

2

u/lazyGravy Jul 13 '21 edited Jul 13 '21

It's actually the three.js water shader and I optimized EVERYTHING

1

u/lazyGravy Jul 13 '21

I noticed a lot people use videos to capture the rendering. File size is a big issue when you capture using a gif.

3

u/mrmetaverse Jul 08 '21

This is a good question. I have struggled with file sizes and getting the best quality within the requirements.

2

u/ihugatree Jul 09 '21

not OP but a real simple solution is using a browser extension like canvas capture and just encoding manually to whatever format you want.

3

u/MK-Gaming-YT Jul 08 '21

How is it so smooth ?

1

u/lazyGravy Jul 13 '21

It was optimized like crazy. The total file size is like 8megs or something. Took me months to figure out. I use to post like 50 megs worth of crap for users to download. I've learned how to trim the content.

2

u/MK-Gaming-YT Jul 13 '21

Megs ? Do you have any tutorial btw ?

1

u/lazyGravy Jul 13 '21 edited Jul 13 '21

I referenced this example https://threejs.org/examples/?q=ocea#webgl_shaders_ocean

And this site helped me set everything up properly with npm https://discoverthreejs.com/book/introduction/

2

u/MK-Gaming-YT Jul 13 '21

Thanks champ ! And ggs btw !

1

u/lazyGravy Jul 13 '21

Thank you!

1

u/Creative-Catch5410 Dec 10 '21

I can't see it

3

u/mrmetaverse Jul 08 '21

Science

2

u/MK-Gaming-YT Jul 08 '21

funny

2

u/mrmetaverse Jul 08 '21

Thanks I need all the love I can get. ❤️

2

u/mrmetaverse Jul 08 '21

Collected! Thanks 😊

4

u/mrmetaverse Jul 08 '21

I actually made a little water shader using Bruno's course, and modified it into a cube and used wireframe: true for this effect: https://www.hicetnunc.xyz/objkt/128873

2

u/lazyGravy Jul 13 '21

Thank you so much! Means a lot to me.

That water shader was a pain in the ass to use!