Skip to content

ebolblga/Obj-to-PovRay-Test

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Making POV-Ray scene using Blender

POV-Ray v3.7

Thanks to JossWhittle for making .obj to .pov converter. Here is a short guide how to get good looking results:

CGLab1

Step 1 Get model.

Make a model in some 3D editing software. I used Blender. Alternatively you can just download it from some site.

image

Step 2 Remesh the geometry to triangles.

JossWhittle's converter generates triangles, so when you import .obj model that contains quads or ngons it will output distorted mesh:

image

A way to remesh model in Blender is to add Triangulate modifier

image image

Don't forget to apply it by right clicking that downwards arrow!

Step 3 Export the model.

Now you need to save the model in .obj file format. In Blender File > Export > Wavefront (.obj) and don't forget to checkmark Selected only

Step 4 Run the converter.

Model preparations are now complete, it's time to launch cmd and follow JossWhittle's documentation.

Summary:

  • Download and install Java Development Kit
  • Open Command Prompt and go to obj2pov.jar file location using cd [folder path] command
  • Run jar file java -jar obj2pov.jar < [input obj name].obj > [output pov name].pov
  • Import in the POV-Ray scene using #declare [Name] = union { #include "[file path].pov" }

About

Guide how to import obj models into POV-Ray

Topics

Resources

License

Stars

Watchers

Forks