To LUGNET HomepageTo LUGNET News HomepageTo LUGNET Guide Homepage
 Help on Searching
 
Post new message to lugnet.cad.rayOpen lugnet.cad.ray in your NNTP NewsreaderTo LUGNET News Traffic PageSign In (Members)
 CAD / Ray-Tracing / 2053
2052  |  2054
Subject: 
Re: LPub/LSynth/Mega-POV Question
Newsgroups: 
lugnet.cad.ray
Date: 
Wed, 7 Jan 2004 01:40:36 GMT
Viewed: 
1706 times
  
In lugnet.cad.ray, Larry Pieniazek wrote:
In lugnet.cad.ray, David Perdue wrote:
Hello,

I’m doing some rendering for Building Instructions, and am coming across a
little problem that I am not quite sure how to resolve. Here is the big picture:
I am doing extremely high quality BI’s, using LPub, which means that the
resolution is very large. Two of the features I added are LSynth generated parts
(mainly electrical wires -- these are MindStorms BI’s) and outlining of the
renderings using Mega-POV.

However, the problem is, there are little tiny (VERY tiny) “spaces” in between
certain sections of the bendable electrical wires generated with LSynth; they
are not all throughout the wires, just in a section here and there. Whether they
are there because the wires aren’t set up correctly, or they are there because
that is the way they are generated I don’t know. From a resolution of 800x600,
they are practically invisible and don’t cause any problems. From, say, a
1200x1500 resolution, they are still invisible once the rendered image gets
squeezed down, but the image is so large dimension-wise to start with, that
Mega-POV catches these little “cracks” and fills them in with bright white
spots. Even when the final image is squeezed down, these white spots are
visible; although not horrendous, they can be noticed if the image is
scrutinized long enough. I simply cannot be having these white specks in my
images.

Does anybody have any suggestions? Is there any way to fix this, or will I just
have to redo the electrical cables very carefully until all the cracks go away?
The latter scenario does not seem a pleasant one and I'm not sure if it is the
best solution. I have tried messing around with the Mega-POV options in LPub,
but no success so far.

Any help would be greatly appreciated.

Synthesised wire and tubing, if I recall correctly, is achieved by placing a
large number of "primitive" elements along the spline that defines the
centerline of the desired shape, aligned so they are tangential to the spline at
that point, and spaced out so that they just overlap each other. The tiny spaces
you see are presumably where they don't quite overlap.

This is just a wild guess but are the gaps where the wires bend more, or on
sections where the wires are straighter?

Yes, the gaps are where the wires bend more. I figured that the bending was
responsible for the gaps.


One possible hack is to replace the wire primitive used with one that is just
slightly longer so that when it's pieced together it overlaps the next piece
more.

That's just a guess, but it may be easier to do that than to adjust the
interelement spacing (that is used within the code to decide where to place the
elements on the spline) to make the elements a bit closer together,

Hmmmm...going through all the gaps and trying to fix them probably won't work. I
am fully synthesizing my models, so there is ALOT of wires. Replacing the
primitive might be a possibility.


Kevin would know for sure, I'm just guessing. But I hope it was of some help.

Thank you greatly -- any information is indeed greatly appreciated.

In lugnet.cad.ray, Allister Mclaren wrote:
I'm no expert in maga-pov or lpub, but if everything else looks ok, I'd just
erase these white spots with Photoshop or whatever picture editing software
you use. Would this be more work than remodeling the cables, or less?

It would be less work than remodeling the wires, but I already tried this with
my PhotoDeluxe cloning feature, and, unfortunately, it doesn't look "natural".
There is a good amount of this "white stuff". Thanks for the suggestion though -
I always like to hear everyones' suggestions.

David J. Perdue



Message has 1 Reply:
  Re: LPub/LSynth/Mega-POV Question
 
In lugnet.cad.ray, David Perdue wrote: David, This problem is tops of the list of things to fix. Kevin (21 years ago, 7-Jan-04, to lugnet.cad.ray)

Message is in Reply To:
  Re: LPub/LSynth/Mega-POV Question
 
(...) Synthesised wire and tubing, if I recall correctly, is achieved by placing a large number of "primitive" elements along the spline that defines the centerline of the desired shape, aligned so they are tangential to the spline at that point, (...) (21 years ago, 6-Jan-04, to lugnet.cad.ray)

8 Messages in This Thread:



Entire Thread on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact

This Message and its Replies on One Page:
Nested:  All | Brief | Compact | Dots
Linear:  All | Brief | Compact
    

Custom Search

©2005 LUGNET. All rights reserved. - hosted by steinbruch.info GbR