What im working on right now

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

Moderators: Ratow, hedphelym, coordinators

Re: What im working on right now

perfect, if you need any help just ask!

moure

Posts: 411
Joined: Sun Sep 26, 2010 4:32 am
Location: Greece

Re: What im working on right now

well yes i need help. we need to add support to all the lr materials. i still have a lot of work on my side. but material are not stand alone.
PerPixel

Posts: 107
Joined: Fri Jul 03, 2009 7:13 am

Re: What im working on right now

Perpixel,

well the script now works flowless, I get only this kind of errors in the luxrender log window.
Code: Select all
[2011-02-16 19:03:07 Info: 0] Loading PLY mesh file: './AutoBackup0luxmaxBall_v0_12/Font_1465_Mesh_031_blacktext.ply'...[2011-02-16 19:03:07 Error: 2] PLY loader error: Error reading from file[2011-02-16 19:03:07 Error: 2] Unable to read PLY mesh file './AutoBackup0luxmaxBall_v0_12/Font_1465_Mesh_031_blacktext.ply'[2011-02-16 19:03:07 Info: 0] Loading PLY mesh file: './AutoBackup0luxmaxBall_v0_12/Font_1464_Mesh_032_blacktext.ply'...[2011-02-16 19:03:07 Error: 2] PLY loader error: Error reading from file[2011-02-16 19:03:07 Error: 2] Unable to read PLY mesh file './AutoBackup0luxmaxBall_v0_12/Font_1464_Mesh_032_blacktext.ply'[2011-02-16 19:03:07 Info: 0] Loading PLY mesh file: './AutoBackup0luxmaxBall_v0_12/Font_1463_Mesh_033_blacktext.ply'...[2011-02-16 19:03:07 Error: 2] PLY loader error: Error reading from file[2011-02-16 19:03:07 Error: 2] Unable to read PLY mesh file './AutoBackup0luxmaxBall_v0_12/Font_1463_Mesh_033_blacktext.ply'[2011-02-16 19:03:07 Info: 0] Loading PLY mesh file: './AutoBackup0luxmaxBall_v0_12/Font_1462_Mesh_034_blacktext.ply'...[2011-02-16 19:03:07 Error: 2] PLY loader error: Error reading from file[2011-02-16 19:03:07 Error: 2] Unable to read PLY mesh file './AutoBackup0luxmaxBall_v0_12/Font_1462_Mesh_034_blacktext.ply'

this is just an example... but the geometries are all rendered correctly.

as you can see it' works just fine using the omni lights and the wireframe colors.

* the camera render smaller than the "safe frame"
thanks

patro

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

Re: What im working on right now

i didnt look into why some ply do not work yet. will do. any other issue related to those? uv are still flipped?

for the camera its doing that because i use the render size value from my script and not from the max render dialog. if you change max render size to match what you have in the script, it should work. i,ll make thos automatic later.
PerPixel

Posts: 107
Joined: Fri Jul 03, 2009 7:13 am

Re: What im working on right now

PerPixel wrote:i didnt look into why some ply do not work yet. will do. any other issue related to those? uv are still flipped?

what I meant is that the geometries are all rendered... no one is missing in the rendered scene.
I reported the log errors but I don't understand the meaning... since all are there.

no issue related to uv, no error about inconsistent normals.
the luxball is designed by me in rhinoceros and imported in max as obj. so strange to me, to not get errors about inconsistent normals.
it seams to work all fine.

thanks for the camera tip I'll try in the next test.

patro

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

Re: What im working on right now

The camera is not feature complete compared to the blender version

Sampler, metropolis
Surface Integrator, path and exphotonmap completed
Volume Integrator, single and emission
Filters, all completed
Accelerator all completed
All film settings but no preset yet
Tonemapper reihard done
portalShape done
PerPixel

Posts: 107
Joined: Fri Jul 03, 2009 7:13 am

Re: What im working on right now

Perpixel hows the material intergration going?
Im not sure how to help you, if you want send me an email with instructions and ill do my best.If you send as a plan of your work in progress,we could create a production plan so as each of us knows what to do next.

moure

Posts: 411
Joined: Sun Sep 26, 2010 4:32 am
Location: Greece

Re: What im working on right now

Hi,

about film-camera-materials pre/sets there are thought also 2 new one to add. they are both releted to the Augmented Reality plugin.
thought that there is no available documentation at time... but I saw it's just implemented in luxblend.

there is another light type to implement... I'm testing it together with the coder. it's an environment light type.

Code: Select all
AttributeBeginRotate -90.0 0 0 1Scale -1 1 1LightGroup "IBL Light"LightSource "iblinfinitesample""string mapping" ["latlong"]"string mapname" ["F:\\CAD\\mappe\\hrdi dds\\sIBL-Collection\\Ueno-Shrine\\03-Ueno-Shrine_8k.jpg"] "string lightname" ["F:\\CAD\\mappe\\hrdi dds\\sIBL-Collection\\Ueno-Shrine\\03-Ueno-Shrine_Env.hdr"]"string blurname" ["F:\\CAD\\mappe\\hrdi dds\\sIBL-Collection\\Ueno-Shrine\\03-Ueno-Shrine_3k.hdr"]"float gamma" [2.2]"float envgain" [1.0]AttributeEnd

as you can see this environment is like the simple environment one but need a 3 bitmap slot interface
the
Code: Select all
Rotate -90.0 0 0 1Scale -1 1 1LightGroup "IBL Light"LightSource "iblinfinitesample""float gamma" [2.2]"float envgain" [1.0]

are shared by all maps.

patro

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

Re: What im working on right now

I'm looking into materials right now. What I had in mind for future development is to have you both design a roadmap for the development. I don't really have any use for LuxRender so I'm not really the right person to define what to do next.

So for material I'll go with moure proposal to plug into existing code. That way we get all the shaders working and I can start working on the unified shader instead.
PerPixel

Posts: 107
Joined: Fri Jul 03, 2009 7:13 am

Re: What im working on right now

Try this, just replace existing files with my stuff.

I made a big mistake with the ply export and just figured that out. Normaly 1 unit = 1 meter. That make things hard to deal with in max so I used to scale things down so 1 unit = 1cm. So this is now back in the PLY exporter and could break your current scenes. Make sure your system units are 1 unit = 1 cm!

Also the ply export is compiled with the max 2010 SDK so it cannot work on older version of max. It that happen the script will automatically use a scripted ply export but its slow. This is not a stable version... barely had time to test anything.
Attachments
Release-19-02-2011.zip