0

I have seen a few questions pertaining to embedding JS in a c++ program or calling js functions from c++. I was wondering if it was possible to call javascript functions that have graphics from a c++ program, specifically a GLUT program. I have heard of V8 and other JS engines but I wasn't sure if they were able to display graphics on the screen of a c++ window(like a glut, glu, or sdl window).

3
  • Might be a duplicate of stackoverflow.com/questions/2713289/… Commented Mar 4, 2015 at 18:08
  • This is not a duplicate. My question is specifically based around javascript graphics displayed on a c++ window. Commented Mar 4, 2015 at 18:41
  • I'm not sure what you aim at, or what is you list of requirements (what is allowed or not for you), since there are plenty of possibility here. - having a navigator subwindow in you c++ application - having js doing everything but graphics - having a js doing graphics on a not-web way (nodejs+package) - ... Here, somehow, you seem to want to have some part of graphics done in C++, and some part of graphics done in JS ? which doing what, split how ? (and expecting sharing a graphics context ?) Commented Oct 5, 2015 at 16:27

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.