Search Home Members Contacts
About Us
Products
Downloads
Community
Support
Pages: [1]
  Print  
Author Topic: 3d terrain  (Read 1003 times)
danny.boy.1
Community Member
*
Posts: 26


« on: January 24, 2010, 07:51:45 AM »

Hello,
I am new on this forum, and new in using this engine.

Which method is best to draw terrain? I have list of
terrain points already defined.

I try to use add trinagle function but have some problem.

Thanks in advance,

Best regards,
Danijel Ivankovic
Logged
Mithrandir
Community Member
*
Posts: 325


« Reply #1 on: January 24, 2010, 10:49:10 AM »

Use TVLandscape.

If you have your height array already just create an empty landscape and use SetHeight, SetHeightArray or SetHeightArrayEx.

See http://wiki.truevision3d.com/tv3d65_doc/tvlandscape for some help. It is just community wiki so some articles might be missing but you get the idea.
« Last Edit: January 25, 2010, 04:04:27 PM by Mithrandir » Logged
danny.boy.1
Community Member
*
Posts: 26


« Reply #2 on: January 25, 2010, 04:02:46 PM »


Mithrandir

thank you on your help.


I think that RVLandscape is not best way to draw
DTM terrain  beccause I have iregular mesh, and
in RVLandscape only can be regular mesh.

Maybe I am wrong...

Best regards
Logged
Mithrandir
Community Member
*
Posts: 325


« Reply #3 on: January 25, 2010, 04:11:58 PM »

Sorry about the RVLandscape, it was a typo

R is apparently too close to T Smiley

Well you can either use the landscape as close approximation or otherwise you have to use TVMesh. TVLandscape is optimised though, so I would reconsider that if speed is an issue (especially for large terrains).

If you wish to build a mesh manually just create a new TVMesh using scene and start adding triangles. This will however be much slower to render (Unless you find a cleaver way to speed it up).
Logged
Pages: [1]
  Print  
 
Jump to:  

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