Announcement

Collapse
No announcement yet.

Can we create meshes using C++?

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    Can we create meshes using C++?

    I was wondering if we can create 3d meshes using C++ only such as characters,buildings,roads,mountains etc? Is this type of thing possible?

    http://static9.cdn.ubi.com/resource/...-02_147186.jpg

    Is this type of stuff even possible using C++ or I am day dreaming?
    Last edited by Inder; 02-10-2015, 02:57 AM.

    #2
    It's definitely possible to do in C++ but would take a LOT of time to do something like make a mountain, let alone creating everything you see in the photo you linked. In order to create it though C++, you'd need to manually write out things like all the vertices including UV's, normals, and then indices for the mesh, etc. Creating meshes in Maya, Blender, etc. just export all that data through OBJ or FBX format for us.
    2B || (!2B)

    Comment


      #3
      You certainly can, though it's not easy. You'll need to look at the 'CustomMeshComponent' class.

      Good thread here

      Comment


        #4
        I have Zbrush and Modo.
        If this - http://static9.cdn.ubi.com/resource/...-02_147186.jpg - type of quality can be achieved via C++ then why we need softwares like Zbrush,Maya,Modo,3dsMax etc!! ??

        Can C++ create wrinkles like this - http://j1310.hizliresim.com/1g/y/u1zf4.png - on clothes?

        Comment


          #5
          I don't know why it wouldn't be easy? After all you could generate a 2D array with a set of height values and from there you could probably defer a lot of the information you need. Calculating all the necessary information isn't exactly a difficult thing to do.

          While you can generate this data procedurally and through physical simulation, the effort to write algorithms to do that is often more difficult than an artist to just make it in a content creation package.

          Comment


            #6
            I got it!! ZScripting

            Comment

            Working...
            X