Jump to content

  • Log In with Google      Sign In   
  • Create Account


Key_46

Member Since 25 Sep 2005
Offline Last Active Today, 06:23 AM

#5165555 urllib2 - Website loads fine in browser but not in Python

Posted by Key_46 on 08 July 2014 - 09:14 AM

In my case the webserver was not accepting the default User Agent from urllib2. Try changing it:

 

opener.addheaders = [('User-agent', 'Mozilla/5.0')]




#5118017 What type of programs can I work on to apply Linear Algebra concepts

Posted by Key_46 on 18 December 2013 - 10:08 PM

The machine learning, computer vision, data mining are field is full of linear algebra, and so Facebook, Google and Twitter are also full of linear algebra.




#5075922 DX11 - Instancing - The choice of method

Posted by Key_46 on 07 July 2013 - 10:44 AM

With the bullets, i mean this:

 

(Just an example)

 

Imagine thousands of spaceships, shooting lasers (or something) all the time, I would imagine that I would instance all bullets, wouldn't I? In that case I don't really see how I would split up each bullet up into a chunk, as they could go anywhere...

 

But Thanks!

You are dealing with the problem of what objects worth drawing, One solution is keeping a buffer large enough only to draw the bullets near the camera and dynamically insert / remove the elements. You can specify the number of instances inside the buffer.




PARTNERS