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 / 1981
1980  |  1982
Subject: 
Detail on curved surfaces?
Newsgroups: 
lugnet.cad.ray
Date: 
Fri, 19 Sep 2003 17:37:01 GMT
Viewed: 
1461 times
  
I'm working on a rendering that will feature surface detail on a sphere, similar
to the way a cylinder (of opposing color) would intersect that sphere.  At the
moment, I'm using this basic format:

#declare thingie = union {
   intersection {
   cylinder {<-4,0,-20>,<-4,0,-10>,4}
   sphere {<0,0,0>,15}
   pigment {rgb <.6,.6,.8>}
   sphere {<0,0,0>,15
   clipped_by {cylinder {<-4,0,-20>,<-4,0,-10>,4 inverse}}
   pigment {rgb <1,1,1>}
   }

That's probably not quite accurate, but you get the idea.  I'm guessing that
POV-Ray is able to do this (namely, putting a dot exactly on the sphere) in one
step rather than in a pair "intersection/clipped_by" statements.

Does this make sense?  Can anyone suggest a more streamlined method to
accomplish the same thing?  I intend to use more complicated interplays than
circle-and-cylinder, and my current route seems largely redundant.  I'm also not
really interested in image mapping as a solution, since I'd rather stick with
simple geometric forms at this point.

Thanks to anyone who can offer any insight.

     Dave!



Message has 1 Reply:
  Re: Detail on curved surfaces?
 
(...) I see what you want to do, but cannot help you. You may want to try the newsgroups at povray.org, perhaps povray.newusers or povray.general The people there are very experienced and very helpful. /Lars (21 years ago, 30-Sep-03, to lugnet.cad.ray)

3 Messages in This Thread:

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

Custom Search

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