LuxmaxScript - Feature request and bugs.

Discussion related to the exporter plugin for Autodesk 3ds Max.

Moderators: Ratow, hedphelym, coordinators

Re: LuxmaxScript - Feature request and bugs.

Postby hedphelym » Tue Feb 08, 2011 8:30 am

moure wrote:hey everybody!
As i had a couple of hours free this morning i looked a bit at your code stig and i managed to figure out the general idea of how you have implemented everything.
by playing with it a bit i managed to fix the emission texture so as to work with blackbody map in the matte material.
I think i did a good start as that was the first time i looked at maxscript.ill emplement it also to other materials.when its complete ill send you the code to check it out as with your experiense you can check it easily for flaws and release it.
Also stig your code is amazingly sorted and very straight forward.Even for me who i havent programmed anything for 5 years was easy to undertand.Great Job!
take a look!render straight from luxmax:


Thanks!
Great job, thanks for the comments about the code, I'm sure there's improvements on it, but it's good to know that it's so easy to use.
User avatar
hedphelym
Developer
 
Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: LuxmaxScript - Feature request and bugs.

Postby moure » Tue Feb 08, 2011 8:58 am

patro to make the imagemap work as an emissive texture i had to combine the luxrenderimagetexture map with the blackbody map in a new map as you thought.
here are the results, only an emissive texture applied.
Attachments
emissive_imagemap_luxmax.png
emissive imagemap
User avatar
moure
Developer
 
Posts: 411
Joined: Sun Sep 26, 2010 4:32 am
Location: Greece

Re: LuxmaxScript - Feature request and bugs.

Postby patro » Tue Feb 08, 2011 9:19 am

moure wrote:patro to make the imagemap work as an emissive texture i had to combine the luxrenderimagetexture map with the blackbody map in a new map as you thought.
here are the results, only an emissive texture applied.

thanks for trying.
wich could be the solution-workaround for max? a mix map?
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: LuxmaxScript - Feature request and bugs.

Postby moure » Tue Feb 08, 2011 9:31 am

ill try adding a rollout with the emmisive options allready containg the blackbody parameters.
so when you enable it that youll have allready blackbody applied.
also the texture slot so as to load also an imagemap.
thats how i thought of this.
i guess there will be other opinions too.
User avatar
moure
Developer
 
Posts: 411
Joined: Sun Sep 26, 2010 4:32 am
Location: Greece

Re: LuxmaxScript - Feature request and bugs.

Postby patro » Tue Feb 08, 2011 9:56 am

moure wrote:ill try adding a rollout with the emmisive options allready containg the blackbody parameters.
so when you enable it that youll have allready blackbody applied.
also the texture slot so as to load also an imagemap.
thats how i thought of this.
i guess there will be other opinions too.

cool! this a good week for LuxMax ;)

want to bother all coders with a question.

I suppose you all know how the material editor from fryrender related to max works!

I've asked BinaryCortex in irc if it could be possible to build an external material editor based on the material editor used for LuxBlend.
this way the work on the exporter could be easier... also all blender textures used by luxrender in blender could be compatible with 3ds max.

I know this need the efforts of a lot of people like Doug, Lord... but what do you think about?

please take in mind that this way more 3ds software could benefit from such a workaround just not only max!

EDITED:
forget to mentio that there is the one from maxwell... it works with the internal from max and the its standalone version... this solution is the one I personally prefer.
Last edited by patro on Tue Feb 08, 2011 10:25 am, edited 1 time in total.
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: LuxmaxScript - Feature request and bugs.

Postby dougal2 » Tue Feb 08, 2011 10:03 am

patro wrote:I've asked BinaryCortex in irc if it could be possible to build an external material editor based on the material editor used for LuxBlend.


I've thought about this too... in fact it would be a good way to interface with the online materials database - integrated local preview rendering etc.
I'm not a big fan of GUI programming though, so I'm hesitant to start actually writing it. Might be worth opening a new forum topic elsewhere to gather ideas.
User avatar
dougal2
Developer
 
Posts: 3074
Joined: Mon Jan 14, 2008 7:21 am

Re: LuxmaxScript - Feature request and bugs.

Postby hedphelym » Tue Feb 08, 2011 10:09 am

Thanks again moure,
also if you have any questions, then feel free to ask over at the irc channel , or pm \ email etc.
User avatar
hedphelym
Developer
 
Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: LuxmaxScript - Feature request and bugs.

Postby patro » Tue Feb 08, 2011 10:21 am

dougal2 wrote: Might be worth opening a new forum topic elsewhere to gather ideas.

thought you are the one that can open such a topic. in one of the "Core Engine" sub forum!
but let me know if you prefer that someone else start it.
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: LuxmaxScript - Feature request and bugs.

Postby moure » Thu Feb 10, 2011 7:10 am

Latest development news.
Great effort is being made to make more and more materials attributes working and also a working material preview.
The latest build in the respository supports:
-matte
diffuse (color & imagemap)
bump (color & imagemap)
emissive (imagemap & blackbosy)

-glossy,glossylossy(to enable glossy lossy check the checkbox in glossy material)
diffuse (color & imagemap)
specular (color & imagemap)
bump (color & imagemap)
emissive (imagemap & blackbosy)

-glass
transmission (color & imagemap)
reflection (color & imagemap)
ior
architectural mode
bump (color & imagemap)
dispersive refraction

-metal
bump (color & imagemap)
emissive (imagemap & blackbosy)

-carpaint
diffuse (color & imagemap)
spec1 (color & imagemap)
spec2 (color & imagemap)
spec3 (color & imagemap)
r1 value only
r2 value only
r3 value only
m1 value only
m2 value only
m3 value only

-Early material preview edition

WARNING
In the above materials diffus specular reflection transmission map color maps are scaled according to the color value that is chosen in each color box.(Like in LuxBlend)
So if you want to use an imagemap as it is you have to choose a pure white color value in the color choosing box.
This has as a result to be able to control the diffuse spec trans and reflect imagemaps by the color values you choose.
These changes will gradually be applied to all materials.

some tests of the changes
Attachments
glossylossy.png
glossylossy and glossy
carpaint.png
Carpaint
glasseverything.png
Glass with everything turned on
metalbumpemissive.png
Metal bump emissive
User avatar
moure
Developer
 
Posts: 411
Joined: Sun Sep 26, 2010 4:32 am
Location: Greece

Re: LuxmaxScript - Feature request and bugs.

Postby patro » Thu Feb 10, 2011 7:55 am

Moure congratulation,
big thanks to Stig and Perpixel

the available features are growing :)

Moure the fact that you have max and blender is a great help for the material development.

Edit: did you disabled intentionally the carpaint presets?
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

PreviousNext

Return to LuxMax (Autodesk 3Ds Max Exporter)

Who is online

Users browsing this forum: No registered users and 2 guests