The easiest way to create and render a 3D model by rotating a 2D silhouette

I have a black and white 2D silhouette drawing (say a chess piece) that I would like to rotate around an axis to create a 3D object.

Then I want to display this 3D object from different angles using some raytracing software, saving each corner to a separate file.

What will be the easiest way to automatically (repeatedly): 1. get the vector path from drawing 2d. 2. Create a 3D model by rotating it. 3. Import it into a raytracer.

  • I have not chosen a specific raytracer yet, but Sunflow got into my eyes.
  • A texture mapping / bump would be nice, but inconsequential.
+3
source share
2 answers

The simulation function you are looking for is a lathe.

Sunflow can import 3ds files and blender files.

I have never used a blender, but here is a tutorial on using a lathe to make a glass. You will replace the silhouette of the glass with your shape:

http://www.blendermagz.com/2009/04/14/blender-3d-lathe-modeling-wine-glass/

Blender - FOSS, you can download it here:

www.blender.org/download/get-blender/(cannot post more than one link, so you have to enter it yourself :-)

+3
source

I found a pretty cool site where you can do this online, interactively:

http://www.fi.uu.nl/toepassingen/00182/toepassing_wisweb.en.html

There is no big revolution, but perhaps you can find the code and extend it to your needs.

+1

Source: https://habr.com/ru/post/1728517/


All Articles