|
YafaRay UV Cube XML Code
|
|
01-22-2013, 07:40 AM
(This post was last modified: 01-22-2013 06:55 PM by oort.)
Post: #1
|
|||
|
|||
|
YafaRay UV Cube XML Code
I finally figured out the YafaRay.xml code needed to get image textures to render correctly. The only part that I had wrong was the uv vector values as in <uv u="0.0" v="0.0"/>. After looking at the code exported from the Sketchup YafaRay plug-in I noticed that the code didn't have to be as complicated as the .xml code produced by Blender. I also noticed that it looked very much like the code exported by the Wings3D Pov-Ray plug-in. I wonder if the YafaRay.xml code is based on Pov-Ray??? The code needed for YafaRay is different in the "vertex vectors" section compared to Pov-Ray. If I am not mistaken the uv indices are simply references to the uv vector values??? Below is the code for the mesh section of the .xml code.
Edit: In the code below you will notice that the material is listed once. You can also list the material before each individual face. I am listing the material multiple times in the current version of the Wings3D YafaRay plug-in. Since it works, I will leave it that way for now. This may not be specific to programming for Wings3D but it may help someone else in the future. oort Quote:<!-- Section Objects --> |
|||
|
« Next Oldest | Next Newest »
|
| Messages In This Thread |
|
YafaRay UV Cube XML Code - oort - 01-22-2013 07:40 AM
RE: YafaRay UV Cube XML Code - Wegg - 03-19-2013, 03:08 PM
RE: YafaRay UV Cube XML Code - ggaliens - 03-20-2013, 04:36 PM
RE: YafaRay UV Cube XML Code - oort - 03-20-2013, 04:57 PM
RE: YafaRay UV Cube XML Code - ggaliens - 03-22-2013, 07:40 PM
RE: YafaRay UV Cube XML Code - micheus - 03-26-2013, 06:36 PM
RE: YafaRay UV Cube XML Code - oort - 03-26-2013, 07:31 PM
RE: YafaRay UV Cube XML Code - Wegg - 03-27-2013, 03:35 AM
RE: YafaRay UV Cube XML Code - micheus - 03-27-2013, 06:38 PM
RE: YafaRay UV Cube XML Code - Wegg - 03-27-2013, 10:00 PM
RE: YafaRay UV Cube XML Code - oort - 03-28-2013, 12:59 AM
RE: YafaRay UV Cube XML Code - micheus - 03-28-2013, 04:18 AM
RE: YafaRay UV Cube XML Code - ggaliens - 03-28-2013, 05:09 PM
RE: YafaRay UV Cube XML Code - mljuboja - 10-24-2013, 05:10 PM
|
User(s) browsing this thread: 1 Guest(s)



