Thursday, September 25, 2014
Wednesday, September 24, 2014
Sunday, September 21, 2014
Installing and using Python packages in Windows
Install Python in your machine
Install Setuptools - This makes installing packages easy (https://pypi.python.org/pypi/setuptools#windows-simplified)
easy_install pip (Do this in cmd and you will get pip)
Installing a package found in Pypi.
Download the package and extract the contents in some directory
python setup.py install (Do this in cmd in the right folder - your package is now installed)
python
import deap.
AND struggle to install Open dynamics engine package
That needs Visual studio C++ compiler. Need to install it tomorrow.
Install Setuptools - This makes installing packages easy (https://pypi.python.org/pypi/setuptools#windows-simplified)
easy_install pip (Do this in cmd and you will get pip)
Installing a package found in Pypi.
Download the package and extract the contents in some directory
python setup.py install (Do this in cmd in the right folder - your package is now installed)
python
import deap.
AND struggle to install Open dynamics engine package
That needs Visual studio C++ compiler. Need to install it tomorrow.
Genetic Algorithm
Cool stuffs for genetic algorithm assignment:
Some of the mind blowing genetic algorithm implementations that simulate locomotion without limbs!
http://masayosshm/4617632i.com/anlife/
https://vimeo.com/46176321 - The puyo puyo guy!
https://www.sidefx.com/index.php?option=com_content&task=view&id=2662&Itemid=279 - TunzelBots
Some more genetic algorithms which are related to image processing.
https://vimeo.com/18181622 - Image processing
https://vimeo.com/74748042 - Maya and Python
https://www.youtube.com/watch?v=uxourrlPlf8 - Box2D and Vehicles
https://www.youtube.com/watch?v=UE9W5BifhtQ - Box on Box approach
https://www.youtube.com/watch?v=Fp9kzoAxsA4 - Flock simulation stuff
https://www.youtube.com/watch?v=ZpW_ojpmTWk - Trees related
Need to get a working version of Genetic algorithm using Text only. No 2D , No 3d. Text first. Then some existing problem like Traveling Salesman Problem. After that come to Houdini and Python.
Some of the mind blowing genetic algorithm implementations that simulate locomotion without limbs!
http://masayosshm/4617632i.com/anlife/
https://vimeo.com/46176321 - The puyo puyo guy!
https://www.sidefx.com/index.php?option=com_content&task=view&id=2662&Itemid=279 - TunzelBots
Some more genetic algorithms which are related to image processing.
https://vimeo.com/18181622 - Image processing
https://vimeo.com/74748042 - Maya and Python
https://www.youtube.com/watch?v=uxourrlPlf8 - Box2D and Vehicles
https://www.youtube.com/watch?v=UE9W5BifhtQ - Box on Box approach
https://www.youtube.com/watch?v=Fp9kzoAxsA4 - Flock simulation stuff
https://www.youtube.com/watch?v=ZpW_ojpmTWk - Trees related
Need to get a working version of Genetic algorithm using Text only. No 2D , No 3d. Text first. Then some existing problem like Traveling Salesman Problem. After that come to Houdini and Python.
Friday, September 19, 2014
Chance based City lights
I managed to figure out a way to instance lights in Houdini. In this way I can create 500 point lights in Houdini. Whose intensity and color are randomized. It takes about 30 minutes to render. But the result looks decent considering the 3d models doesn't have any shaders.These are results of test images that I got while working today. Next step is to Take a bigger and complex looking city. Have the camera high enough so that the details like, Car, Trees are not visible. Have one layer of Random point lights, One layer of Spot lights that has light color similar to lights from Cars. That should finally make this project complete.
Monday, September 15, 2014
Chance Based Art - Project 1
When I started the project I think I gave too much emphasis on the chance based than the art. So I came up with a particle network in Houdini that moves a point based on a random seed. I added a trail for the point to make it look like a growing path. The vision that I had for this project was to make this convey anticipation that something like arrows in old Indian movies creates.(Couldn't find any link for it :( ) I didn't contemplate enough on the presentation or the medium that I was gonna use for the project. I was at this stage when I presented the idea last week.
I wasn't too happy with my idea and wanted to do something lot cooler. Also some of the classmates had far more interesting problems which was more procedural modeling and less interactive. I wanted to do that as well, so I began looking for topics again.
I saw some of the works by this guy who makes greebles and nurnies, which are really interesting and would be painful to do manually. I thought making something like this could be beneficial to an aspiring game developer. So I started to make procedural buildings or city scapes.
I began with a foreach loop, putting box on top of another box. I was happy with the progress that I made and results started to look like a cityscape from a really wide shot.
Another thing that Phil pointed out is that the city scape isn't complete without roads. Fairly obvious thing which I didn't consider before!
So I examined ways to create roads in Houdini and one obvious way would be to take a curve as an input and extruding them to make a road. One drawback of this approach is that it's a lot of work. I wouldn't call it generative if you are drawing curves to begin with! So I looked at maps and getting map data into Houdini using python.
I didn't find any useful XML data from google maps. I think they want people to buy google earth pro to access that data. Open street maps.org gives away data of entire database for free! Even though it doesn't have all the buildings information about a small town like college station, it gave me detailed information about the roads. So right now I can download map data of college station which is 1mb file size and process and generate it in about 5 seconds. This is a snapshot of the geometry of College Station that I created.
It would be interesting to generate bigger cities or even states and how fast I can do it!
Right now I have all the roads and building blocks which are just cuboids.
I am confused whether to add more details to create higher fidelity buildings or make it more chance based art by randomly populating buildings in the map. Or both? :) I have 30 hours to figure out.
I wasn't too happy with my idea and wanted to do something lot cooler. Also some of the classmates had far more interesting problems which was more procedural modeling and less interactive. I wanted to do that as well, so I began looking for topics again.
I saw some of the works by this guy who makes greebles and nurnies, which are really interesting and would be painful to do manually. I thought making something like this could be beneficial to an aspiring game developer. So I started to make procedural buildings or city scapes.
I began with a foreach loop, putting box on top of another box. I was happy with the progress that I made and results started to look like a cityscape from a really wide shot.
Another thing that Phil pointed out is that the city scape isn't complete without roads. Fairly obvious thing which I didn't consider before!
So I examined ways to create roads in Houdini and one obvious way would be to take a curve as an input and extruding them to make a road. One drawback of this approach is that it's a lot of work. I wouldn't call it generative if you are drawing curves to begin with! So I looked at maps and getting map data into Houdini using python.
I didn't find any useful XML data from google maps. I think they want people to buy google earth pro to access that data. Open street maps.org gives away data of entire database for free! Even though it doesn't have all the buildings information about a small town like college station, it gave me detailed information about the roads. So right now I can download map data of college station which is 1mb file size and process and generate it in about 5 seconds. This is a snapshot of the geometry of College Station that I created.
It would be interesting to generate bigger cities or even states and how fast I can do it!
Right now I have all the roads and building blocks which are just cuboids.
I am confused whether to add more details to create higher fidelity buildings or make it more chance based art by randomly populating buildings in the map. Or both? :) I have 30 hours to figure out.
Subscribe to:
Posts (Atom)





