POV-Ray : Newsgroups : povray.advanced-users : can anyone suggest a better solution for my problem? : Re: can anyone suggest a better solution for my problem? Server Time
2 Nov 2024 03:14:21 EDT (-0400)
  Re: can anyone suggest a better solution for my problem?  
From: J  Grimbert
Date: 7 Jul 2000 05:12:59
Message: <39659FDA.EBF9F4C8@atos-group.com>


> the if function works, but my object seems flat, i believe it is the problem
> you have mentioned...
>  have any solution, cause this way all of the object seems to share the same
> normal...?

Well, I started thinking about a new CSG construct after your first message.
Please have a look in p.b.i for some examples, subject is Kepler.

My solution introduce a new object in povray (Yet another patch... sorry!)
I do not know if it is acceptable for your original problem.


>
> Mike Williams <mik### [at] nospamplease> wrote in message
> news:0o0### [at] econymdemoncouk...
> > Wasn't it Oded who wrote:
> > >This is more of of a mathematical problem than a practical one:
> > >can any one think of a better way to create the following object type:
> > >I was thinking, while trying to convert a dodchahedron to a 3d star, of
> an
> > >object that will give the user higher control of defining 'in' and 'out'
> in
> > >CSG objects. in pov-ray you can only define intersections, inverses and
> > >unions.
> > >I was thinking of more complicated rules, eg:
> > >    a point A is "inside" function (a1....a12) if it is         inside 11
> > >out of 12 objects.
> > >what i needed to do for that was to define a union of 12 intersections of
> 6
> > >objects which was was quite dirty (mathematically speaking)
> > >eventually i ended up writing a c program to raytrace these objects
> defined
> > >soly by the 12 objects.
> >

[isosurface solution removed from this message]

>
> >
> > --
> > Mike Williams
> > Gentleman of Leisure


Post a reply to this message

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.