About Store Forum Documentation Contact

Post Reply 
Can't access terrain vertices
Author Message
DoubleM Offline

Post: #1
Can't access terrain vertices
Hello everyone

I'm not sure whether this is the right section for this question but I hope so.
I would like to blend between materials as allready discussed here.

But in the part where the blend values are set I get an access violation error.
World.areaActive(World.worldToAreaPos(Cam.at.xz()))->getData()->mshg.meshes[i].parts[j].base.vtx.material(0) = Color(255, 255, 255); // for testing purposes only, i & j because i loop through all meshes and parts
Further I found out that
allways returns 0. So there seem to be no vertices?!
How else should I access the vertices?
Anyone got an idea what I'm doing wrong?

10-28-2011 08:36 PM
Find all posts by this user Quote this message in a reply
Esenthel Offline

Post: #2
RE: Can't access terrain vertices
terrain has only meshrender
10-29-2011 02:28 PM
Find all posts by this user Quote this message in a reply
Post Reply