Wings 3D Development Forum
POV-ray export - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Bug Reports (https://www.wings3d.com/forum/forumdisplay.php?fid=12)
+--- Thread: POV-ray export (/showthread.php?tid=1312)



POV-ray export - amfitrione - 08-15-2015

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


RE: POV-ray export - micheus - 08-15-2015

Just tell what is the name of the image as shown in the Outline window?


RE: POV-ray export - amfitrione - 08-17-2015

Diffuse named "MainA",
bump named "MainA.png", in material properties both too


RE: POV-ray export - micheus - 08-17-2015

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


RE: POV-ray export - amfitrione - 08-19-2015

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


RE: POV-ray export - micheus - 08-19-2015

Ok, I'll take a look on this.


RE: POV-ray export - micheus - 09-05-2015

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.