I've created a couple of custom line styles for road marking, to be rendered with Luxology and hopefully also exported to LumenRT.
The first problem is that the thickness of my dashed lines does not diminish as it progresses further from the camera. It seems to suddenly transition to a much thinner line at a random distance. Why is this?
I've also created a solid white line with the same thickness/ width settings as the dashed line, but it doesn't render with the correct thickness.
Here is a summary of the issues, as well as my Line Style settings.
Finally - is it still not possible to export these line styles to LumenRT? Here is an old post on the issue;
Max Voigt said:The first problem is that the thickness of my dashed lines does not diminish as it progresses further from the camera.
For Linestyles to display correctly in a perspective view, diminishing as they recede into the distance, the Physical setting needs to be checked the for the Linestyle.
Max Voigt said: ...possible to export these line styles to LumenRT?
To export line work that represents physical items such as pavement markings you need to use the Stencil tool. The Stencil tool uses the linestyles to create renderable mesh geometry that represent the linestyle by projecting them onto the underlying geometry. Here's a link to the MicroStation help section "Preparing to Stencil Pavement Markings"
Slightly off topic.I noticed that your road markings are somewhat elevated above the road ('we all float down here Georgie'). Wich is not bad, because you don't want those distorted intersection artifacts that appear when roadmarkings are on the same elevation as the road. But you can turn off the shadows for roadmarkings only, so that they look less floaty. In the material editor select the material for you roadmarkings, turn off the Cast Shadow checkbox... and the marking will now look more as if they're stuck to the road.
Ivo Blaauw= = = = = = = = = = = = =Look what the CAD dragged in...
Thanks Ivo – a good tip, and something I generally do when the camera is close enough to see it.
Strangely, CONNECT doesn’t allow a material to be attached or assigned to lines or line styles. I had to create a dummy shape, assign material and then delete the object.
It seems LumenRT actually does pick up these line styles, but the “no shadow” attribute is ignored in the dynamic view. Rendered views and movies, fortunately, do ignore shadows, but only from a distance.
Hi Ron, I did have the Physical checked for the dashed line – but not for the solid, so thanks for pointing that out.
I think I’ve identified the problem as relating to the position of the sun in renderings. This problem goes way back to ray traced lines in SE/J editions. I was hoping there might be some setting to ignore the “angle of solar incidence” or something.
A work-around is to assign a glow material to the geometry, which can sometimes make distant lines more visible but has the downside of glowing too brightly when in shade...
Ron Jones said:To export line work that represents physical items such as pavement markings you need to use the Stencil tool. The Stencil tool uses the linestyles to create renderable mesh geometry that represent the linestyle by projecting them onto the underlying geometry.
I usually use stencilling for closer/ street views and animations (both luxology and LumenRT), but that would be a lot of unnecessary clicks for a large city model that will only be viewed from a distance, and may or may not go to LumenRT later on. I’m trying to find the most flexible road marking techniques for rendering large urban models, to be used interchangeably in Luxology and LumenRT – from all angles and distances.
In MicroStation linestyles seem to be displayed in a way that is similar to text. Text is simplified when it is so far from the camera that it is tiny and unreadable. Similarly, when an element is far enough from the camera, the linestyle is simplified and may lose it's physical characteristics in the distance. If you stencil your pavement markings they won't be simplified as they recede into the distance.
Another benefit of stenciling is that you can check Apply Marking Material which is a material set to cast no shadows.