Take the 2-minute tour ×
Game Development Stack Exchange is a question and answer site for professional and independent game developers. It's 100% free, no registration required.

Is it possible to generate 3D models using some sort of object transformation (like it's shown here), using PovRay or any other tool, and import them into Blender / Unity?

For example starting with a primitive sphere:

enter image description here

And applying a series of transforms/noise to generate something like:

enter image description here

Then baking them in, resulting in a 3D model of an asteroid that can be used in game.

share|improve this question
    
sorry, already clarified the question. –  fableal Sep 11 '12 at 22:16
2  
Blender seems to be able to do this for terrain meshes. Why not for closed meshes? wiki.blender.org/index.php/Doc:2.4/Manual/Modeling/Meshes/… –  teodron Sep 12 '12 at 10:06

1 Answer 1

up vote 3 down vote accepted

Yes, you should actually be able to do this within Blender using a Python scripting. There are plenty of functions available for modifying meshes. You should be able to follow the tutorial you provided, converting the methods into Python and adapting them to modify a mesh of your choosing.

Alternatively, you could write a application in your language of choice. Perform the operations described in the tutorial on an array of vertices. Finally, output the vertices into one of the popular formats that Blender imports and import the mesh into Blender for further manipulation or whatever you end goal is.

It does appear you can go from PovRay to Blender if your scene is made entirely of meshes. I don't know much about PovRay, but I don't see any indicator that the tutorial uses meshes, so you may be out of luck there.

share|improve this answer
    
@Fableal, don't be so quick to accept. You're less likely to get more varied answers if you accept on too soon. Wait a day, see what comes up, you may get a better answer. You can up-vote to show you like an answer. –  Byte56 Sep 11 '12 at 22:43
    
"Vote Up requires 15 reputation" :( –  fableal Sep 11 '12 at 22:46
    
You have your point, thanks –  fableal Sep 11 '12 at 22:47

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.