cs.williams.edu
Morgan McGuire
http://cs.williams.edu/~morgan
Department of Computer Science. Computational Graphics · New Experiences. 413-597-4215 (Office- no voicemail). Science is but a perversion of itself, unless it has as its ultimate goal the betterment of humanity." - Nikola Tesla. Current Activities (Summer 2016). Research Blogs [ Articles. On virtual reality at NVIDIA. Course preparation for Graphics (CS371), Games (CS107), and Film and Media Studies (COMP 258). SIGGRAPH CS X and Open Problems. Selected Publications [ Full publication list. For PS4, Xbox...
upcoder.com
UpCoder coding blog
http://www.upcoder.com/8/fast-blockchain-scanning
Carry on up the coder. C , python, game AI, bitcoin. June 20, 2014, 2:54 pm. Another post about bitcoin RPC from Python.). For certain bitcoin applications you'll need to perform some kind of processing on. All of the transactions. Coming through on the bitcoin block chain. In a bitcoin wallet application, for example, you need to check each new transaction to identify any outputs which are spendable by the wallet, and add the corresponding amounts to the wallet balance. So one way to approach this is to...
upcoder.com
UpCoder coding blog
http://upcoder.com/series/1/vectors-and-vector-based-containers
C , python, game AI, bitcoin. Vectors and Vector Based Containers series:. 1, Nov. 18, 2013. 2, Nov. 22, 2013. Efficient Vectors of Vectors. 3, Dec. 15, 2013. 4, Dec. 20, 2013. 5, Dec. 22, 2013. Zero Initialisation for Classes. 6, Jan. 21, 2014. 7, July 1, 2014. Fast Resettable Flag Vector. 8, Feb. 26, 2015. 9, July 29, 2015. Efficient Vectors of Vectors. Zero Initialisation for Classes. Bitcoin RPC from Python. Fast Resettable Flag Vector. Pre-Rendering PDFs for Mobile Devices.
upcoder.com
UpCoder coding blog
http://upcoder.com/3/roll-your-own-vector
C , python, game AI, bitcoin. Dec 15, 2013, 12:14 pm. Third in a series of posts. About Vectors and Vector based containers.). STL vectors offer a great combination of dynamically resizing convenience and low level contiguous buffer accessing performance, but std: vector is not the only option, and custom implementations of this container can sometimes be a better fit for your specific requirements. Some public examples are the EASTL. And I know that a lot of other developers also do something similar.
upcoder.com
UpCoder coding blog
http://www.upcoder.com/series/2/pathengine-meshes
C , python, game AI, bitcoin. 1, Sept. 26, 2014. 2, July 29, 2015. Efficient Vectors of Vectors. Zero Initialisation for Classes. Bitcoin RPC from Python. Fast Resettable Flag Vector. Pre-Rendering PDFs for Mobile Devices. Measure Memory Allocation Cost, by Eliminating It. Vectors and Vector Based Containers.
upcoder.com
UpCoder coding blog
http://www.upcoder.com/2/efficient-vectors-of-vectors
C , python, game AI, bitcoin. Nov 22, 2013, 12:45 pm. Efficient Vectors of Vectors. Second in a series of posts. About Vectors and Vector based containers.). STL style vectors are convenient because they hide the details of internal buffer management, and present a simplified interface, but sometimes convenience can be a trap! In my previous post I touched briefly on STL vectors with non-simple element types, and mentioned the 'vector of vectors' construct in particular as a specific source of memory woes.
upcoder.com
UpCoder coding blog
http://www.upcoder.com/1/using-stl-vectors
The only way is up. coder. C , python, game AI, bitcoin. Nov 18, 2013, 10:39 am. First in a series of posts. About Vectors and Vector based containers.). STL style vectors are a pretty useful construct. I remember coming to C (and the STL) from a background in lower level programming, and finding STL vectors a bit surprising, with the idea of. Complexity and so on. Without knowing the maximum required buffer size in advance. Prefer vector over list. Generally speaking, contiguous buffers are good, and me...
upcoder.com
UpCoder coding blog
http://www.upcoder.com/10/infinitesimal-offset-meshes
The only way is up. coder. C , python, game AI, bitcoin. Sept 26, 2014, 11:38 am. In PathEngine, we do a lot of stuff on the surfaces of ground meshes. One example is tracking the ground position for a moving agent, which is implemented as traversal along a 2D line through a mesh. When coding stuff like this the need to check and handle special case conditions like vertex crossings, or traversal exactly along an edge, can add a lot of complexity. Infinitesimally offset mesh model. It's possible to just g...
upcoder.com
UpCoder coding blog
http://upcoder.com/4/avoid-resize
The only way is up. coder. C , python, game AI, bitcoin. Dec 20, 2013, 4:39 pm. Number 4 in a series of posts. About Vectors and Vector based containers.). This post is essentially a response to feedback to this. In that post I talked about a change we made to the initialisation semantics for PathEngine's custom vector class, and described a specific use case where this can make a difference, with that use case involving calls to the vector resize() method. In the comments for that post, Herb Sutter says:.
upcoder.com
UpCoder coding blog
http://www.upcoder.com/9/fast-resettable-flag-vector
Carry on up the coder. C , python, game AI, bitcoin. July 1, 2014, 3:44 pm. Fast Resettable Flag Vector. Another custom container post for my Vectors and Vector Based Containers. In this post I'll look at an alternative implementation of the humble bit vector, designed specifically for optimising zero fill operations. Some algorithms need to flag elements in a data structure being processed, to avoid repeated processing, for example, or to provide a stopping condition. Consider the following (C ) code:.
SOCIAL ENGAGEMENT