TerraEd and Blitzgrass
Blitz3D Forums/Blitz3D Beginners Area/TerraEd and Blitzgrass
| ||
I have tried for hours to get these two working together but I am failing. The grass is there and I can see it but it is placed far away from the terrain. I understand TerraEd places the world's center pivot at 0,0,0 and I can't seem to find Blitzgrass's pivot. Lil' help here please. |
| ||
Hi, are you using: GR_AddGRass(Px#, Py#, Pz#, GR_style) or GR_LoadColorMap(nt$,terrainPH,TerscaleTL#) in the second one you have to have a valid blitz terrain (i donīt know about TerraEd terrains). In the first case (GR_AddGrass) you have to have a way to determine the height ( Y# ) of the terrain to correctly place the grass. Juan |
| ||
Thanks, I am using GR_LoadColorMap. |
| ||
you could create a new "GR_LoadColorMap" based on the original and modifying the way that the height is calculated. If TerraEd terrains are meshes you could try LinePick to obtain the Y# component of the terrain at specific x,z Juan |