Wings 3D Development Forum

Full Version: POV-ray export
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hey guys, looks like nobody uses Pov-ray, but i realy like it for fast export.

Bug pass in exporting names of texture.

When i use texture for diffuse and texture for bump
name of additional texture written wrong like here:
Code:
#declare wm_Mat_common = texture{
     uv_mapping
     pigment{
         image_map {
         png "maintex.png"
         }
     }
     normal{
         uv_mapping bump_map {
         png "d:/pics/MainA.png.png"
         bump_size 2.000000
         }
     }
In old version of wings ( 1.2 or 1.3) names look
like "maintex.png" when internal or "d:/pics/maintex.png" when external

Its enough easy to fix it in POV-ray editor,
but i going mad when made 15-20 renders together
Just tell what is the name of the image as shown in the Outline window?
Diffuse named "MainA",
bump named "MainA.png", in material properties both too
So, try rename it in the Outline by removing the .PNG and export to POV-Ray again.

Also, what's the Wings3d version you are using?
Because that error was reported before, I believe you are using the 1.5.2 and there is a fix for that in this thread: [1.5.2] Pov-ray export bug
My version is "Wings 3D 1.5.3.2015-05-24---14-39.mlab"
(could it be, that fork include not fix?)

Firstly i install patch from your link. Have no effect.

Second i rename units in outliner. No effect too.

A few restarts, and manually replaced file in Wings.

Then i think, i have bad model file and create new file, here i use external link.

Code:
         png "Diff/MyTex/1121_shokolad.png"
         }
     }
     normal{
         uv_mapping bump_map {
         png "d:/MyTex/Diff/1121_shokolad.png.png"
Firstly i try with different texture files,
secondary i used link (in material settings) to same file for diffuse and bump.

Each new export to new pov file

Renaming in outliner again useless. Sad

Sorry for bad english, if something hard to understand, i will try explain else
Ok, I'll take a look on this.
amfitrione, I fixed it for 1.5.3 and 1.5.4 (it was already fixed for 2.0). Thanks for report it.

The file for replacement can be download here: POV-Ray-fix.zip - take a look at Readme.txt for update instructions.