materials, requests, tips & tricks

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

Moderators: Ratow, hedphelym, coordinators

Re: materials, requests, tips & tricks

Postby patro » Wed Sep 29, 2010 2:33 pm

thank you for the link.

btw.... today I tried to rendered an interior scene using sun and " mr Light portal "... I also installed blender with Luxblend 0.7.... I notice a difference.
well.... both are exported as infinite light... but the one of blender is a shape... exported as trianglemesh, with coordinates and transform etc., while in the exported "mr Light portal" the coordinate are missing.

my question is: the fact that the coordinates (dimension? and position?) are missing in exported code for "mr Light portal" make it work anyway as light portal?

thank you

Edit:
I asked because... I rendered the room from external view... with and without portals and there is no difference in light behaivor between the 2 rendered image.
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: materials, requests, tips & tricks

Postby hedphelym » Sat Oct 02, 2010 3:33 am

so, if I remember correct, luxblend splits the meshes based on what normal group the faces are in?
are they separated objects, or just "split" (detached)?

Either way this can also be done in 3dsmax, it just needs a little script for doing so. (probably just make a modifier that you can put on the objects.)
User avatar
hedphelym
Developer
 
Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: materials, requests, tips & tricks

Postby patro » Sat Oct 02, 2010 3:48 am

Hi,
are you referring to the normal issue... I'm not sure... anyway if yes... the obj aren't detached... are single meshes.

about the 3ds max chamferbox... I didn't split it... I only apply the edit poly modifier... and then I gave to the fillet area a second smoothing group. but this didn't work as expected.... black patch, less, is always to see.... also while increasing the number of faces on the fillet surfaces and on the planar surfaces. the best results was to simply increase the number of the fillet edge to a minimum of 10.

"so, if I remember correct, luxblend splits the meshes based on what normal group the faces are in?
are they separated objects, or just "split" (detached)?"

I read yesterday about the automatic splitting... but for a mesh with multi materials.
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: materials, requests, tips & tricks

Postby patro » Sat Oct 02, 2010 4:08 am

like the max multisub obj material... but it would be nice to have such modifier for normals.
:)
If I'm not wrong and I remember right... Fryrender for max have such modifier to add to all geometry in the scene... now it's not used a lot...
the modifier convert a geometry in to fryrender geometry to avoid normal issue... or unexpected behavior from a mesh with some modifier applied.
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: materials, requests, tips & tricks

Postby hedphelym » Sat Oct 02, 2010 4:20 am

I see,
I'll do some research on the subject, and see if I can find a solution to this.
But it will take some time, because people are fixing my apartment for the next week, so everything is taken out of the apartment..

But I will find some time to think and test. :)
User avatar
hedphelym
Developer
 
Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: materials, requests, tips & tricks

Postby patro » Sat Oct 02, 2010 4:25 am

hedphelym wrote:I see,
I'll do some research on the subject, and see if I can find a solution to this.
But it will take some time, because people are fixing my apartment for the next week, so everything is taken out of the apartment..

But I will find some time to think and test. :)


OK!
that would be nice... :)
thank you for your effort
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: materials, requests, tips & tricks

Postby patro » Sat Oct 16, 2010 4:49 am

I opened blender and imported in a scene the cloth.lbm
well Luxblend import the luxrender material file... and display it in the editor for what it is.
you can edit it like you want... and like you do with a LrMaterial
luxblend export the material normally... with no reference to any *.lbm
the LrCustom material was designed to do also this... importing lbm files
download/file.php?id=4532&mode=view
but I don't know if perpixel added it to source file.

the cloth lbm is a mix material... and is exported as mix material
Code: Select all
    # Material 'elica blur'
Texture "elica blur::amount" "float" "imagemap"
   "string wrap" ["repeat"]
   "string channel" ["mean"]
   "string filename" ["f:\\CAD\\mappe\\mappe stoffa\\cloth mask.jpg"]
   "float gamma" [2.200000]
   "float gain" [1.000000]
   "string filtertype" ["bilinear"]
   "string mapping" ["uv"]
   "float uscale" [0.600000]
   "float vscale" [-0.600000]
   "float udelta" [0.000000]
   "float vdelta" [1.000000]
Texture "elica blur:mat1:Kd" "color" "imagemap"
   "string wrap" ["repeat"]
   "string filename" ["f:\\CAD\\mappe\\mappe stoffa\\cloth Checker.jpg"]
   "float gamma" [2.200000]
   "float gain" [1.000000]
   "string filtertype" ["bilinear"]
   "string mapping" ["planar"]
   "float udelta" [0.000000]
   "float vdelta" [0.000000]
   "vector v1" [0.600000 0.000000 0.000000]
   "vector v2" [0.000000 0.600000 0.000000]
Texture "elica blur:mat1:Kd.scale" "color" "scale" "texture tex1" ["elica blur:mat1:Kd"] "color tex2" [0.900000 0.900000 0.900000]
Texture "elica blur:mat1:bumpmap" "float" "imagemap"
   "string wrap" ["repeat"]
   "string channel" ["mean"]
   "string filename" ["f:\\CAD\\mappe\\mappe stoffa\\cloth Checker.jpg"]
   "float gamma" [2.200000]
   "float gain" [1.000000]
   "string filtertype" ["bilinear"]
   "string mapping" ["uv"]
   "float uscale" [0.600000]
   "float vscale" [-0.600000]
   "float udelta" [0.000000]
   "float vdelta" [1.000000]
Texture "elica blur:mat1:bumpmap.scale" "float" "scale" "texture tex1" ["elica blur:mat1:bumpmap"] "float tex2" [1.0]
MakeNamedMaterial "elica blur:mat1"
   "string type" ["glossy"] "texture Kd" ["elica blur:mat1:Kd.scale"]
   "color Ks" [0.793110 0.793110 0.793110] "float index" [0.0] "float uroughness" [0.342997] "float vroughness" [0.342997] "texture bumpmap" ["elica blur:mat1:bumpmap.scale"]
MakeNamedMaterial "elica blur:mat2"
   "string type" ["null"]
MakeNamedMaterial "elica blur"
   "string type" ["mix"] "texture amount" ["elica blur::amount"] "string namedmaterial1" ["elica blur:mat1"] "string namedmaterial2" ["elica blur:mat2"]
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: materials, requests, tips & tricks

Postby hedphelym » Sat Oct 16, 2010 5:41 am

thank you, this clears up a lot of questions.
And also I think I might have a solution on how to make the mix material work.
But I have to test some theories first.. :)

I might have time tonight to look at this.
User avatar
hedphelym
Developer
 
Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: materials, requests, tips & tricks

Postby patro » Sun Oct 17, 2010 4:39 am

hey,

I have a question about.... the script you want to write, for automatic normal splitting during the exporting process.
is possible to add to it also an automatic splitting function for IDs?
so that we are able to use max multi/sub object material... because some times splitting a mesh with different ID and modifiers... need to be reedit.
writing support for "multi/sub object" material is useless... since Luxrender don't support multiple ID... the LuxBlend method is a nice trick.
what do you think about?

Patro

PS: if you need some other exports data from LuxBlend... please let me know ;)
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: materials, requests, tips & tricks

Postby patro » Wed Dec 08, 2010 6:15 am

Hi,
don't know if you just know about... so
... jeanphi added a new texture... see more here.
viewtopic.php?uid=498&f=10&t=5044&start=0
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 1 guest