From: John B. <jb...@te...> - 2006-02-12 15:32:08
|
Hi, Bruce and all; Thanks for all the help you've given me in the past, and thanks _especially_ for ' scene.stereo='crosseyed' '. In order to speed up my program, I'm recoding it in C++ (and estimating about 40 times speed increase over Python), which I know very little about (but am slowly fighting my way through the molasses...). VPython gives me my views into my Python program's calculation space, and I can watch my points packing themselves. To do the same with C++ is going to take _way_ more knowledge of C++, Windows (microsoft's) and probably OpebGL, than I'm likely to obtain in my lifetime (which by now is not what it was when I was young (*g*)). The program itself is mostly vector math, which I'm fighting into submission now, and since I've got all the rest of the needed functions (randomizings, file readings/writings, database makings (dynamic arrays versus lists and dictionaries etc.) and user input/output handled in the C++ version, all I'm going to be facing soon is visibility into my calculation space. Hence the query: is there any way to interface my C++ _calculation_ system, with VPython's OpenGL operations or with VPython itself, so that I can use (a modified version of) what I already have with VPython, to do the lookings-in-to what the C++ calculation program is doing? IOW, can I call out from within the C++ program, to the VPython visualization system? Thanks! Peace JB jb...@te... Web: http://tetrahedraverse.com |