feature requests

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

Moderators: Ratow, hedphelym, coordinators

Re: feature requests

Postby patro » Fri Nov 12, 2010 5:01 am

Hi,
a few question... but not to bother you ;) it's because I have an open topic on hdrlab

did you just add the new sky parameters and the environment background rotation and mirroring mapping parameters?
Spot, point, LR Sun , LR Sky works.


does this mean that all other lights are no more supported? direct light... & mr
I'm also wondering if the spot light just can export the ies info for Luxrender :!:
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: feature requests

Postby hedphelym » Fri Nov 12, 2010 5:15 am

here's a list of currently working lights:

Omnilight
targetSpot
TargetDirectionallight
LuxSun
LuxSky

did you just add the new sky parameters and the environment background rotation and mirroring mapping parameters?

right now this works just as with the latest c++ plugin, but I can expose all these settings in GUI.

I'm also wondering if the spot light just can export the ies info for Luxrender

Is this when you point to a "IES" file?
If you can give me an example on how it looks in the LXS when a IES is applied then I can do this.
User avatar
hedphelym
Developer
 
Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: feature requests

Postby patro » Fri Nov 12, 2010 5:53 am

here is the code for the light with a ies texture exported from blender with luxblend:

Code: Select all
AttributeBegin # IES
   Transform [0.656875908374786380 0.0 0.0 0.0 0.0 0.656875908374786380 0.0 0.0 0.0 0.0 0.656875908374786380 0.0 0.000000029802322388 0.937168002128601070 0.997336149215698240 1.0]
   LightGroup "IES"
AreaLightSource "area" "texture L" ["IES:light:L"]
   "float power" [100.000000]
   "float efficacy" [17.000000]
   "float gain" [1.000000]
   "string iesname" ["C:\\Documents and Settings\\patrizio\\Desktop\\Desktop\\5.ies"]
   Shape "trianglemesh" "integer indices" [
0 1 2
0 2 3
   ] "point P" [
0.058816 0.058816 0.000000
0.058816 -0.058816 0.000000
-0.058816 -0.058816 0.000000
-0.058816 0.058816 0.000000
   ]
AttributeEnd


right now this works just as with the latest c++ plugin, but I can expose all these settings in GUI.

oh yes! and thank you.
I have to edit manually the lxs at time to add the parameters.
do you need the code line for the environment background mapping/rotation/flipping?
here the code lines that Lord shared.

Code: Select all
# rotate image -90 degrees around Z axis
Rotate -90.0  0 0 1
Scale -1 1 1


and here how it looks in the lxs
Code: Select all
WorldBegin

#Env userprop F:\CAD\mappe\hrdi dds\sIBL-Collection\lago_di_garda_low\lago_di_garda_low_Bg.jpg

# Enviromentmap goes here
AttributeBegin

# rotate image -90 degrees around Z axis
Rotate -90.0  0 0 1
Scale -1 1 1

LightGroup "environment"
LightSource "infinite"
"string mapping" ["latlong"]
"string mapname" ["F:\\CAD\\mappe\\hrdi dds\\sIBL-Collection\\lago_di_garda_low\\lago_di_garda_low_Bg.jpg"]
"float gamma" [1.0]
"float gain" [1.0]
AttributeEnd
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: feature requests

Postby hedphelym » Fri Nov 12, 2010 7:36 am

thank you.

so the IES is applied as a texture, that makes it even more easy to implement.
I can make a new texture like I did with the LampSpectrum, then add a "browse"
that you select IES file with.
User avatar
hedphelym
Developer
 
Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: feature requests

Postby patro » Fri Nov 12, 2010 7:47 am

hedphelym wrote:..........
so the IES is applied as a texture................


I'm not sure about... I hope some one with the knowledge can help you. but it seams that you are right about.... in the blender scene... the ies light is a plane with a light material applied.

by the way... I'm not blender user.... but if you need some lxs code lines exported from it... to better understand how to implement it in 3ds max... please ask ;)
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: feature requests

Postby jeanphi » Fri Nov 12, 2010 7:51 am

Hi,

No, the IES is an option to the "point" and "area" light sources (parameter "string iesname").

Jeanphi
jeanphi
Developer
 
Posts: 6580
Joined: Mon Jan 14, 2008 7:21 am

Re: feature requests

Postby hedphelym » Fri Nov 12, 2010 7:59 am

Ok, I will test this when I get home later today.
User avatar
hedphelym
Developer
 
Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: feature requests

Postby hedphelym » Sat Nov 13, 2010 12:24 pm

Almost got the normal's working..
Sample:

normal_amost_fixed.jpg


Also, the IES data, since this is an option for a light, and not a texture I've got to create new lights that
includes this new buttons for selecting IES data file.
This will take a little while, so I won't focus on this right now, more important to get the normals fixed, + all materials.

I'm also almost done with coding in the integrators into camera (Sooo many settings to add..) but it's moving forward.

and one note; the exporter has not crashed 3dsmax a single time.
Just some times outputs an error (obviously since I'm coding on it while testing).
But still - it works great.
User avatar
hedphelym
Developer
 
Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: feature requests

Postby patro » Sat Nov 13, 2010 12:42 pm

hedphelym wrote:.......

and one note; the exporter has not crashed 3dsmax a single time.
.......

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

Re: feature requests

Postby patro » Sun Nov 14, 2010 1:14 pm

Hi all max user.

I posted some info about the recent additions to LuxRender... give a look if you miss.....
viewtopic.php?f=13&t=4373&p=50860#p50860
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 0 guests