GithubHelp home page GithubHelp logo

Comments (7)

xavierjs avatar xavierjs commented on May 22, 2024

Hi,

You have to:

  • match a 3D model with the user's face like in the Matrix Facefilter tutorial
  • the 3D model is moved with the detectstate
  • you take the coordinates of the point matching the neck for example and you multiply it with the wordmatrix.

I suggest you, before working with this library, to learn basics of 3D programming. You can start here: http://webglacademy.com/ or there: http://learningwebgl.com/blog/?page_id=1217

from jeelizfacefilter.

veetechh avatar veetechh commented on May 22, 2024

Thanks a lot

from jeelizfacefilter.

veetechh avatar veetechh commented on May 22, 2024

The tutorial was awesome.
how to get coordinates of points matching the neck? and where is the wordmatrix?

from jeelizfacefilter.

xavierjs avatar xavierjs commented on May 22, 2024

Hi,

I am sorry but this is not a beginner 3D forum. Your question is not about faceFilter.
I have a lot of work, I put detailed explanation about all detectFace properties, and there are many commented demos to have examples. I don't have time to explain basic 3D concepts like projection or the worldmatrix. You have to learn them by yourself.

from jeelizfacefilter.

veetechh avatar veetechh commented on May 22, 2024

okay, sorry & thank you

from jeelizfacefilter.

veetechh avatar veetechh commented on May 22, 2024

The script.js here http://webglacademy.com/courses.php?courses=0_1_20_2_3_4_23_5_6_7_10#20
is lagging while scrolling.

from jeelizfacefilter.

xavierjs avatar xavierjs commented on May 22, 2024

Hi,

This is because you are running a very heavy shader (I suppose you are in the last steps and you have clicked on RUN button).
So your resources are so busy that it makes the DOM slow.
In order to force the computer to not fully use the resources for the shader, you can replace window.requestAnimationFrame(animate); on script.js by:

 window.requestAnimationFrame(tickAnimate);

and declare tickAnimate just after animate by:

var tickAnimate=function(timestamp){
   setTimeout(animate.bind(null, timestamp), 5); //5 is short time in ms where the browser is idle so it can refresh easily
}

from jeelizfacefilter.

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.