I have created simple shadow objects for stills in the past where I masked out the environment around product photographs and the shadows matched fine, using the blam add on. Now I am trying to create shadow objects for a video, but the shadow objects don't match the masked objects for more than a couple frames. The solve error for the tracking is 0.14. Shouldn't objects in the virtual environment match the video almost perfectly?
Whenever I do camera tracking in Blender the reconstruction is always zooming out or not on the axis. I have a great quality camera, but the end results of the camera tracking always has the model sliding. If you have a solution please tell me.
Exclude one pattern from glob match Does JPA support mapping to sql views? I'm currently using Eclipselink, but I know now days most JPA implementations have been pretty standardized. Is there a native way to map a JPA entity to a view? I am not looking to insert/update, but the question is really how to handle the @Id annotation. Every entity in the JPA world must have an ID field, but many of the views I have created do not conform to this. Is there native support for this in the JPA or do I need to use hacks to get it to work? I've searched a lot and found very little information about doing this. Replace background while using HDRI for lighting? How can I replace the background of my scene, but keep the reflections and lighting generated from my HDRI? I'm trying to install the Jupiter power settings app but, I read it is no longer compatible with the new kernel. Is there a similar program or a way to manage the power settings on 13.04? Viber notification is not in the right position How can I attach a file to a post? I want to attach some files to a post on one of Stack Exchange sites. What is the best way to do this? Why can we use sample variance of the treatment group to estimate population variance of the controls? Invert colors of an image in CSS or JavaScript He will understand that I was not joking.   He will understand I was not joking.  Which of the sentences is correct? Are there any specific rules about the use of &quot;that&quot; in the sentences I reported as example? Intuitive explanation of convergence in distribution and convergence in probability What is the intuitive difference between a random variable converging in probability versus a random variable converging in distribution?  I've read numerous definitions and mathematical equations, but that does not really help. (Please keep in mind, I am undergraduate student studying econometrics.)  How can a random variable converge to a single number, but also converge to a distribution? Why do microcontrollers have so little RAM? Maybe this is more of a perceptional problem, but it seems like microcontrollers have advanced by leaps and bounds in the last 20 years, in almost all regards, higher clock speed, more peripherals, easier debugging, 32-bit cores, etc...  It is still common to see RAM in the 10's of KB (16/32&nbsp;KB).  It doesn't seem like it could be an issue of cost or size directly. Is it an issue of complexity with the RAM controller above some threshold?  Or is it just that it isn't generally required?  Looking over a parts matrix at a popular Internet supplier, I see one  with 256&nbsp;KB for less than US$8, and then for a few dollars more you can find a few more that are ROMless, but it seems pretty sparse...  I don't exactly have a need for a microcontroller with a MB of volatile storage, but it seems like somebody might... GeoJSON does not appear on my Leaflet map I'm a beginner in Leaflet and I need help to deal with GeoJSON files.  I succeeded in creating a Leaflet basemap. I can add markers without troubles but I cannot manage to show a GeoJSON layer.  Here is the code I picked up from Leaflet Tutorials website  :  var geojsonFeature = {     "type": "Feature",     "properties": {         "name": "Coors Field",         "amenity": "Baseball Stadium",         "popupContent": "This is where the Rockies play!"     },     "geometry": {         "type": "Point",         "coordinates": [-104.99404, 39.75621]     } }; L.geoJSON(geojsonFeature).addTo(map);   Unfortunatly, the GeoJSON does not appear in my map.   Can you tell me where I missed something ?    Alright, you're fine Francisco, this part was OK. I changed the whole script and it works !  However, would you know how to load a GeoJSON from an external source ?  I tried this :   var geojsonLayer = new L.GeoJSON.AJAX("foo.geojson");        geojsonLayer.addTo(map);   from   but this definitely does not work.  Any ideas ?    I am not skilled enough to understand your advice.  Here is the whole code I am using to create my map :  &lt;!DOCTYPE html&gt; &lt;html&gt; &lt;head&gt; &lt;title&gt;data&lt;/title&gt; &lt;meta charset="UTF-8"&gt; &lt;link rel="stylesheet" href="https://unpkg.com/leaflet@1.0.3/dist/leaflet.css" /&gt; &lt;script src="https://unpkg.com/leaflet@1.0.3/dist/leaflet.js"&gt;&lt;/script&gt; &lt;script src="https://code.jquery.com/jquery-3.1.1.min.js"&gt;&lt;/script&gt;   &lt;script type="text/javascript" src="http://maps.stamen.com/js/tile.stamen.js?v1.3.0"&gt;&lt;/script&gt; &lt;script src="/js/leaflet-0.7.2/leaflet.ajax.min.js"&gt;&lt;/script&gt; &lt;script src="htdocs/webmap101/leaflet.ajax.min.js" type="text/javascript" &gt;&lt;/script&gt; &lt;style&gt;    #map {width: 960px; height:700px;} &lt;/style&gt; &lt;/head&gt; &lt;body&gt;   &lt;div id="map"&gt;&lt;/div&gt; &lt;script&gt;   // create map var lat = 44.933331; var lon = 4.9;  var map = L.map('map',{center: [lat,lon],zoom: 6});   // basemaps var base = L.tileLayer('http://{s}.tile.osm.org/{z}/{x}/{y}.png',   {attribution: '© &lt;a href="http://osm.org/copyright"&gt;OpenStreetMap&lt;/a&gt; contributors'  }); var toner = new L.StamenTileLayer("toner"); var watercolor = new L.StamenTileLayer("watercolor"); var landscape = L.tileLayer('https://tile.thunderforest.com/landscape/{z}/{x}/{y}.png'); base.addTo(map);   // markers  var mark1=L.marker([lat,lon]) mark1.addTo(map)    // layers panel  L.control.layers({"base": base, "water": watercolor, "toner": toner , "landscape" : landscape}).addTo(map);    // geojson files var geojsonFeature = {     "type": "Feature",     "properties": {         "name": "Coors Field",         "amenity": "Baseball Stadium",         "popupContent": "This is where the Rockies play!"     },     "geometry": {         "type": "Point",         "coordinates": [-104.99404, 39.75621]     } }; L.geoJSON(geojsonFeature).addTo(map);    //ajax  var geojsonLayer = new L.GeoJSON.AJAX("foo.geojson");        geojsonLayer.addTo(map);  &lt;/script&gt; &lt;/body&gt; &lt;/html&gt;   I know it's a bit messy but this is actually my very first HTML script... I guess I did not include in a proper way the AJAX library.    Actually, I just want a solution to replace the lines where I create the GeoJSON by something that tells javascript to load the GeoJSON stored locally in my folder. This :  var geojsonFeature = {     "type": "Feature",     "properties": {         "name": "Coors Field",         "amenity": "Baseball Stadium",         "popupContent": "This is where the Rockies play!"     },     "geometry": {         "type": "Point",         "coordinates": [-104.99404, 39.75621]     } };   should be transformed into something like (I don't know if it exists) :  var geojsonFeature = [foo.geosjon]   where "foo.geosjson" is a file like :  { "type": "FeatureCollection", "name": "abies", "crs": { "type": "name", "properties": { "name": "urn:ogc:def:crs:OGC:1.3:CRS84" } }, "features": [ { "type": "Feature" X Server for Windows? Please consider the integral:  $$\int_{-a}^{a}x^2dx=\frac{2a^3}{3}$$  I would like to know why I can't make the substitution:  $$u=x^2$$  When I make the substitution, the limits of the integral will be the same, and the integral itself will be zero, which is the wrong answer. So why does this simple change of variables not work as I have expected?  Please note that I do not want help solving the integral, I know how to solve it several ways. My question is why does this specific attempt at a solution not work? How do I remove code duplication between similar const and non-const member functions? Proving the number of iterations in the Euclidean algorithm Let m and n be natural numbers. Suppose $ min(m, n) \leq 2^k $ for some natural number k. Show that the Euclidean algorithm needs at most $ 2k $ iterations to find the GCD of m and n. Basically I have no clue how to start this proof, I think I should be looking at the remainders and somehow showing that $ a_{k+2} \leq \frac{a_{k}}{2} $ where $a_{k}$ represents the kth remainder. Other than that, I have no clue about where to begin. Drop or change automatic migration-rejection based on non-existing tags I believe this feature creates more issues than it solves and thus would like to see it gone. (This is an out-growth of , which I repost here as it concerns several/all sites.)  The main reason why I think so is that there can be numerous reasons other than the subject being off-topic why some tag does not exist on some site, for one thing it could be a spelling, typesetting, or other formalistic reason. For example, for the two sites I know best MathOverflow and Mathematics hardly any of the most popular tags have a strictly matching tag on Mathematics but only because on MO there is the convention that certain tags are formatted in a specific way, which is not in place on Mathematics (for example nt.number-theory vs number-theory).  On top of that a user choosing the wrong site in the first place is likely not too well aware of the tags of the site they are posting too so that the question might be poorly tagged in the first place.         There is an additional detail I do not understand (it is obsolete if the actual request should be followed but in case it is not):   Even if on the source site a tag has a synonym and that synonym exists as a tag on the target site the migration is rejected. I do not understand the logic behind this at all. Possibly this is just an oversight.   I could also think of some other ways to improve the process while keeping the idea, but since I believe that it is best dropped I do not (yet) elaborate on this. workspace switching via ctrl + alt + arrow not working after upgrade to 13.04, how to fix this? "Much of it is" or "Much of it are"? I'm writing an college-entrance essay and for me it's imperative that I understand and implement the correct one of these two expressions:     "Much of it is" or "Much of it are"   If you need context:     I'm having trouble with my writing. The reason I'm having trouble is that much of it is about....   Should there be an "is" or an "are"? If you visit a chat room attached to a beta site while logged out, the log in message is all but unreadable, being dark grey on a dark blue background. For example, visit  while logged out or in private browsing mode.