sidebar features
sidebar content

Go Back   Blender Artists Forums > General Forums > Python & Plugins

Reply
 
Thread Tools
Jimmy Haze's Avatar
Jimmy Haze Jimmy Haze is offline
Member
 
Join Date: Aug 2003
Location: Amsterdam, the Netherlands
Posts: 105
A.N.T. (Another Noise Tool) Landscape creator.



Download A.N.T. Landscape here:

http://warezhouze.1g.fi/Here/Blender3d/JH/

Thank's to XJazz for hosting.

v.1.04:

_ New G.U.I.

_ New noise types like: Double_Terrain, StatsByAlt_Terrain, slickRock,
ditorted_heteroTerrain, vlNoise_turbulence, and many more.

_ New fractalized Effect functions.
Effect types such as: gradient, waves and bumps, dome, piramide, squares,
grid, shattered rocks, lunar, and many more.
Bias types: Sin, Cos, Tri, Saw, and Default(no bias).
For example the 'Rings' effect with 'Sin Bias' makes 'Rings' and 'Default Bias' makes 'Dome'.
_ The Effect 'Mix factor' Slider gives control over how much of the Effect is vissible
(-1.0=noise, 0.0=average, 1.0=effect)
this slider controls also the 'Warp amount' if mix type 'Warp' is selected.

_ Image effect: mix image with noise

_ IPOCurve Filter: use Ipo curve to filter terrain height.
I know it's a bit strange to use animation curves for landscape modelling,
the downside of this method is that you have this 'Empty' moving around in your scene,
so put it on another layer and 'Pin' the Ipo block so that it stays visible.
Usage:
Add one 'Empty' Object to your scene, now add one Loc Key at Frame 1,
go to Frame 101 (UpArrow ten times),
move the 'Empty' +100 units in X+ direction and add another Loc Key,
open the Ipo Curve Editor Window, rename this IpoBlock if you want,
Copie the first curve to buffer and Paste it in the empty slots (from top to bottom),
now you can edit the curves freely.
(use the 'Pin' option to keep the curves visible while other objects are selected)
Set the CurveLength and CurveHeight Button value's
according to length and height of the selected curve.
A curve filter is very versatile when it comes to 'height' filtering.

_ PreView in UV/Image Editor Window:
The preview image is now rendered as Blender.Image and
will be saved to file directory as 'ANTview_size.tga'
you have to select 'ANTview_size.tga' in the UV/Image Editor Window
now it's posible to render and save a large HeightMap image
(you can also create nice texture images when the VertCol gradient is enabled),
! If you Change the preview image Size a New Blender.Image object is created.
(one for size 256, one for size 512 one for.....) !

_ VertexColours: use any image as colour gradient.
This function actualy uses one 'row' of pixels to produce the color gradient,
Make one or more custom gradient images with the Gimp or any other graphics software,
the gradients must go from left to right (left is bottom and right is top).
you only need one row of pixels so you can put 10 gradients in a 256*10 image.
Set the 'VCol Paint' option in the Materials panel !

_ Mesh Tiles: Create large scale terrains.

_ Vertices Selection: select flat areas.

_ Keyboard HotKeys:
SPACE = Update mesh.
R = Randomise.
V = Redraw preview.

_ and more...

IpoCurve filter and tiles:


___________________
old v.1.03:



Last edited by Jimmy Haze; 20-Sep-06 at 21:36. Reason: Update v.1.04 May 2006
#1   Old 05-Jan-05, 04:16   
Reply With Quote


Fligh's Avatar
Fligh Fligh is offline
Moderator
 
Join Date: Dec 2002
Location: US
Posts: 9,916
A(jimmy)MAZING.... ! Both of them. Thanks!!!

%<
............................................
BLENDER - You'll get it when you get it.
#2   Old 05-Jan-05, 05:27   
Reply With Quote
S68's Avatar
S68 S68 is offline
Member
 
Join Date: Mar 2002
Location: Florence - Italy
Posts: 5,663
Cool

I'll compare with mine

Stefano
............................................
** You cannot make foolproof stuff - fools are too smart. **
#3   Old 05-Jan-05, 07:28   
Reply With Quote
piotrekk piotrekk is offline
Member
 
Join Date: Feb 2004
Location: Warsaw, Poland
Posts: 53
good work, thanks =)
............................................
Piotr Kosmala / illustrator. designer
#4   Old 05-Jan-05, 08:04   
Reply With Quote
UglyMike's Avatar
UglyMike UglyMike is offline
Member
 
Join Date: Mar 2002
Location: Brussels
Posts: 516
I'm at work now... (though not working too hard apparently...)
Any chance of some sample outputs?
#5   Old 05-Jan-05, 08:14   
Reply With Quote
harkyman's Avatar
harkyman harkyman is offline
Member
 
Join Date: Mar 2002
Location: The House of Stone and Water
Posts: 3,191
Just tried it out. Great script! Nice GUI work, too.
............................................
Roland -- Check out The Beast!
Are you ready to take the next step in Blender?
Animating with Blender: How to Create Short Animations from Start to Finish
#6   Old 05-Jan-05, 12:03   
Reply With Quote
Jimmy Haze's Avatar
Jimmy Haze Jimmy Haze is offline
Member
 
Join Date: Aug 2003
Location: Amsterdam, the Netherlands
Posts: 105
I'm looking forward to see some nice landsape renders.
#7   Old 09-Jan-05, 01:12   
Reply With Quote
pinhead66's Avatar
pinhead66 pinhead66 is offline
Member
 
Join Date: Oct 2003
Location: Belgium
Posts: 156
really nice script!!
#8   Old 11-Jan-05, 19:39   
Reply With Quote
Gabio's Avatar
Gabio Gabio is offline
Moderator
 
Join Date: Nov 2003
Location: Canada - Québec - Sherbrooke
Posts: 2,195
just did a normal map with it.:

Really versatil tool.
Something to keep near.
............................................
Venez nous voir au Québec, on est pas sorteux!
#9   Old 12-Jan-05, 02:40   
Reply With Quote
Bijin's Avatar
Bijin Bijin is offline
Member
 
Join Date: Dec 2004
Location: Biosphere 3
Posts: 640
Thanks for this very nice script. Looking forward to updates (as if it isn't good enough right now )
............................................
A fanatic is one who can't change his mind and won't change the subject. -- Winston Churchill
#10   Old 12-Jan-05, 19:12   
Reply With Quote
SHABA1 SHABA1 is offline
Member
 
Join Date: Mar 2002
Location: California
Posts: 1,437
I know this does not apply to you Jimmy Haze. But this always happens with new scripts. I am wondering if anyone has and idea why.

With this script I copies and paste the code into a *.py file then copied that into the .scripts directory under the blender directory. When I run blender I go to the scripts window, click update menu and then go to (in this case) the ADD menu but A.N.T Landscape is not there on that menu.

Now if I go to a text window and load the program code into it and press ALT-P the program runs fine.

This has happened with other scripts and while its not a big deal. I just get irked when things do not work as they are suppose to.

Anyone have any idea why?

Here is my system

Blender Version 2.36
Windows ME and Windows 98 (have both of these on different machines but the same thing happpens with either OS)
Python 2.3.4

Oh BTW Jimmy. Some docs might be nice as well as a tutorial. But from reading the first screen of the source code I think I can figure it out. If I get some time I might just write the tutorial and post it.

Also what is the difference between this and A.N.T. 0.3
#11   Old 12-Jan-05, 20:19   
Reply With Quote
Bijin's Avatar
Bijin Bijin is offline
Member
 
Join Date: Dec 2004
Location: Biosphere 3
Posts: 640
Not sure if this is helpful, but...

You might want to make sure your text editor is not saving the file as, for example, "ant.py.txt" by appending .txt to whatever you specify in the save dialog.

Open the folder containing your blender scripts and make sure what you have saved does have the .py extension and not .py.somethingelse.
............................................
A fanatic is one who can't change his mind and won't change the subject. -- Winston Churchill
#12   Old 12-Jan-05, 21:13   
Reply With Quote
SHABA1 SHABA1 is offline
Member
 
Join Date: Mar 2002
Location: California
Posts: 1,437
Quote:
Originally Posted by Bijin
Not sure if this is helpful, but...

You might want to make sure your text editor is not saving the file as, for example, "ant.py.txt" by appending .txt to whatever you specify in the save dialog.

Open the folder containing your blender scripts and make sure what you have saved does have the .py extension and not .py.somethingelse.
Yep I always do this. I make sure that the file weather is it copied and paste or downloaded from a link has a .py extension and that there are no html tags in it.
#13   Old 12-Jan-05, 21:43   
Reply With Quote
Grizzly69's Avatar
Grizzly69 Grizzly69 is offline
Member
 
Join Date: Jul 2002
Location: Eudora, Kansas
Posts: 250
Just tried the script. LOVE IT!

This is really cool, Thanks for making it.
............................................
This space is intentionally left blank.

Except, of course, for this text.
#14   Old 13-Jan-05, 05:31   
Reply With Quote
Bijin's Avatar
Bijin Bijin is offline
Member
 
Join Date: Dec 2004
Location: Biosphere 3
Posts: 640
Finally made some island shapes I can use, thanks to this script

Wasn't rendered with Blender but I thought I'd share the result.

BTW, creative use of acronyms is especially appreciated - reminds me of playing an old computer game or something 8)
............................................
A fanatic is one who can't change his mind and won't change the subject. -- Winston Churchill
#15   Old 13-Jan-05, 17:26   
Reply With Quote
marf's Avatar
marf marf is offline
Member
 
Join Date: Jul 2002
Location: wicklow ireland
Posts: 229
SHABA1, it has nothing to do with file extensions (.py,,.txt) at the top of the script there is some text needed to tell blender which menu to put it in,

go to your scripts folder and open one of the scripts that does appear in the blender menu you want(eg, misc, mesh etc) in a text editor. copy the first few lines with the script name and info onto the top of the script that doesnt work, change relevant info,save. now check blender.
............................................
\"Half of the people can be part right all of the time, Some of the people can be all right part of the time. But all the people can\'t be alright all the time\"
#16   Old 16-Jan-05, 23:42   
Reply With Quote
SHABA1 SHABA1 is offline
Member
 
Join Date: Mar 2002
Location: California
Posts: 1,437
Quote:
Originally Posted by marf
SHABA1, it has nothing to do with file extensions (.py,,.txt) at the top of the script there is some text needed to tell blender which menu to put it in,

go to your scripts folder and open one of the scripts that does appear in the blender menu you want(eg, misc, mesh etc) in a text editor. copy the first few lines with the script name and info onto the top of the script that doesnt work, change relevant info,save. now check blender.
You mean this text:
Code:
#!BPY """ Name: 'A.N.T.Landscape' Blender: 234 Group: 'Add' Tip: 'Create landscape mesh.' """
A.N.T already has this text and so do the other scripts that I have tried to add to the scripts menu. Yes I do press the update menu item and yes they are all in the scripts folder. For some reason they just do not show up on the sub-menus in the scripts window even though they have the proper header.
#17   Old 17-Jan-05, 17:13   
Reply With Quote
Bijin's Avatar
Bijin Bijin is offline
Member
 
Join Date: Dec 2004
Location: Biosphere 3
Posts: 640
I had some weird thing like this happen to me when I installed a bunch of I/O scripts. All of the sudden only about 3 exporter options showed up under the export menu.

I reinstalled Blender and all was back to normal. You might try that. A.N.T. shows up just fine here.
............................................
A fanatic is one who can't change his mind and won't change the subject. -- Winston Churchill
#18   Old 17-Jan-05, 21:41   
Reply With Quote
Jimmy Haze's Avatar
Jimmy Haze Jimmy Haze is offline
Member
 
Join Date: Aug 2003
Location: Amsterdam, the Netherlands
Posts: 105
Quote:
Originally Posted by SHABA1
I know this does not apply to you Jimmy Haze. But this always happens with new scripts. I am wondering if anyone has and idea why.

With this script I copies and paste the code into a *.py file then copied that into the .scripts directory under the blender directory. When I run blender I go to the scripts window, click update menu and then go to (in this case) the ADD menu but A.N.T Landscape is not there on that menu.

Now if I go to a text window and load the program code into it and press ALT-P the program runs fine.

This has happened with other scripts and while its not a big deal. I just get irked when things do not work as they are suppose to.

Anyone have any idea why?

Here is my system

Blender Version 2.36
Windows ME and Windows 98 (have both of these on different machines but the same thing happpens with either OS)
Python 2.3.4

Oh BTW Jimmy. Some docs might be nice as well as a tutorial. But from reading the first screen of the source code I think I can figure it out. If I get some time I might just write the tutorial and post it.

Also what is the difference between this and A.N.T. 0.3
First about copy and paste (downloading a script from screen),
i never had any problems with this,
the way i do this:

- first copy the code from screen,
- then start Blender,
- open a text window and create 'New' empty text field,
- paste this code in text window ( Ctrl , Shift, V ),
- then you can save the text as .py
- and / or save the .Blend file

Soon i will update my Landscape script again, and i will try to add some info about how to use it, but actualy this script is very intuitive,
just hit a few buttons (Random), change some value's
and you will see the result.
#19   Old 21-Jan-05, 02:13   
Reply With Quote
Jimmy Haze's Avatar
Jimmy Haze Jimmy Haze is offline
Member
 
Join Date: Aug 2003
Location: Amsterdam, the Netherlands
Posts: 105
Thank's for all your positive reactions

Soon i will come with another update.
#20   Old 21-Jan-05, 02:20   
Reply With Quote
Reply

Bookmarks

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
landscape modeling jenma26 Modeling 14 14-Jun-06 02:30
How to knife out the road on a 150000 triangles landscape ? greg57 Basics & Interface 9 29-Mar-06 18:07
Landscape Mesh has different shape when rendered RockoRobotics Basics & Interface 6 01-Feb-06 22:39
Making Landscape Textures esuvs Basics & Interface 3 17-Aug-03 07:27
high-res landscape stephen2002 Finished Projects 24 30-Jan-03 13:48


All times are GMT. The time now is 13:59.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2010, Jelsoft Enterprises Ltd.
Logo and website design copyright © 2006 by froodee design bureau. All rights reserved.
Other Blender Sites
new icon Blender Homepage »
The official Blender homepage
new icon BlenderNation »
Fresh Blender News, Every Day
new icon Blenderart Magazine »
Blender articles, tutorials and images.
Blender Headlines
Featured Artwork
Short animation: Barrel by Phlopper
Woolly mammoth by sebastian_k
Photorealistic classic furniture by eMirage
Social BlenderArtists