LuxCore: BACKGROUND_IMG image pipeline plugin

Discussion related to the implementation of new features & algorithms to the Core Engine.

Moderators: Dade, jromang, tomb, zcott, coordinators

Re: LuxCore: BACKGROUND_IMG image pipeline plugin

Postby Dade » Wed Jul 06, 2016 2:18 am

pciccone wrote:Thank you. I meant the LuxCore modes in LuxClassic. We can access many LuxCore features from there using the config string. Isn't there anything that can be done to backport this to LuxClassic?


It may work, you can use the Renderer "localconfigfile" (or "config") parameter to reference a file with properties: they will overwrite the render configuration properties (https://bitbucket.org/luxrender/lux/src ... r.cpp-3686)

The property file could include a complete LuxCore image pipeline definition (like the one in the first post). Note: it will not work with network rendering without copying the files by hand.
User avatar
Dade
Developer
 
Posts: 8318
Joined: Sat Apr 19, 2008 6:04 pm
Location: Italy

Re: LuxCore: BACKGROUND_IMG image pipeline plugin

Postby pciccone » Wed Jul 06, 2016 5:12 am

Thank you very much David. I will it a try and let you know.
User avatar
pciccone
Developer
 
Posts: 1579
Joined: Wed Jan 13, 2010 11:02 am
Location: South Carolina

Re: LuxCore: BACKGROUND_IMG image pipeline plugin

Postby pciccone » Wed Jul 06, 2016 6:05 am

I tried the following and it doesn't work. Am I doing something wrong?

Code: Select all
Film "fleximage"
  "integer outlierrejection_k" [1]
  "integer xresolution" [960]
  "integer yresolution" [540]
  "bool premultiplyalpha" ["true"]
  "string filename" ["reality_scene"]
  "float gamma" [2.2]
  "integer displayinterval" [10]
  "integer writeinterval" [300]
 "string tonemapkernel" ["linear"]
   "float linear_sensitivity" [160]
   "float linear_exposure" [0.5]
   "float linear_fstop" [4]
   "float linear_gamma" [2.2]
  "bool write_png" ["true"]
  "string write_png_channels" ["RGBA"]
  "bool write_png_16bit" ["false"]
  "bool write_png_gamutclamp" ["true"]
  "bool write_tga" ["false"]
  "string write_tga_channels" ["RGBA"]
  "bool write_tga_gamutclamp" ["true"]
 "bool write_exr" ["false"]
  "string write_exr_channels" ["RGBA"]
  "string write_exr_compressiontype" ["ZIP (lossless)"]
  "bool write_exr_gamutclamp" ["true"]
  "bool debug" ["false"]
  "bool write_resume_flm" ["true"]
  "bool restart_resume_flm" ["false"]
  "bool write_flm_direct" ["true"]
  "float colorspace_white" [0.314275 0.329411]
  "float colorspace_red" [0.630 0.340]
  "float colorspace_green" [0.310 0.5950]
  "float colorspace_blue" [0.1550 0.0700]
  "string ldr_clamp_method" ["lum"]

Renderer "luxcore" "string config" [
  "renderengine.type = PATHCPU"
  "accelerator.type = EMBREE"
"film.imagepipeline.0.type = TONEMAP_LINEAR"
"film.imagepipeline.1.type = BACKGROUND_IMG"
"film.imagepipeline.1.file = /Users/paolo/3dscenes/Reality/Armor_CU_sky.png"
"film.imagepipeline.1.gamma = 2.2"
"film.imagepipeline.1.storage = byte"
"film.imagepipeline.2.type = GAMMA_CORRECTION"
"film.imagepipeline.2.value = 2.2"
"film.outputs.0.type = ALPHA"
"film.outputs.0.filename = luxball_ALPHA.png"

]
User avatar
pciccone
Developer
 
Posts: 1579
Joined: Wed Jan 13, 2010 11:02 am
Location: South Carolina

Previous

Return to Architecture & Design

Who is online

Users browsing this forum: No registered users and 4 guests