feature requests

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

Moderators: Ratow, hedphelym, coordinators

Re: feature requests

Postby hedphelym » Sat Sep 18, 2010 3:08 am

tomb wrote:Excellent! :)

And just a friendly reminder to update the hg repository too once in a while :)


Done!
User avatar
hedphelym
Developer
 
Posts: 792
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: feature requests

Postby patro » Sat Sep 18, 2010 4:01 am

Lux bugfix release test.jpg

before to go... I try a fast test with the new normal bug fix release.
gold and glass2 ior 2, abs green, preset constant.

btw... are the only working presets in glass2 at time: ior, abs and constant?

thanks

Edit:
rendered with the latest weekly builds

@Hedphelym
did you render the living room with the latest weekly builds? if yes.... do you find it faster?
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: feature requests

Postby hedphelym » Sat Sep 18, 2010 4:39 am

I rendered with latest stable.
I will install latest weekly build later today on my computer and renderslaves.
I need it because I'm adding the velvet material. :)
User avatar
hedphelym
Developer
 
Posts: 792
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: feature requests

Postby patro » Sat Sep 18, 2010 4:53 am

I'm mobile... I can't test...

well.... OK, please report if the new version work faster than the stable one.

for the glass2... It's like I suppose(?) yes!

please remember also to enable exporting of - "mrsun or directlight" from "daylight system"- as LuxSun.

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

Re: feature requests

Postby patro » Mon Sep 20, 2010 9:31 am

hi, I'm back
I have to notice you that the black sphere you rendered are black due an error in LuxMax... the u/v exponent don't work if you use a value of 0 for each...
download/file.php?id=10249&t=1
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: feature requests

Postby patro » Tue Sep 21, 2010 5:39 am

Hi,
yesterday I post a new request in Luxrender official request thread... and Jeanphi put me to the attention that there are other value to add to the LuxSky parameter... the A, B, C, D and E parameters as "float aconst", "float bconst".....etc.
see yafaray sky parameter setting page since LuxSky is based on the same paper.
http://www.yafaray.org/documentation/us ... nds#sunsky
thank you
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: feature requests

Postby hedphelym » Tue Sep 21, 2010 5:42 am

yes, I saw that.
These can be added fast.

I'll try and do this tomorrow.
User avatar
hedphelym
Developer
 
Posts: 792
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

Re: feature requests

Postby patro » Tue Sep 21, 2010 6:31 am

hedphelym wrote:yes, I saw that.
These can be added fast.

I'll try and do this tomorrow.


Jeanphi answer about the implementation of the new parameters in this related posts:
viewtopic.php?f=36&t=4595&p=48298#p48297
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: feature requests

Postby patro » Sun Sep 26, 2010 4:00 am

hi,
well.... PerPixel didn't find a solution to manage the right but wrong exported normals from 3ds max. there is nothing wrong.
I think that a solution would be a simple 2-sided material function to add to all LrMaterial... but at time it seams to be not supported in Luxrender.
there is a solution... you must ad a edit-poly modifier, the chamfer edges(edges with an other orientation), must have an other smoothing group. and you also must increment the edges number of the chamfer surface.
this problem seams to be very similar to the one that blender user have. If so... the problem could be related to Luxrender and not to 3ds max and or exporter. see this post: viewtopic.php?f=36&t=4534&start=40#p48310


well yesterday I had an interesting help from Lord. he explain me that the rotation and flipping of the environment background in Luxrender is supported... and here is how the image will exported....
this is the link of the related posts: viewtopic.php?f=13&t=4373&start=80#p48521

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


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


the "scale" code is used to avoid background flipping.

I tried by editing the code in lxs file..... and it work perfectly...
well.. now my request:
I tried to use 3ds max environment from environment UI, but it wasn't enabled. the max bitmap shaders used for it.... is perfect to control also the flipping and the rotation...
is it possible for you to add the scale function....and the rotation X,Y,Z rotation function... in environment setting in the LrCam menu... and or to the 3ds max bitmap shaders for the environment UI?

my second request is more an idea... well... in the LRCam the environment loading function, load directly an image for the environment. is it possible to make it load the "3ds max bitmap shaders"?

thank you

Patro

PS: congratulation for you good start with the "texture collector utility"
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: feature requests

Postby hedphelym » Sun Sep 26, 2010 4:20 am

there was something wrong with normals initially too.
the thing was that they where exported as "0 0 1" all the time, and not in world space.
So he fixed lot's of the problem (as you can see by scenes working correctly, like the one I posted).

But I understand there's still a problem, but perpixels fix fixed a lot of the initial trouble.
If you export with earlier version and check the normal data then you see it's totally different.

We just need to figure out what causes the second "new" normal error.

I've added this to the export now:

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


I do not want to add the "environment" slot in 3dsmax again right now,
because it works differently then the one in the camera.
(you have to use "native" 3dsmax bitmap in that slot, and not LR bitmap) and this can be confusing. (2 ways of adding bitmaps in different ways etc.) much better to have 1 that supports all features.
I will add the spinners for adjusting the scale and rotation of environment map in camera.
User avatar
hedphelym
Developer
 
Posts: 792
Joined: Mon Aug 18, 2008 7:37 am
Location: Kristiansand Norway

PreviousNext

Return to LuxMax (Autodesk 3Ds Max Exporter)

Who is online

Users browsing this forum: Google [Bot] and 1 guest