Trees!
Trees!
How do you guys make trees?
I know many people use giles and 3D studio max but what about us people who dont have the expensive software? Ofcourse, if you want to make forests our of it you also need some low poly stuff.
I was trying to use pngs with 3ds models, but the transparency doesnt show up. Do I need to manually texture within irrlicht to do this?
Well thanks for any suggestions you give me. I shall continue the hunt
I know many people use giles and 3D studio max but what about us people who dont have the expensive software? Ofcourse, if you want to make forests our of it you also need some low poly stuff.
I was trying to use pngs with 3ds models, but the transparency doesnt show up. Do I need to manually texture within irrlicht to do this?
Well thanks for any suggestions you give me. I shall continue the hunt
I have Gile[s] and needed some time to get the trees display halfway decent. The problem was that it does not display it properly if you lightmapped them. Somebody said that you could use vertexcolors instead, but it doesn't get exported. So leave the damn tree unlighted and use dynamic lights with it. However, as its included in the export file i can't tell the right combination of format and irrlicht texture mode. But it should be relatively easy to figure it out, but if you lightmap the tree it will never work.
Hi krama757,
last time I've used 'Arbaro' .
Its free. Only thing you have to experiment with the leaves. If you let it generate usual leaves you'll end up with a very nice tree, only drawback - it's nearly useless if you want to have more than it in real-time...looots of polys.
Make the leaves very big planes, let it generate only very few, export it and re-texture it in your favourite 3d-modeller (I used Blender).
As textures I tried .tga with some leaves and the rest transparent. Loaded and showed in Irrlicht quite well.
Oh - and used between 500 and 800 polys for each tree for getting an reasonable look.
If that's still too many for you I'd recommend 2 simple crossed planes with one tree mapped onto it or one plane as billboard.
This way is not as easy as with other Apps, but at least free
Hope it helps you,
Alex
last time I've used 'Arbaro' .
Its free. Only thing you have to experiment with the leaves. If you let it generate usual leaves you'll end up with a very nice tree, only drawback - it's nearly useless if you want to have more than it in real-time...looots of polys.
Make the leaves very big planes, let it generate only very few, export it and re-texture it in your favourite 3d-modeller (I used Blender).
As textures I tried .tga with some leaves and the rest transparent. Loaded and showed in Irrlicht quite well.
Oh - and used between 500 and 800 polys for each tree for getting an reasonable look.
If that's still too many for you I'd recommend 2 simple crossed planes with one tree mapped onto it or one plane as billboard.
This way is not as easy as with other Apps, but at least free
Hope it helps you,
Alex
-
- Posts: 340
- Joined: Wed Sep 28, 2005 4:38 pm
- Location: Canada, Eh!
You could use makeColorKeyTexture() to make a certain color invisible on the leave texture in Irrlicht.
Royal Hamilton Light Infantry - http://www.rhli.ca
Paris/Port Dover Pipes'n Drums - http://www.parisdover.ca
Paris/Port Dover Pipes'n Drums - http://www.parisdover.ca
has anyone here got a workflow for the exported x files from the old freeware treemagik? if so enlighten us please
I'm loading a couple of low poly test trees using .3DS format. Leaf texture is TGA with alpha channel. Then I manually set the material
treenode->setMaterialFlag(EMF_BACK_FACE_CULLING, false);
treenode->setMaterialFlag(EMF_LIGHTING, false);
treenode->setMaterialType(EMT_TRANSPARENT_ALPHA_CHANNEL_REF);
Works with both D3D9 and OpenGL at the moment.
treenode->setMaterialFlag(EMF_BACK_FACE_CULLING, false);
treenode->setMaterialFlag(EMF_LIGHTING, false);
treenode->setMaterialType(EMT_TRANSPARENT_ALPHA_CHANNEL_REF);
Works with both D3D9 and OpenGL at the moment.
Hi
Neutral, i0ve some problem with alpga channell...how define it??
I'tried with a gif but doesn't work properly
I'tried with a gif but doesn't work properly
"We work in the dark, we do what we can, we give what we have, Our doubt is our passion and our passion is our task. The rest: is art of Madness" (H.James)
He fixed part of it, but it's still there.krama757 wrote:Milkshape eh, I have to try that.
By the way, didnt niko fix the openGL transparency bug in the latest release? I saw some thread on the forum talking about it.
If it exists in the real world, it can be created in 3d
Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
Sys specs:
AMD 3700+ 64 processor
1.0 gb ram
e-Geforce 6600 graphics 256 mb onboard ram
r3i
GIF I think doesn't support alpha channels. You need to use an image format that supports RGBA (8 bits for red, green, blue & 8 bits for the alpha channel) that Irrlicht can also load.
I'm using TGA (Quake3 also used this).
How you create the alpha channel depends on your image editor. I'm using a very old copy of PaintShop Pro, but the GIMP will also allow you to make images with alpha channels.
GIF I think doesn't support alpha channels. You need to use an image format that supports RGBA (8 bits for red, green, blue & 8 bits for the alpha channel) that Irrlicht can also load.
I'm using TGA (Quake3 also used this).
How you create the alpha channel depends on your image editor. I'm using a very old copy of PaintShop Pro, but the GIMP will also allow you to make images with alpha channels.