News:

All posts discussing pricing or where to buy TurboCAD will be deleted.

Main Menu

luminance fixed to object.

Started by Andy H, February 03, 2017, 04:01:38 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Andy H

A bit late for a 2017 wish (maybe a patch),  I would like RedSDK luminance lights to stay attached to the object rather than the luminance position when it is set,  at present if I attach a luminance and then moves or rotates the object, the luminance often stays in the position it was when attached, and not the new position.

I have to set the object luminance to none and then re-attach it to get it to display correctly,  OK, not a major problem, just a  bit annoying.


Jeff_in_90620

Not my area of expertise, but couldn't you Group or Block them?


Jeff
Jeff

TC 2026 Pro Platinum plus 2015->2024 (most with LightWorks & RedSDK) & V21
System: AMD Ryzen 9 7950X, MSI Mag X670E Tomahawk WiFi, 64GB RAM @ 4.80GHz, ARC A770 w/16GB, 3 x Samsung NVMe 990 (1TB), Windows 11 Pro (64-bit)

Vlad Veselov

#2
Andy,
Quote from: Andy H on February 03, 2017, 04:01:38 PM
A bit late for a 2017 wish (maybe a patch),  I would like RedSDK luminance lights to stay attached to the object rather than the luminance position when it is set,  at present if I attach a luminance and then moves or rotates the object, the luminance often stays in the position it was when attached, and not the new position.

This is a bug and similar to the lack of render update.

Can you please describe the problem step by step or send me a file with this problem?

Vlad

Andy H

Quote from: Vlad Veselov on February 04, 2017, 10:28:17 AM
you please describe the problem step by step or send me a file with this problem?
Vlad
.

Thanks for looking at this, attached is a simple file which I can reproduce the effect on my computer - RedSDK

1), Render as quality raytrace
2), Switch back to wireframe
3), Move sphere sideways (Y axes) so Z axes points at the 2nd object
4), Right click sphere and go into luminance and edit the beam luminance - turn on shadows.
5), Ok to exit back to drawing.
6), Re-render.

On my computer, the beam still points towards the first object,  I can easily get round the problem by selecting the sphere, set luminance to none and click ok, then re-attach the luminance which now points correctly at the 2nd object.

Thanks
Andy

Vlad Veselov

Andy

Thanks for description. This is a bug and will be fixed.

Steps to reproduce
  - move/rotate a object with luminance
  - edit luminance

Quote from: Andy H on February 04, 2017, 11:36:44 AM
I can easily get round the problem by selecting the sphere, set luminance to none and click ok, then re-attach the luminance which now points correctly at the 2nd object.
Yes. Demo from my computer is attached.

Vlad


AussieBloke

How did you get the black ball to show up as the selector or is the unique to your apps?

Daz

Henry Hubich

Quote from: Aussie@4868 on February 06, 2017, 11:51:26 PM
How did you get the black ball to show up as the selector or is the unique to your apps?

Daz

Daz, I think the black ball is the object being selected: it's the object to which a Luminance is assigned. I think.

Henry H

AussieBloke

Henry I'm just a learner here, is this something to do with a luminace object placed in the model and you bounce light of it.

This is a clever method for fast lighting and rendering, how do you do this?

Just point me in the right direction, eg: references or docs etc.

Thanks

Daz

Henry Hubich

Quote from: Aussie@4868 on February 10, 2017, 05:29:05 PM
Henry I'm just a learner here, is this something to do with a luminace object placed in the model and you bounce light of it.

This is a clever method for fast lighting and rendering, how do you do this?

Just point me in the right direction, eg: references or docs etc.

Thanks

Daz

Daz, were you addressing me or Andy H?

Henry H

Andy H

Quote from: Henry Hubich on February 10, 2017, 07:22:54 PM
Daz, were you addressing me or Andy H?

I though Daz was asking you Henry :)

Quote from: Aussie@4868 on February 10, 2017, 05:29:05 PM
is this something to do with a luminace object placed in the model and you bounce light of it.
This is a clever method for fast lighting and rendering, how do you do this?

Not bounced off it, the sphere is the luminance (assigned under the objects properties),  one could pick something that's either not in the scene, or an object designed to emit light like a lampshade, bulb, torch etc.  it was just left as a moveable sphere for this test file.

I'm not an expert with Luminance, many years ago back in v11 days there was a book - pdf by Kevin Doucette on lighting which included some things about luminance, but unlike Henry's book I don't think it was put out into the public domain as a free training aid maybe someone else knows for sure..

However, luminance isn't fast, ok, a simple beam light isn't bad but more complex things can get a lot slower than normal lights. I'd suggest getting used to normal lights first and then progressing, you won't know the name, but there was a gentleman who was excellent at lighting,  called Richard Brehm http://www3.turbocadcommunity.com/tiki-browse_gallery.php?galleryId=5 who used to talk about rendering / lighting in hours not minutes.


Henry Hubich

A few comments to elaborate a bit on Andy's last post...

You can assign a Luminance to any 3D object via its Properties dialog, thereby turning that object into a light source. Two advantages of such a luminary are 1) if you disable its Shadows parameter the light will penetrate normally opaque objects; and 2) if you enable Shadows and enable the "On" button beside the Shadow transparency label -- but do NOT enable any of the other buttons in that particular row -- then the light will shine through transparent objects such as glass.

Be aware that the Location parameter of the Luminance is based upon (0,0,0) being the center of extents of the object to which the Luminance is assigned. Therefore if you set Location to (0,0,0), which is the default in many cases, the light source will be inside the object. Consequently, if the object is not transparent, it won't emit any light. This is easily remedied by enabling "Load to render luminance only." Then the object itself won't appear when you render the drawing, but it will still function as a light source.

A many-years-old glitch in virtually all kinds of Luminance is that even if they shine through glass, it's nearly impossible to make them create soft shadows. Shadows cast by light shining through glass will always be hard-edged.

When using a "Distant" or "Spot" Luminance, I like to assign it to a slender 3D Cone. That makes it easy to aim the light, simply by adjusting the orientation of that Cone.

Henry H

AussieBloke

Great tip on using spot with a slender cone, thanks H. 8)