kulesz
Member
|
|
05-29-2011 01:00 PM |
|
Demi
Member
|
RE: Heightmap problem
Try using smooth function with speed and size at minimum and soft at max. Not guaranteed to work but that was what I did with a mosaic.
You have to run down the seam.
(This post was last modified: 05-29-2011 02:14 PM by Demi.)
|
|
05-29-2011 02:13 PM |
|
kulesz
Member
|
RE: Heightmap problem
The problem is, that theoretically they are seamless. Vertexes on left side of one heightmap are exactly the same are the ones on the right side of second heightmap - there are no gaps etc. Just this shadow/seam effect on the texture is causing a problem.
|
|
05-29-2011 03:07 PM |
|
Esenthel
Administrator
|
RE: Heightmap problem
in the build method you need to pass heightmap neighbors pointers
|
|
05-31-2011 10:08 AM |
|
kulesz
Member
|
RE: Heightmap problem
Hmm, ok, and how to enable colisions with the generated terrain?
|
|
06-05-2011 05:52 PM |
|
Esenthel
Administrator
|
RE: Heightmap problem
create phys/actor from mesh
|
|
06-05-2011 07:49 PM |
|
kulesz
Member
|
RE: Heightmap problem
Well, I've tried to combine my app with the dynamic object creation tutorial.
After doing:
Code:
Mesh *m_temp;
PhysBody phys ;
Actor actor;
m_temp = new Mesh;
m_temp = create_mesh_from_heightmap();
phys .parts.New().createMesh(*m_temp); // create physical body from 'mesh'
actor.create(phys);
After hitting space, a new barrel appears, but it comes through my terrain :/
|
|
06-05-2011 08:04 PM |
|