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

Postby moure » Wed Feb 16, 2011 11:05 am

perfect, if you need any help just ask!
User avatar
moure
Developer
 
Posts: 410
Joined: Sun Sep 26, 2010 4:32 am
Location: Greece

Re: What im working on right now

Postby PerPixel » Wed Feb 16, 2011 11:16 am

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
Developer
 
Posts: 107
Joined: Fri Jul 03, 2009 7:13 am
Location: Montreal, Canada

Re: What im working on right now

Postby patro » Wed Feb 16, 2011 1:15 pm

Perpixel,
sorry for the late reply.

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.

test.jpg

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
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: What im working on right now

Postby PerPixel » Wed Feb 16, 2011 2:34 pm

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
Developer
 
Posts: 107
Joined: Fri Jul 03, 2009 7:13 am
Location: Montreal, Canada

Re: What im working on right now

Postby patro » Wed Feb 16, 2011 2:50 pm

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.
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: What im working on right now

Postby PerPixel » Fri Feb 18, 2011 11:22 pm

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
Developer
 
Posts: 107
Joined: Fri Jul 03, 2009 7:13 am
Location: Montreal, Canada

Re: What im working on right now

Postby moure » Sat Feb 19, 2011 6:57 am

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.
User avatar
moure
Developer
 
Posts: 410
Joined: Sun Sep 26, 2010 4:32 am
Location: Greece

Re: What im working on right now

Postby patro » Sat Feb 19, 2011 7:10 am

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.
you can ask about in IRC to dougal2.

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

Code: Select all
AttributeBegin
Rotate -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.
User avatar
patro
 
Posts: 1798
Joined: Fri Feb 29, 2008 9:06 pm
Location: mount Etna

Re: What im working on right now

Postby PerPixel » Sat Feb 19, 2011 11:54 am

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
Developer
 
Posts: 107
Joined: Fri Jul 03, 2009 7:13 am
Location: Montreal, Canada

Re: What im working on right now

Postby PerPixel » Sat Feb 19, 2011 12:42 pm

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
(31.22 KiB) Downloaded 28 times
PerPixel
Developer
 
Posts: 107
Joined: Fri Jul 03, 2009 7:13 am
Location: Montreal, Canada

PreviousNext

Return to LuxMax (Autodesk 3Ds Max Exporter)

Who is online

Users browsing this forum: No registered users and 0 guests