fake blur mix mat help

Discussions about LuxRender's materials, and how to make the most of them.

Moderator: coordinators

fake blur mix mat help

Postby patro » Sat Oct 09, 2010 12:10 pm

hi,
I'm trying to fake the motion blur effect of a airplane propeller.... by using a modified cylinder with applied a mix material edited by hand.
well I simply can't understand why it won't work. what I get is an aluminum disk.

Code: Select all
AttributeBegin
    # Material 'elica blur'
Texture "elica blur::amount" "float" "imagemap"
   "string wrap" ["uv"]
   "string channel" ["colored_mean"]
   "string filename" ["f:\\CAD\\mappe\\maxwell materials\\Automotive\\cerchioni in movimento\\Copia di fake mblur wheel_LUC_weight.png"]
   "float gamma" [2.200000]
   "float gain" [1.000000]
   "string filtertype" ["bilinear"]
   "string mapping" ["uv"]
   "float uscale" [1.000000]
   "float vscale" [-1.000000]
   "float udelta" [0.000000]
   "float vdelta" [1.000000]
MakeNamedMaterial "elica blur:mat1"
   "string type" ["metal"]
   "string name" ["aluminium"] "float uroughness" [0.5] "float vroughness" [0.5]
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"]


lxs with maps
propeller fake blur.rar
(4.7 MiB) Downloaded 23 times


thank you for any help
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: fake blur mix mat help

Postby patro » Sat Oct 09, 2010 12:46 pm

I forget to mention... to render the lxs you just need to put the texture in C:\
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: fake blur mix mat help

Postby xray » Sun Oct 10, 2010 4:33 am

Did you checked the log? There is an error: [2010-10-10 11:28:52 Error: 47] Unable to decode type for token 'alpha'
User avatar
xray
 
Posts: 250
Joined: Mon Jun 15, 2009 6:18 pm

Re: fake blur mix mat help

Postby patro » Sun Oct 10, 2010 4:52 am

xray wrote:Did you checked the log? There is an error: [2010-10-10 11:28:52 Error: 47] Unable to decode type for token 'alpha'

thank you xray,
I checked the log... this error is also present. there is no difference if in the scene is a texture or not.
the material is exported from blender and pasted on an exported geometry from 3ds max.
I exported the mapped geometry from max as obj.... imported in to blender... maintained the uv mapping... added mix material... and exported.
then I open the lxs file to copy the exported mix material.

does this mean that I have to check the render setting?

PS: strange is that the exported scene from blender work.

thank you
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: fake blur mix mat help

Postby patro » Sun Oct 10, 2010 7:04 am

I find out the problem...
the errror:
[2010-10-10 13:59:24 Error: 47] Unable to decode type for token 'alpha'
has nothing to do
there was a missing code line..... before the geometry data begin
Code: Select all
   NamedMaterial "elica blur"    <--- missing code line
Shape "trianglemesh" "integer indices"[


I mixed the material with a glass material instead the aluminum mat.. and it's better

thank you for your help

is there anyone that know the meaning of this error?
[2010-10-10 13:59:24 Error: 47] Unable to decode type for token 'alpha'
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: fake blur mix mat help

Postby patro » Sun Oct 10, 2010 12:15 pm

wich is the better one?
this one is made with a textured glass material.
lux sky yafa plane.jpg

this one is made with the same textured glass material... but as sub material of the mix material with a null mat
lux sky yafa plane mix.jpg


I think that a mix version of both is the best solution for a good fake effect.
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: fake blur mix mat help

Postby xray » Sun Oct 10, 2010 12:59 pm

The first one is a lot better!

By the way nice trick to fake motion blur :)
User avatar
xray
 
Posts: 250
Joined: Mon Jun 15, 2009 6:18 pm

Re: fake blur mix mat help

Postby patro » Sun Oct 10, 2010 1:25 pm

xray wrote:The first one is a lot better!

By the way nice trick to fake motion blur :)

thank you.
oh yes... at time we max user haven't it in the exporter.... but I use this technique because it's also time speeduping!

for the firts one... I used a non reflecting textured glass material in architectural mode and ior 1.0(air)

will try now with some reflection
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna


Return to Materials Help

Who is online

Users browsing this forum: No registered users and 1 guest