zckczy
04-05-2010 07:17:48
Hello:
I want to use PagedGeometry with MFC, I creat a mesh as the ground in my program,and I rewrite the HeightFunction.But when I call the grass->update function,the program is dead . Who can help me solove this problem?Thank you!
I create a ray then query the mesh and get the information about it, I use the hit point's Y coordinate as the heitght.
If there have some problems that i use a mesh as the ground and the method I get the height?
My english is poor, so if I don't expressed clearly,I am sorry.
I want to use PagedGeometry with MFC, I creat a mesh as the ground in my program,and I rewrite the HeightFunction.But when I call the grass->update function,the program is dead . Who can help me solove this problem?Thank you!
I create a ray then query the mesh and get the information about it, I use the hit point's Y coordinate as the heitght.
If there have some problems that i use a mesh as the ground and the method I get the height?
My english is poor, so if I don't expressed clearly,I am sorry.