Lens clipping not exporting

Discussion related to the 'LuxBlend' Blender 2.4+ python exporter script.

Moderators: Ratow, SATtva, coordinators

Lens clipping not exporting

Postby xsl » Wed May 16, 2012 11:37 am

It looks like the lens clipping parameters are not exported in the lxs file.

I'm getting this:
Code: Select all
Camera "orthographic"
   "float screenwindow" [-1.000000000000000 1.000000000000000 -1.000000000000000 1.000000000000000]
   "float shutteropen" [0.000000000000000]
   "float shutterclose" [0.030]
   "float focaldistance" [14.295525358939656]


But I should get this:
Code: Select all
Camera "orthographic"
   "float screenwindow" [-1.000000000000000 1.000000000000000 -1.000000000000000 1.000000000000000]
   "float shutteropen" [0.000000000000000]
   "float shutterclose" [0.030]
   "float focaldistance" [14.295525358939656]
   "float hither" [13.500000000000000]
   "float yon" [16.000000000000000]


Is there a checkbox I need to check or is this a bug?

Thanks
xsl
 
Posts: 85
Joined: Mon Mar 01, 2010 9:42 am

Re: Lens clipping not exporting

Postby J the Ninja » Wed May 16, 2012 11:50 am

There is a "clipping" checkbox under "LuxRender camera" (I think, it's right next to the DOF checkbox). You checked that one right?
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2210
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Lens clipping not exporting

Postby xsl » Wed May 16, 2012 12:08 pm

Facepalm!

This separation of settings between Blender and Luxrender panels is a bit frustrating when searching for stuff. I'm guessing nothing can be done about it?

Thanks
xsl
 
Posts: 85
Joined: Mon Mar 01, 2010 9:42 am

Re: Lens clipping not exporting

Postby J the Ninja » Wed May 16, 2012 12:32 pm

xsl wrote:Facepalm!

This separation of settings between Blender and Luxrender panels is a bit frustrating when searching for stuff. I'm guessing nothing can be done about it?

Thanks


Sometimes there is a need for a Lux-specific override for stuff. At that point no, there is not a whole lot that can be done.
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2210
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Lens clipping not exporting

Postby xsl » Wed May 16, 2012 12:51 pm

I understand the need for Luxrender specific settings. I just wish they could be integrated in the already existing panels (when such a panel exists) instead of new panels. Does Blender allow that? Or maybe completely substitute the Blender panel for the Luxrender one?
xsl
 
Posts: 85
Joined: Mon Mar 01, 2010 9:42 am

Re: Lens clipping not exporting

Postby J the Ninja » Wed May 16, 2012 1:27 pm

xsl wrote:Does Blender allow that?


No. Or at least if it does it is neither documented nor widely known. If anyone has a link to the contrary, let us know.
-Jason

Material DB Admin
User avatar
J the Ninja
Developer
 
Posts: 2210
Joined: Wed May 19, 2010 9:54 pm
Location: Portland, USA

Re: Lens clipping not exporting

Postby jensverwiebe » Wed May 16, 2012 2:44 pm

In this case its a safety net. We indeed use the clipping settings from blender, but
you have to activate the use of it further down. If we would always just blindly work
with those settings, it could give wrong results with camera-types set, blender does not
"know about".
This is for example true for lux environment camera.

Also just clipping would have sideeffects for example not getting light back from objects outside
the clipping, which is not good for a physical renderer but makes sense for BI only.

Jens
Last edited by jensverwiebe on Wed May 16, 2012 2:48 pm, edited 1 time in total.
User avatar
jensverwiebe
Developer
 
Posts: 2124
Joined: Wed Apr 02, 2008 4:34 pm

Re: Lens clipping not exporting

Postby Abel » Wed May 16, 2012 2:48 pm

J the Ninja wrote:Sometimes there is a need for a Lux-specific override for stuff.

I'm sure there is, but at the same time I can understand that the current interface is confusing people. When using Blender internal, as far I know there is no way to switch off camera clipping, so Blender users would probably expect LuxRender to use camera clipping as well. The clipping distances are visible in the the camera panel, so people don't get any visual clues about LuxRender not using those values. Therefore I think it would be better to if LuxBlend's Clipping would be switched on by default.

As LuxRender has (from Blender users' point of view) the option to override Blender's clipping behaviour, I'm tempted to propose renaming the Clipping button to "Disable Clipping", but that creates a "switch off to switch on" kind of behaviour which is no good. But maybe changing it to "infinite clipping field" could work?
User avatar
Abel
Developer
 
Posts: 1412
Joined: Sat Oct 20, 2007 8:13 am
Location: Helsinki, Finland

Re: Lens clipping not exporting

Postby xsl » Wed May 16, 2012 3:16 pm

Is it possible to not show the Blender panels? It looks like it's possible for materials, but is it possible for everything? If so, why not remove the blender panels and replace them with luxrender panels when it makes sense? That way, it would be possible to arrange the UI elements in a more intuitive way.

I like the old luxblend because everything is separate from blender. Luxrender parameters are in the Luxblend UI. There is no confusion.

Now it's all mixed up. I'm sure I'll get use to it, but it's not ideal.

...just my 2 cents
xsl
 
Posts: 85
Joined: Mon Mar 01, 2010 9:42 am

Re: Lens clipping not exporting

Postby jensverwiebe » Wed May 16, 2012 3:48 pm

xsl wrote:Is it possible to not show the Blender panels? It looks like it's possible for materials, but is it possible for everything? If so, why not remove the blender panels and replace them with luxrender panels when it makes sense? That way, it would be possible to arrange the UI elements in a more intuitive way.

I like the old luxblend because everything is separate from blender. Luxrender parameters are in the Luxblend UI. There is no confusion.

Now it's all mixed up. I'm sure I'll get use to it, but it's not ideal.

...just my 2 cents


..exact what i atm think of, replace blender lens pane......
User avatar
jensverwiebe
Developer
 
Posts: 2124
Joined: Wed Apr 02, 2008 4:34 pm

Next

Return to LuxBlend (Blender Exporter)

Who is online

Users browsing this forum: No registered users and 1 guest