|
|||||||
![]() |
|
|
Thread Tools |
|
|||
|
Ok, here's my entry, because I've run out of time:
Code:
Cutting out the unused code for the final image gives about 36-38 lines I think. It doesn't do anything with the current scene, so delete everything and go from blank. Output: ![]() I've got an animation of it building which is quite cool. You can do one yourself, but I'll try and get this uploaded tonight. I didn't have time to make this into a full scene, but here's a short gasket (24 lines of code to produce a single one, a few more for a nice run): Code:
![]() Maybe it'll be useful to someone. Good luck all!
............................................
Click here for options to turn sigs off. |
|||
|
#41
|
|||
|
|
|
||||
|
Update for my script:
![]() 1200x600 so I won't hotlink it directly. The script no longer uses the lorenz attractor but a different equation with a much longer name that I can't recall right now. I got some tweaks to do on materials and some optimizations and code cleanup/commenting and I'll be done. Generates on my computer with fading technology in 233 seconds.
............................................
Rocket Scientists and Squirrel Preserves... Some Scripts I've Written |
||||
|
#42
|
|
|||
|
Very nice! I look forward to seeing your script, I couldn't get many of the attractors to work well.
............................................
Click here for options to turn sigs off. |
|||
|
#43
|
|
|||
|
See? This is great!
I must say, while both IanC, forTe and kakapo have produced results *well* beyond of what I was expecting so soon - RobertT has blown me away with his imagery (my personal opinion). And yet, as code is so important to this contest, the winner may be well be decided on technical merit by other coders! Nice to also see some fractal volumes and surfaces too. Just to show that there are lots of approaches to the problem. Really, I couldn't be happier with your entries and enthusiasm guys! My only problem is thinking up a theme for next week that will be as stimulating as this one's! :-) Koba EDIT: I would love to enter but the huge Blender project I'm currently working on takes priority. If I did enter, my approach would be to use the Mandlebrot fractal equation (simple) and create a fine grid of individual verts with a Halo material whose colour would be defined by the number of iterations to escape to infinity (if I remember correctly!). If I get a chance, I may have a go tomorrow.
............................................
[Sanity is not statistical] Last edited by Koba; 15-Jul-07 at 20:34. |
|||
|
#44
|
|
|||
|
hmm, ok... pretty.. but why do i get this feeling it's not really competition of programming. but instead a competition of implementing somebody elses code...
![]() robertt is the only one here showing some originality. .b |
|||
|
#45
|
|
||||
|
RobertT's script looks incredible, I wonder, I understand posting short code that does interesting things, but many could use python scripts that could be highly useful and save time, I personally would like to see a comprehensive and powerful procedural building generator for instance to really save time for large city scenes, look online for papers on modeling of procedural buildings. And low poly versions of them for use in the Blender GE.
I also like the swirly pattern generator and the script that makes that triangle thing (forgot the name of that thing)
............................................
Soar, soar through the skies upon the wings of anything that can fly, to bring your dreams to reality, to bring success upon you, to bring you a good life for you and your family. Not everyone can get to the point where you constantly draw 4 aces in a deck of cards, but everyone is able to taste what success feels like and what that can mean for them. |
||||
|
#46
|
|
|||
|
Shame you feel that way, basse.
I've taken three equations and built it from there myself, would you say ODE was implementing another persons code because it used the laws of motion?
............................................
Click here for options to turn sigs off. |
|||
|
#47
|
|
|||
|
ianc:
i dont know. maybe i'm wrong here... could very well be, i'm not real programmer. but i was just hoping to see other stuff than fractals and attractors, that's all.. those i've seen so many times... .b |
|||
|
#48
|
|
||||
|
@basse: This was just a first go around to get interest started in the competition. I believe in the future we'll have significantly harder more useful challenges to implement new and more useful code.
@Cyborg Dragon: At one point about a year ago I was implementing a procedural building modelling/ city generation tool. I never published anything related to it because it just was too restrictive. I have since picked it up again and started working on it, but progress is a little slower this time because I am not quite as motivated, I'm trying to think through the design a little more, I'm designing a UI that uses custom elements, and I have so many ideas relating to it, that its getting hard to organize them and make the code efficient. For a slight bit of information on the old script you can go here (only ever got that first page up, everything else is a 404) and here for a screenshot. It wound up just being another greebling script, but it was based on vertex groups, meaning that each vertex group in an object could have its own heights assigned to it and buildings took on the footprints of whatever face they were created from(this was the city aspect of it). There really was not much in the way of building generation outside of a couple of roof types (no windows/doors/facades/decorations).
............................................
Rocket Scientists and Squirrel Preserves... Some Scripts I've Written |
||||
|
#49
|
|
|||
|
forTe: Have you heard of "The Beast"? It was a fantastic script that started as a cityblock generator I think. It also ended up going fur/feathers with alpha maps pretty well. Sadly development stopped. This was quite a while ago but I would look into it if you haven't already.
basse: Future challenges will have more interesting themes much more open to orginality. Many fractals are standard mathematical objects - perhaps I should have made the rules such that it must be fractal like without being a mathematical fractal object. As you said RobertT succeeds in this regard. However, the rules stand as they are so everyone is still on equal footing. Koba
............................................
[Sanity is not statistical] |
|||
|
#50
|
|
||||
|
forTe: I think if the building generation was powerful, offered good customization options, and operated on any shape that could become something good, something that could potentially be useful for generating game content quickly and bringing together large city scenes. I don't have the python knowledge to do this, but it could really save time for anything from commercial productions to games.
............................................
Soar, soar through the skies upon the wings of anything that can fly, to bring your dreams to reality, to bring success upon you, to bring you a good life for you and your family. Not everyone can get to the point where you constantly draw 4 aces in a deck of cards, but everyone is able to taste what success feels like and what that can mean for them. |
||||
|
#51
|
|
|||
|
Quote:
I look forward to future challenges, now that I have more of an idea about what is expected. Edit - I played a little and came up with a pun & slightly more interesting image (imo) I thought this maybe looked like a little pencil sketch of two bees, so this is called "2B or not 2B" [edit]grrr, imageshack![/edit] ![]() final code before I go to bed: Code:
............................................
Click here for options to turn sigs off. Last edited by IanC; 15-Jul-07 at 23:46. |
|||
|
#52
|
|
||||
|
Alright actually have some code to post this time. I'm gonna keep playing with it some, maybe add back the Lorenz attractor as well if I feel like it.
Result: ![]() Code: Code:
@Koba: Yes, I looked at Beast a while ago, but haven't done so recently. I may dig it up and take a once over the code. Maybe something can give me the kick in the pants I need to start getting some dirty work done on that project.
............................................
Rocket Scientists and Squirrel Preserves... Some Scripts I've Written Last edited by forTe; 16-Jul-07 at 00:47. |
||||
|
#53
|
|
||||
|
Wow, I love those images, great work everybody!
And basse, I don't think the implementation of mathematical equations is trivial, it would be quite a challenge (at least for me and my state of Blender Python knowledge). It's very helpful to have those scripts to look at and learn from. |
||||
|
#54
|
|
||||
|
well i think this python challenge thing would be a good idea
like a weekend challenge or weekly or whatever
............................................
|
||||
|
#55
|
|
|||
|
IanC:
I really love your new image! Much more artsy but still very much on theme. Your new idea is wonderful but as a suggestion, more attractors may look even better. If you could fold the wings by varying amounts and place many more in the scene randomly you could have a swarm of "attractors". If not, you still have a great final entry! Koba
............................................
[Sanity is not statistical] |
|||
|
#56
|
|
||||
|
Great work from everyone, but I must say Robert's has got to be the best one! I thought it would be interesting to see what it would look like to decrease the size of the camera lense and render out the mesh generated by Robert's script:
![]() (Click to view bigger version) Hopefully I'll brush up my Blender-Python skills and enter in the next challenge.
............................................
My Blog/website :: http://anecdote.org.uk |
||||
|
#57
|
|
||||
|
Nice.... I've always loved Fractals. Got a ton of books on them at home, including Mandelbrot's seminal work
Of course, as stated by some, fractals are 'easy' as they consist of known mathematical formulas....but even here RobertT surprised a lot of us with here more 'artistic' take. For those wanting python with more meat, we should remember that it is a 'short code' contest... To get around this, we could try to do a more evolutionary approach, using the previously selected pice of Python code and building upon it. Challenge1: Code a random rock (smooth, wheathered, jagged,...) generator Chalenge 2: Using the winner of challenge one, extend it to genereate either a plane or a cloud of random rocks (no overlap, single size with random variation ,..) Challenge 3: using the winner of challenge 2, build a moving asteroid cloud (3d) or using the 2D element drop the rocks on a fractal terrain, each rock sinking a random amount in the terrain Challenge 4:.... Just an example of a possible evolutionary approach. This could also be used for city-building (generic building, generic streetplan, placement of buildigs on streetplan, moving agents (cars, pedestrians,..)...) The difficulty here would probably be getting acquainted with the ever inceasing complexity of the evolving Python code wich would probably unfairly advantage each iteration's 'winner' .. Ah well, just an idea.
............................................
I don\'t need no steenkin\' sig |
||||
|
#58
|
|
||||
|
hmm, a nice thread, and nice pictures. this could also result in some nice scripts for environment generation.
|
||||
|
#59
|
|
||||
|
Hey, this is nice!
A lot of learning material generated in a short time! This is a great idea! I'm no good at maths, but maybe one day I'll take the challenge! Dani |
||||
|
#60
|
![]() |
| Bookmarks |
| Thread Tools | |
|
|