|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
About a week ago I started creating a toilet model in pov-ray (yes,
I know it's been done, but I wanted my own toilet :) via a text editor.
I did not want to use a modeller because I'd be able to move things
around better (I suppose I could make peices of it in a modeller, but
the scaling may be off, etc. Besides, I like CSG). The problem I have
encountered is the smoothing of the edges. Now, I know I can use a
superellipsoid for the tank and tank lid, but what about the seat and
the top of the base? Using cylinders and such makes the edges very sharp
(OUCH!) and I am wondering how might one go about smoothing them
out? Superellipsoinds can't do rounded cylinder shapes (or can they?) so
I am kind of stuck
I thought about using CSG of the difference of a square and the side of
a cylinder, and using that and differencing that with another object,
but that would only make a mold for a straight-edge.
Any ideas?
Tim Soderstrom
TigerHawk
Tig### [at] SticNet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
TigerHawk wrote:
>
> About a week ago I started creating a toilet model in pov-ray (yes,
> I know it's been done, but I wanted my own toilet :) via a text editor.
> I did not want to use a modeller because I'd be able to move things
> around better (I suppose I could make peices of it in a modeller, but
> the scaling may be off, etc. Besides, I like CSG). The problem I have
> encountered is the smoothing of the edges. Now, I know I can use a
> superellipsoid for the tank and tank lid, but what about the seat and
> the top of the base? Using cylinders and such makes the edges very sharp
> (OUCH!) and I am wondering how might one go about smoothing them
> out? Superellipsoinds can't do rounded cylinder shapes (or can they?) so
> I am kind of stuck
>
> I thought about using CSG of the difference of a square and the side of
> a cylinder, and using that and differencing that with another object,
> but that would only make a mold for a straight-edge.
>
> Any ideas?
>
> Tim Soderstrom
> TigerHawk
> Tig### [at] SticNet
Prisms and lathes are pretty powerfull features. A prism for the tank lid
and a lathe for the seat with an uneven scaling to make it oblong.
--
Ken Tyler
See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ken wrote:
> Prisms and lathes are pretty powerfull features. A prism for the tank lid
> and a lathe for the seat with an uneven scaling to make it oblong.
>
> --
> Ken Tyler
Hey, I didn't think of that! Thanks! Now I'll just have to do some reading up
on lathes and I'm all set (I've been cheating by using sPatch as I do not do
many lathes and they frequently need some modification.
Again, thanks for the help - and happy tracing
Tim Soderstrom
TigerHawk
Tig### [at] SticNet
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Tim
I think I'd look into intersections, such as
intersection{
cylinder{
<0,1,0>,
<0,-1,0> 0.75
}
sphere{
<0,0,0>,1
scale <1.25,1.25,1>
}
pigment{
gradient y
color_map{
[0.0 color Orange]
[0.25 color White]
[0.5 color Green]
[0.75 color White]
[1.0 color Orange]
}scale 0.25
}
rotate z*90
}
you can do some really interesting things with intersections, and
don't forget that you can scale an object aswell, as in my
example above, I've intersected a sphere and a cylinder, but
scaled the sphere uneavenly, which gives the finished object this
unusual shape. I am of the mind that anything can be done with
CSG though a few extra key words to enhance the scaling and
bending of objects would help.
TigerHawk wrote:
>
> About a week ago I started creating a toilet model in pov-ray (yes,
> I know it's been done, but I wanted my own toilet :) via a text editor.
> I did not want to use a modeller because I'd be able to move things
> around better (I suppose I could make peices of it in a modeller, but
> the scaling may be off, etc. Besides, I like CSG). The problem I have
> encountered is the smoothing of the edges. Now, I know I can use a
> superellipsoid for the tank and tank lid, but what about the seat and
> the top of the base? Using cylinders and such makes the edges very sharp
> (OUCH!) and I am wondering how might one go about smoothing them
> out? Superellipsoinds can't do rounded cylinder shapes (or can they?) so
> I am kind of stuck
>
> I thought about using CSG of the difference of a square and the side of
> a cylinder, and using that and differencing that with another object,
> but that would only make a mold for a straight-edge.
>
> Any ideas?
>
> Tim Soderstrom
> TigerHawk
> Tig### [at] SticNet
--
Cheers
Steve email: mailto:sjl### [at] ndirectcouk
%HAV-A-NICEDAY Error not enough coffee. 0 PPS
web: http://www.ndirect.co.uk/~sjlen/
or: http://start.at/zero-pps
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
In addition to what the others have said, don't forget the torus shape.
IMO, it is under-used. You can easily make a rounded cylinder which
renders faster than an equivalent superellipsoid.(a macro for this is
included in my macro collection in povray.binaries.utilities, and a
version for cones will probably be in the next version. Ken, would you
post this one for me too? This time I will make both Mac and PC text
versions, for those who don't know how to convert.)
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chris Huff wrote:
>
> In addition to what the others have said, don't forget the torus shape.
> IMO, it is under-used. You can easily make a rounded cylinder which
> renders faster than an equivalent superellipsoid.(a macro for this is
> included in my macro collection in povray.binaries.utilities, and a
> version for cones will probably be in the next version. Ken, would you
> post this one for me too? This time I will make both Mac and PC text
> versions, for those who don't know how to convert.)
Sure. Send it over and it will be posted like before.
--
Ken Tyler
See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Ken wrote:
>
> Chris Huff wrote:
> >
> > In addition to what the others have said, don't forget the torus shape.
> > IMO, it is under-used. You can easily make a rounded cylinder which
> > renders faster than an equivalent superellipsoid.(a macro for this is
> > included in my macro collection in povray.binaries.utilities, and a
> > version for cones will probably be in the next version. Ken, would you
> > post this one for me too? This time I will make both Mac and PC text
> > versions, for those who don't know how to convert.)
>
> Sure. Send it over and it will be posted like before.
Have you also added those to Twysts macro collection ? It is becoing
formidable and you additions would be welcome.
http://macroscope.twysted.net/
--
Ken Tyler
See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Well, since some of the macros are designed to work together in the
collection and rely on each other, the collection will probably go in
the includes section instead. I may separate a few and put them in the
macros section, although a lot of the macros would just be duplicating
existing stuff.
I will get back to work on the macro collection, although it may be a
little while before it is ready, as I am working on learning Java and
making another particle simulator(written in Java).
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Chris Huff wrote:
>
> In addition to what the others have said, don't forget the torus shape.
Or how about blobs?
Too bad you can't use toruses as blob-elements.
Remco
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Remco de Korte wrote:
>
> Chris Huff wrote:
> >
> > In addition to what the others have said, don't forget the torus shape.
>
> Or how about blobs?
> Too bad you can't use toruses as blob-elements.
>
> Remco
... but you can make a torus from blobs so would there be much difference ?
--
Ken Tyler
See my 850+ Povray and 3D Rendering and Raytracing Links at:
http://home.pacbell.net/tylereng/index.html
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |