Wings 3D Development Forum
TheBounty Renderer (rewrite for wxWidgets) - Printable Version

+- Wings 3D Development Forum (https://www.wings3d.com/forum)
+-- Forum: Wings 3D (https://www.wings3d.com/forum/forumdisplay.php?fid=1)
+--- Forum: Design & Development (https://www.wings3d.com/forum/forumdisplay.php?fid=6)
+--- Thread: TheBounty Renderer (rewrite for wxWidgets) (/showthread.php?tid=440)

Pages: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19


RE: TheBounty Renderer; my fork of YafaRay project - povmaniac - 11-24-2013

(11-24-2013, 06:36 PM)oort Wrote: Povmaniac,
Please do not remove "Default Shader". This does get used when you use the Object Mode > RMB > Vertex Attributes > Colors to Materials command, when converting vertex colors to materials.

oort

Sure? Is nort work for me..
Please, make an scene example and shared it.
Btw.. I mean 'move', not 'remove' Smile


RE: TheBounty Renderer; my fork of YafaRay project - oort - 11-24-2013

povmaniac,
The version from today is not working for me.

Dimitri,
Since TheBounty version of the YafaRay plugin is under such rapid development you may be better off downloading the oort version of the YafaRay plugin that is on my website. It has most of the same features that are in TheBounty, including SSS.

You will have to add -pp C:\yafaray\plugins to the YafaRay options in the YafaRay plugin preferences. Maybe we should first see if you can get the oort version working...

oort

povmaniac,
I do not have time right now to create an example scene. It is working for me. Simply create a sphere. Open Window > Palette. Face mode. Select some faces of the sphere. Pick a color in the Palette to assign that color to the faces. Object Mode > RMB > Vertex Attributes > Colors to Materials command. You should see a new material listed in the outliner. The shader type will reflect what is set in the "Default Shader" setting.

No problem with moving... Smile

I will be away from my PC most of the day.

oort


RE: TheBounty Renderer; my fork of YafaRay project - Dimitri - 11-24-2013

Thanks all for the detailed explanations. The reason I was persistent in asking was because I do want to make use of Yafaray within Wings. It does not have to do anything with a lack of respect for the people who work hard for making Wings even better... : - )


RE: TheBounty Renderer; my fork of YafaRay project - povmaniac - 11-24-2013

Dimitri.. Not problem.
I am Sorry if I have been a little discourteous in my response of earlier.
Maybe today is not the best day for me..Sad
Greetings..


RE: TheBounty Renderer; my fork of YafaRay project - micheus - 11-24-2013

Dimitri, you just need edit the preferences.txt as oort had suggested.
You can link it here if you are not sure about that and we can do that for you. Smile


RE: TheBounty Renderer; my fork of YafaRay project - Dimitri - 11-25-2013

'Maybe today is not the best day for me..'

It is something that happens to all of us... don't bother yourself with it. I too was a little bit nervous besides. : - )

Micheus, I will try again to fix it... if I meet any problem I will ask. Thanks, however... : - )


RE: TheBounty Renderer; my fork of YafaRay project - calebmillerkb3 - 01-01-2014

I installed the yafaray exporter from oort's website, and I had the same issue as Dimitri. Following through the reply chain, I downloaded the new exporter from https://dl.dropboxusercontent.com/u/16848591/wings3d/wpc_yafaray.7z as povmaniac mentioned in http://www.wings3d.com/forum/showthread.php?tid=440&pid=3433#pid3433 . This fixed my issue immediately. Just verifying that updating to the new exporter on Wings3D 64bit resolves the error from {case clause,{1.0,50.0}} mentioned earlier in the thread.

Edit: fudged up the dl link; fixed (Thanks Neon22)


RE: TheBounty Renderer; my fork of YafaRay project - Neon22 - 01-01-2014

correct link is: https://dl.dropboxusercontent.com/u/16848591/wings3d/wpc_yafaray.7z


RE: TheBounty Renderer; my fork of YafaRay project - tkbd - 11-03-2014

Report for Yafaray TheBounty in OSX 10.9.5
Although it took a little effort, I was allowed to work it.

At first ,get Yafaray 0.1.5 archive for OSX binaie version .
http://www.yafaray.org/download
http://www.jensverwiebe.de/Jens_Verwiebe/Software.html
Click "Zum Laden hier Klichen"
(I want tried it on 10.7.x,but doesn't work.)

It is assumed that the unarchived "yafaray" folder move to /Applications.

Currently, Yafaray-xml for OSX doesn't work as it is.
You must enter a few commands from terminal.It might be a little hard.
(You have get agreeing to the Xcode/iOS license before this process.)

Use terminal,Check a link information for dynamic library about yafaray-xml.
Code:
otool -L /Applications/yafaray/yafaray-xml
Result
Quote:/Applications/yafaray/yafaray-xml:
/usr/lib/libstdc++.6.dylib (compatibility version 7.0.0, current version 60.0.0)
@rpath/libyafaraycore.dylib (compatibility version 0.0.0, current version 0.0.0)
/usr/lib/libSystem.B.dylib (compatibility version 1.0.0, current version 1197.1.1)
/usr/lib/libz.1.dylib (compatibility version 1.0.0, current version 1.2.5)
/usr/lib/libxml2.2.dylib (compatibility version 10.0.0, current version 10.9.0)
/usr/lib/libc++.1.dylib (compatibility version 1.0.0, current version 120.0.0)

So change the link of "@rpath",type a command in terminal...
Code:
install_name_tool -change "@rpath/libyafaraycore.dylib" "/Applications/yafaray/bin/libyafaraycore.dylib" /Applications/yafaray/yafaray-xml

Check for it works wheater or not. type a command in terminal...
Code:
/Applications/yafaray/yafaray-xml -v
Quote:INFO: YafaRay (0.1.5)
INFO: The plugin path is: /Volumes/Daten1TB/bf-blender/Yafaray-development/yafaray-repository/Core_main_build/../addon/yafaray/bin/plugins
INFO: Environment: Loading plugins ...
ERROR: Environment: There is no image handlers registrered
INFO: YafaRay XML loader version 0.2
Built with YafaRay version 0.1.5
This must be set to the path of the plug-ins.

and before run wings app, move/remove to old Wings3D's "Preference.txt" for avoid error.
(It might be good to only modify some of the settings, but ... I do not know best ways.)

Next..., Run Wings3D app.
for Install Thebounty(yafaray exporter) plugin
plugin files will found from https://dl.dropboxusercontent.com/u/16848591/wings3d/wpc_yafaray.7z
(Use latest wpc_yafaray.beam from dropbox!! ,the time stamp is 2013/11/24 20:14)
(Also an older "TheBounty" archive can download from oort's site,but this version is old,It will be cause error.{case clause,{1.0,50.0}}
(The Older version's time stamp is 2013/11/23 6:40)


Now setting from Wings3D,Edit > Plug-in Preferences > TheBounty
Set path for TheBounty
Quote:/Applications/yafaray
and ... Set Yafaray-Plugin path to option(contains hyphen and space)
Quote:-pp /Applications/yafaray/bin/plugins


Then, an item "Yafaray/TheBounty" appear in Wings3D's File > Render Menu.

When you rendering image,It is better to check a log open to Wings3d's console window.
Also make and set a material to your object ....and some Light in geometry always.
If NO Light object is present at all in the geometry, Rendering fails, you will get the following error in console.

Code:
Trying OpenGL modes
  [{buffer_size,32},{depth_size,32},{stencil_size,8},{accum_size,16}]
Actual: RGBA: 8 8 8 8 Depth: 24 Stencil: 8 Accum: 32 32 32 32
Using GPU shaders.
Exporting  to: /Users/xxxxx/result/wpc_yafaray-xxxxxx.xml
for render to: //Users/xxxxx/result/foobar.jpg
Mesh w_Cube1: triangulating...done
Mesh w_Cube1: exporting...done
ERROR: Failed to export:
{'EXIT',{badarg,[{io_lib,format,
                         ["\t<~s r=\"~.6f\" g=\"~.6f\" b=\"~.6f\" a=\"1\"/>",
                          [color,1,1,1]],
                         [{file,"io_lib.erl"},{line,154}]},
                 {wpc_yafaray,println,3,
                              [{file,"h:/******/*****~1/wings/PLUGIN~1/IMPORT~1/wpc_yafaray.erl"},
                               {line,883}]},
                 {wpc_yafaray,export_light,5,
                              [{file,"h:/******/*****~1/wings/PLUGIN~1/IMPORT~1/yafaray/yaf_export_lights.erl"},
                               {line,115}]},
                 {wpc_yafaray,'-export/3-fun-3-',3,
                              [{file,"h:/******/*****~1/wings/PLUGIN~1/IMPORT~1/wpc_yafaray.erl"},
                               {line,626}]},
                 {lists,foldr,3,[{file,"lists.erl"},{line,1274}]},
                 {wpc_yafaray,export,3,
                              [{file,"h:/******/*****~1/wings/PLUGIN~1/IMPORT~1/wpc_yafaray.erl"},
                               {line,625}]},
                 {wpc_yafaray,'-do_export/4-fun-0-',3,
                              [{file,"h:/******/*****~1/wings/PLUGIN~1/IMPORT~1/wpc_yafaray.erl"},
                               {line,242}]},
                 {wings_export,export,4,
                               [{file,"wings_export.erl"},{line,35}]}]}}
Edited (Add 2014/11/09)

Yafaray TheBounty rendering screenshot( OSX 10.9.5)
(Note:This case I named folder "yaf" ,Of course a Dylib-link changing to /Applications/yaf/bin/libyafaraycore.dylib. )
[Image: th_thebounty_yafaray015_osx_zps1d9d28ef.png]

Yafaray TheBounty option setting
[Image: th_thebounty_yafaray015_set_osx_zps0d30d6d8.png]

------------------------------------------------
We known an another plugins("Yafaray for Wings3D".)
Yafaray0.1.5, I also test to both plug-in.
Both plugin works on OSX 10.9.5 under Yafaray 0.1.5dylib-fixed.
When migrating I was used to remove the Preferences.txt for avoid errors.

if you insatall Wings3D Yafaray plugin(from oort's site), the path have to contain file name.
for example
Quote:/Applications/yafaray/yafaray-xml
Yafaray option ss is here
[Image: th_yafaray_normal_osx_zpsa3acb56f.png]
----------------
tkbd


RE: TheBounty Renderer; my fork of YafaRay project - micheus - 11-03-2014

tkbd, thanks for sharing that. Smile