early or later....
here a usefull tool for the materials editors and lighting....
http://wiki.mcneel.com/labs/rendererdevelopmentkit10
Moderators: Ratow, coordinators
jeanphi wrote:Hi,
I think the issue with your exported data might be the order of u and v control points in the P list. I guess your outer loop is on u and your inner loop on v, while LuxRender expects the opposite (don't ask why).
Jeanphi
patro wrote:early or later....
here a usefull tool for the materials editors and lighting....
http://wiki.mcneel.com/labs/rendererdevelopmentkit10
nart wrote:Ok I won't ask why... But, I am not controlling the order, that is how rhino is giving them to me. I tried a quick test just to reverse the entire P array (per point, not per element), but that had no affect for me? Perhaps I messed up. At any rate, I think I won't worry about nurbs for the time being as nobody has jumped up and said that trimming is possible.
# Pseudo python code where nu, nv define the number of control points, data if the list of control points provided by Rhino
for v in range(nv):
for u in range(nu):
output data[u * nv + v]
Patro, have you used the RDK? I looked at it, but it seems it is for a C/C++ plugin, and not for lowly scripters such as myself. I did do some tinkering with what they say here http://wiki.mcneel.com/developer/rdkrhinoscripting about scripting the rdk, but within python, and I am talking to the com object and have grabbed some values from it, so I guess it works. I will investigate how to actually use it. The jargon is cryptic. My plan was going to be to just tag objects with a named material, but maybe it will be better to use rhino's mat system, even though I don't particularly care for it. But materials are way down the line for now...

Since most 3D packages feature an "area" light type, LuxRender also has a special "area light" object for these to be exported as. The area light object behaves exactly the same as a meshlight with the same geometry and emission settings, with one important distinction: You cannot use a scale transform with it, you must adjust its actual geometric size. In most modeling packages, this can be adjusted with a "size" or "dimensions" parameter for their area light object.


Users browsing this forum: No registered users and 0 guests