Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
YafaRay Plug-in - reviewing for Yafaray 3.0
07-20-2016, 04:31 AM (This post was last modified: 07-20-2016 04:36 AM by oort.)
Post: #25
RE: YafaRay Plug-in - reviewing for Yafaray 3.0
I think I understand what you are asking. Look at the code for Meshlights export.

I think this is the part...

Quote:%%Start Micheus Code for Meshlights Even Better
section(F, "Objects"),
foldr(fun (#e3d_object{name=Name,obj=Mesh}, Id) ->
export_object(F, "w_"++format(Name), Mesh, MatsGb, Id),
println(F),
Id+1
end, 1, Objs),
%%End Micheus Code for Meshlights Even Better

Here is menu code where different object types are chosen...
Quote:{hframe,[
{vframe,
[{menu,[{?__(31,"Mesh"),mesh},
{?__(32,"Volume"),volume},
{?__(33,"Mesh Light"),meshlight},
{?__(34,"Light Portal"),lightportal}
],
Object_Type,
[key(object_type),layout]},

Note that this code is from the Wings 1.4.1 version of the plugin. So it is not formatted properly for Wings 2.x versions.

oort
Reply


Messages In This Thread
RE: YafaRay Plug-in - reviewing for Yafaray 3.0 - oort - 07-20-2016 04:31 AM
RE: YafaRay Rendering Software - oort - 07-15-2016, 02:28 PM

Forum Jump:


User(s) browsing this thread: 2 Guest(s)