Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: Problem with creating terrain from heightmap  (Read 534 times)
Coffei
Community Member
*
Posts: 12


« on: October 26, 2007, 11:12:59 AM »

When i try to create terrain from heightmap (in C#) it throw out the warning message: "AccessViolationException was unhandled".. i have downloaded some source codes from Zaknafein (Windy Trees etc.) and the error appeared again so my code is ok.. PLS HELP..!!
Logged
jviper
Community Member
*
Posts: 1382

Discipline in training


« Reply #1 on: October 26, 2007, 12:00:51 PM »

His source code was problebly missing the TVLandscape = Scene.CreateLandscape() because of the time it was written. TVLandScape = Scene.CreateLandScape must be called before TVLandScape can be used.
Logged

JAbstract.....Don't just imagine, make it happen!
Coffei
Community Member
*
Posts: 12


« Reply #2 on: October 27, 2007, 01:22:55 PM »

ok.. so i repair Zak's code and it's running corectly, but when i in my projects try to generate terrain from heightmap it gets stuck and when i shutdown the proces the Visual Studio again throw out the error message i have spoken about above....
Logged
Pages: [1]
  Print  
 
Jump to:  

Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks