Grass Node v0.3.x
Hmm I should edit that. I've moved the code here:
http://irrlicht-plugins.googlecode.com/ ... SceneNode/
I'll see if it's still working with the latest version of Irrlicht, and update the code tonight if not.
edit: oh yeah, i updated it for 1.3 a while back so it still works.
http://irrlicht-plugins.googlecode.com/ ... SceneNode/
I'll see if it's still working with the latest version of Irrlicht, and update the code tonight if not.
edit: oh yeah, i updated it for 1.3 a while back so it still works.
the grass node is just a patch, it isn't tied to the terrain. the initial idea was to create them for a large seamless world as the user walks around using a tile manager, but I never got around to writing it (I don't know if I ever will).
The demo just uses a 10x10 grid of grass patches, they aren't scaled to fit the terrain or anything.. so in short, you'll need to change the demo if you want to support a larger terrain.
or did you try this?
The demo just uses a 10x10 grid of grass patches, they aren't scaled to fit the terrain or anything.. so in short, you'll need to change the demo if you want to support a larger terrain.
or did you try this?
first of all, I love your grass scene node and I think it will deserve more attention and documentation
so, here is my question.
your demo uses a 256x256 heightmap. scaled by 40, so -> 10240 units.
because of #define GRASS_PATCH_SIZE 1024
10 patches cover the entire terrain.
So, I'm using a 128x128 heightmap scaled by 8 -> 1024. A single patch should cover all of it, huh? it covers just 1/4. the seem happens with 256x256 terrain scaled by 4. Well, no problem at all doubling pathces but I'd like to know just why or if I'm wrong with something
Another thing.. when scaling the 256 terrain by 2 (or 128 by 4) so the grass should cover it entirely, the program crashes at grass node creation.
thankyou in advance
so, here is my question.
your demo uses a 256x256 heightmap. scaled by 40, so -> 10240 units.
because of #define GRASS_PATCH_SIZE 1024
10 patches cover the entire terrain.
So, I'm using a 128x128 heightmap scaled by 8 -> 1024. A single patch should cover all of it, huh? it covers just 1/4. the seem happens with 256x256 terrain scaled by 4. Well, no problem at all doubling pathces but I'd like to know just why or if I'm wrong with something
Another thing.. when scaling the 256 terrain by 2 (or 128 by 4) so the grass should cover it entirely, the program crashes at grass node creation.
thankyou in advance
-
- Posts: 331
- Joined: Sat Sep 02, 2006 4:11 am
- Location: Michigan
- Contact:
-
- Posts: 7
- Joined: Tue Oct 30, 2007 8:55 pm
Excuse me
I have a problem:
Made a new thread in beginner but since its related to your (great I might add) script, I thought you might want to know and maybe even help me solve this one. Thnx
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=24561
Made a new thread in beginner but since its related to your (great I might add) script, I thought you might want to know and maybe even help me solve this one. Thnx
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=24561
hi im thinking this will be a fantastic addition to my game engine. i am having some issues with your node though and thought maybe you could give me a hand.
you grass is not showing up! it compiled fine though...
details: http://irrlicht.sourceforge.net/phpBB2/ ... um.php?f=1
thanks if you can help, and thanks for the scene node
you grass is not showing up! it compiled fine though...
details: http://irrlicht.sourceforge.net/phpBB2/ ... um.php?f=1
thanks if you can help, and thanks for the scene node
Confined is a 3D Action RPG Game in development. http://confined.coderzilla.net
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
http://irrlicht.sourceforge.net/phpBB2/ ... hp?t=29130
-
- Posts: 208
- Joined: Sun Apr 02, 2006 9:20 pm
License
Hi bitplane great work on this node it looks really terrific, i am thinking about integrating it into a terrain node i am working on to release under an Irrlicht type license. I have checked your archives and posts but can't find and license information for your grass module and the wind generator code.
how are you licensing this?
how are you licensing this?
Dude, trust me, this one is Irrlicht license. Bitplane hates restrictive licenses.
ShadowMapping for Irrlicht!: Get it here
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
Need help? Come on the IRC!: #irrlicht on irc://irc.freenode.net
-
- Posts: 208
- Joined: Sun Apr 02, 2006 9:20 pm