Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Graphics
  4. DirectX, TIN surface models. Sample code for creating a mesh.

DirectX, TIN surface models. Sample code for creating a mesh.

Scheduled Pinned Locked Moved Graphics
graphicstutorialcsharpdelphigame-dev
1 Posts 1 Posters 1 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • S Offline
    S Offline
    st14
    wrote on last edited by
    #1

    Hi, I was looking at Andrew Rissing's project AVID and was impressed. His code creates meshes from spheres and cylinders. (Ball and Stick class). I,ve done a small amount of 3d (under borland) but nothing under .net. Can anyone point me to an example of how to load a mesh from a TIN? I'm not using an *.x file. For example I would like to create a TinSurface class where I have a list of vectors (x,y,z) and a list of triangles (v1, v2, v3). Ideally I would like a drape a bitmap (green grass, brown dirt etc) but this can wait. ( I guess I could draw some funny looking trees with Andrew's classes while I'm at it !) I'm doing volume calcs between 2 surfaces and would like to graphically show how the surfaces intersect (for cut/fill etc). Thanks Stuart

    1 Reply Last reply
    0
    Reply
    • Reply as topic
    Log in to reply
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes


    • Login

    • Don't have an account? Register

    • Login or register to search.
    • First post
      Last post
    0
    • Categories
    • Recent
    • Tags
    • Popular
    • World
    • Users
    • Groups