TerraEd and BlitzTree (Alien Codec)

Blitz3D Forums/Blitz3D Programming/TerraEd and BlitzTree (Alien Codec)

Filax(Posted 2004) [#1]
Hi all :)

I have made little change in the Terraed Spread Window
Now TerraEd reconize the BlitzTree reference HeightMap
with green pixel :) when you import this map, TerraEd put
virtual objects (cube for the moment) at the same green
pixel (trees representation) position, it is possible now
to edit your map with TerraEd (positioning your objects
house etc) and use BlitzTree for make forrest ! i have made
some tests it work well i think this stuff very usefull for
Blitz Tree user :)


MRaven(Posted 2004) [#2]
Ahhh, you are a so damn good and fast coder. Please give me at least a chance for the upcoming Worldspin update. :)

No, seriously... grats on those great stuff.


TartanTangerine (was Indiepath)(Posted 2004) [#3]
Filax, You could use that green pixel to cast a shadow on the light map :)


Kornflex(Posted 2004) [#4]
Very nice Filax :)

Regards,


Filax(Posted 2004) [#5]
Maybe possible ? i think ?

MRaven: sorry :) business war :)


Kornflex(Posted 2004) [#6]
@MRaven, Wake up :) but we stay your WS 1.4 around 7 months now.. Update your website if you can too but it's almost 1 year he not have any update...

Regards,


cermit(Posted 2004) [#7]
Very good Filax ! This is very usefull feature :D


MRaven(Posted 2004) [#8]
Think I have to quit my real job. *g*


Kornflex(Posted 2004) [#9]
@MRaven don't :)

Regards,


Filax(Posted 2004) [#10]
If you want to try this fonctionality, you must

BE IN 32 BITS MODE !! AND USE 32 BITS BMP !!

Download the latest version on :
http://www.blitz3dfr.com/terraed_projet/TerraEd.zip




Kornflex(Posted 2004) [#11]
Woot TY filax, new version working well with BlitzTree :)

Regards,


Craig H. Nisbet(Posted 2004) [#12]
Why not seperate the maps altogether. You have a height map, a color map, and and detail map already. Why not just add some new map types like:

Treemap : this would be used to plase trees, like you've done already.

Roadmap : this would define an area that block the spread function, because you don't want trees on your roads.

I'm sure there are others that can be thought up.


Filax(Posted 2004) [#13]
try the demo please :) you can paste different object with
different heightmap with green pixel.


Craig H. Nisbet(Posted 2004) [#14]
I've got the latest download. What map does the green pixels go on?


Craig H. Nisbet(Posted 2004) [#15]
I can't find an image file with the green pixels you are refering to.


Kornflex(Posted 2004) [#16]
Make a copy of your reference HeightMap, and resize it's to 256*256 and put some green (0 255 0) dots on. Blitztree engine reading these map system and when he find a green dot, he put a Tree at this spot.

If TerraED have this new feature it's only for help PPL who has BlitzTree Engine for puting Building, etc.. Or not it's impossible to know where are your trees before to put your stuffs on your map (houses, etc...)

Regards,


Filax(Posted 2004) [#17]
Now you can choose this option to easily easily
your hown trees, or house :)


Craig H. Nisbet(Posted 2004) [#18]
What is the Blitz Tree engine?


IPete2(Posted 2004) [#19]
Craig -

If you don't have it - (I don't) then try this:

Get your height map into photoshop or equivalent
Make it 256*256
Place little green dots onto the height map (0,255,0)
Save it off as a BMP file
Select an object to place on your map
Load in as a BlitzTreeMap
The map will have the object, placed on the map where the green dots were

:)

Excellent.

IPete2.


Craig H. Nisbet(Posted 2004) [#20]
Oh, ok, I see. I still don't see why the green pixels need to be imbeded in the heightmap image, wouldn't that cause the height data to be be missing for those pixels?


IPete2(Posted 2004) [#21]
Craig -

You have to make a special bmp with green dots on it (use your height map as a reference makes life easier thats all) this bmp will only do this job of placing objects, it does not affect your original heightmap.

In the 2.0.6 version there is a place to load this special 256*256 version just for placing the object you have selected, I gues it is so you can place trees around buildings which you have already placed.

IPete2.


Filax(Posted 2004) [#22]
No craig i have made some test with a simple gray
background+ green plot, and it work too, the heightmap
is only a visual reference.

Regards


Craig H. Nisbet(Posted 2004) [#23]
Oh, it's not imported with the height map. Got it.


Filax(Posted 2004) [#24]
Important :

My ISP have blocked my site ;( 'Bandwidth Limit Exceeded'
i'm searching fuc... solution ...

If you want register TerraEd send me an email at :
blitz3d.fr@...


Daz(Posted 2004) [#25]
Hi all,

Just a few quick questions. It is really cool that TerraEd and BlitzTree are now integrated.

So, am I correct in assuming that you have the benefits of the functionality of both products in the same game? Specifically, can I use TerraEd and BlitzTree together so that the BlitzTree seasons effect, tree animation and night/day effects all work together?

I know I am being cheeky, but had anybody got a Blitz executable demonstrating both programs being used together?

My finaly question is about the new BlitzGrass product. Looking at the demo, it seems the grass is added via a bitmap layer - grass_colormap.bmp. Does this mean it will integrate easily with both TerraEd and BlitzTree?

Thanks in advance.

Daz.


Filax(Posted 2004) [#26]
Hi :)I have made the option for the trees before the grass
release, i think integrate this option for grass :) in a
future release.


Kornflex(Posted 2004) [#27]
@Daz : BlitzTree and BlitzGrass working with TerraED :)

Regards,


Daz(Posted 2004) [#28]
@Kornflex - I am impressed. Was it easy to integrated them all? Have you managed to utilise all the functionality of BlitzTree such as animated leaves, changes of seasons etc? What kind of fps are you getting with all three working together? Are you sick and tired of all my questions yet? ;P

Is there any chance you could please post just a small section of source code showing just how easy it is to load files from the three applications and how you update the screen? I have to admit I am a total beginner when it comes to 3d programming so any help would be highly appreciated.

Thanks.

Daz.


Kornflex(Posted 2004) [#29]
Hi Daz :) so if you wan to use TerraED + BlitzTree + BlitzGrass.

Edit the TerraED Player.bb
----------------------------------

Include "Inc_TerraEdLoader.bb"
Include "bt3d_include.bb"
Include "blitzgrass_include.bb"
...
Tree_Cam=camera
TREE_SEASON=1 <--------- Season *check in your Btree and Bgrass include for more informations :-D
...
Ter_LoadTerraMap("Demo.Ted")
BT_LoadTerraEDColorMap("tree.bmp","mytreelist.txt",Terra_Map,Terra_Scale,0) <---- For Trees
GR_LoadTerraEDColorMap("grass.bmp",Terra_Map,Terra_Scale) <---- For Grass
...
Repeat
...
Ter_UpdateTerra(camera)
UpdateQuads() <----- Don't forget this function for your Trees ! (animated leaves)
...


Regards,


Daz(Posted 2004) [#30]
Thanks you so much Kornflex. That is very much appreciated. I cannot believe all 3 interact with each other so simply.

Daz.


Kornflex(Posted 2004) [#31]
Np your welcome Daz, if you need more informations you can ask to Filax or Aliencodec. They will be happy to answer to you too :-D


Regards,


Craig H. Nisbet(Posted 2004) [#32]
Where do you get these "BlitzTree" and "Blitzgrass" include files?


Kornflex(Posted 2004) [#33]
Buying them at http://www.aliencodec.com

Regards,


Filax(Posted 2004) [#34]
Terraed 2.0.6 colormap editor (soon)

colormap generated from heightmap image ;)

You can add a texture for create detail on the colormap



the rendering with this color map




Lumivel(Posted 2004) [#35]
Filax, this one's for you...

*turns on "Kenny Rogers - You Are So Beautiful"*

YOU ROCK!


Filax(Posted 2004) [#36]
:) if your happy , i'm happy :)


Kozmi(Posted 2004) [#37]
@filax


Important :

My ISP have blocked my site ;( 'Bandwidth Limit Exceeded'
i'm searching fuc... solution ...



That would explain why I didn't recieve the attachments in your past 2 emails to me on the:

TerraED Player ParticleCandy.bb
TerraED Player ParticleCandy Weather.bb

I didn't recieve thoes attactments, And I didn't recieve these either:

Grass01.b3d
Grass01.png

I did manage to download TerraED ver. 2.0.6 though!

It shows the above attachments in my emails.. But they are greyed out so I can't click on them to recieve them!

Filax... Could you please try to resend them again so I might recieve them? I sure would appreciate it very much so!

Thank's man!


Boiled Sweets(Posted 2004) [#38]
These products are seriously cool but has anyone actually written a game using them that we could see?


Kornflex(Posted 2004) [#39]
I think Filax and some others ppl (like me) are working on a cool demos... Now we have some Majors libs are compatible with TerraED (BTree, BGrass, Particle Candy)

Regards,


wmaass(Posted 2004) [#40]
Filax 2.0.6 isn't ready yet is it?


cermit(Posted 2004) [#41]
Kornflex: I look forward to see some demos with this greate stuff ;)


Filax(Posted 2004) [#42]
wmaass :
No for the moment my friend, i'm working on :)