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 / 2052
2051  |  2053
Subject: 
Re: LPub/LSynth/Mega-POV Question
Newsgroups: 
lugnet.cad.ray
Date: 
Tue, 6 Jan 2004 23:59:48 GMT
Viewed: 
1783 times
  
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?

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,

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



Message has 2 Replies:
  Re: LPub/LSynth/Mega-POV Question
 
(...) Yes, the gaps are where the wires bend more. I figured that the bending was responsible for the gaps. (...) 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 (...) (21 years ago, 7-Jan-04, to lugnet.cad.ray)
  Re: LPub/LSynth/Mega-POV Question
 
(...) Larry is right. The cross sections are not overlapping as they are supposed to. This can happen if the wire is bent too hard, or the constraints are too far apart. LPub uses a large fixed size array when synthesizing between any two (...) (21 years ago, 7-Jan-04, to lugnet.cad.ray)

Message is in Reply To:
  LPub/LSynth/Mega-POV Question
 
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 (...) (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