## feature requests

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

Moderators: Ratow, hedphelym, coordinators

### Re: feature requests

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

patro

Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

### Re: feature requests

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.

hedphelym

Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

### Re: feature requests

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 20 2 3   ] "point P" [0.058816 0.058816 0.0000000.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 axisRotate -90.0  0 0 1Scale -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 hereAttributeBegin# rotate image -90 degrees around Z axisRotate -90.0  0 0 1Scale -1 1 1LightGroup "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

patro

Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

### Re: feature requests

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.

hedphelym

Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

### Re: feature requests

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

patro

Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

### Re: feature requests

Hi,

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

Jeanphi
jeanphi

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

### Re: feature requests

Ok, I will test this when I get home later today.

hedphelym

Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

### Re: feature requests

Almost got the normal's working..
Sample:

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.

hedphelym

Posts: 793
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

### Re: feature requests

hedphelym wrote:.......

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

patro

Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

### Re: feature requests

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

patro

Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

PreviousNext