![]() |
YafaRay UV Cube XML Code - Printable Version +- Wings 3D Development Forum (https://www.wings3d.com/forum) +-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1) +--- Forum: Programming (https://www.wings3d.com/forum/forumdisplay.php?fid=7) +--- Thread: YafaRay UV Cube XML Code (/showthread.php?tid=146) Pages:
1
2
|
YafaRay UV Cube XML Code - oort - 01-22-2013 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 --> RE: YafaRay UV Cube XML Code - Wegg - 03-19-2013 Is there a guide somewhere that walks you through the basics of how to get your YafaRay plugin to work? I think I installed it. . . but then what? How do you render with it? RE: YafaRay UV Cube XML Code - ggaliens - 03-20-2013 Wegg ... if you end up liking it ... let me know. Just so many renderers. Oort is a great guy ... but his name association with Yafray alone won't sell me. It would have to be great GLASS, METALS, and also dirty procedural surfaces at 1024x767 at maybe 2 minutes per frame or less. That right there would sell me, maybe. I've been trying RenderMan over and over and am a bit invested in that even if few folks use it. But I'm trying to revisit old ideas and new ideas and keep eyes open. RE: YafaRay UV Cube XML Code - oort - 03-20-2013 ggaliens, I enjoyed playing with your work on the RenderMan plug-in, especially the fast render times... ![]() Would love to see you work on it and release it as a separate plug-in. oort RE: YafaRay UV Cube XML Code - ggaliens - 03-22-2013 I'm sure my version of KayosIII's plugin is slow also. I never spent much time trying to optimize it. Needed to add FAUX shadows to speed it up. Never got there. A buddy of mine is looking for a strong but not to expensive render option for Wings3D / Manifoldlab monsterous large files. RE: YafaRay UV Cube XML Code - micheus - 03-26-2013 oort, I would like to warn you about new settings for Makefile script added by dgud for the current master branch. The old warnings are not accepted anymore - they are converted to compile error. So, for the future rebuilds, it's good idea avoid leave unused vars, functions and so on... ![]() Also, by trying compile your latest source I also got this [now a] compiler error: Code: f:/unixlike/src/wings/PLUGIN~1/IMPORT~1/wpc_yafaray.erl:3443: ambiguous call of overridden auto-imported BIF max/2 it's related to these lines: Code: export_rgb(F, absorption, {-math:log(max(AbsR, ?NONZERO))/AbsD, -compile({no_auto_import,[max/2]}). I sent you an e-mail. RE: YafaRay UV Cube XML Code - oort - 03-26-2013 Micheus, Thanks, I have sent you a response to your e-mail... ![]() oort RE: YafaRay UV Cube XML Code - Wegg - 03-27-2013 ggaliens: I spent an evening with it and gave up. The render speeds compared to what I can get from messiah ![]() ![]() RE: YafaRay UV Cube XML Code - micheus - 03-27-2013 Wegg, if you are satisfied with your render keep using it - no one wants you moving on. Some people want realism, others speed,... There are render for all taste, pocket and necessities. ![]() Wings3d doesn't have its own render (only an OpenGL "preview"), so if someone wants to produce a good render for his/her project, he/she will need to export the project to an other 3d application with a best render option. Many people already do that, of course. But, for those ones that don't want or cannot do that, render application like Yafaray and POV-Ray are a good and cheap option. I'm sure you would like to try Twinmotion®2 (that claim to be a real-time 3D render - see this video), but I'm not sure you would like to pay €2,420 (I'm not). I also own messiah Studio 5, but I still prefer play with POV-Ray for render static scene (I like to hack its code). Wings's plugins needs to be improved and tested. That's why I got into to test Yafaray - and for this, we don't need to care about software performance. We still have some good and free standalone renders that could have an plugin written for Wings3d - someone interested? LuxRender 3Delight - It's RenderMan compliant, as the PIXIE used by ggaliens. (free, limited to use only CPU 2 cores) ![]() and the abandoned - but good photo-realistic render -Sunflow: ![]() RE: YafaRay UV Cube XML Code - Wegg - 03-27-2013 LuxRender for sure. 3Delingt is only good for 2 cores. Very limiting. :-( |