|
|
|
|
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I've created the following parametric object:
#local Wid = 1/2;
#local Hgh = 1/2;
#local Thk = 1/32;
#local Trn = 256/Hgh/64;
parametric
{
function { (1/2 - v * Thk) * cos(Trn * u * 2 * pi) },
function { 1 * u },
function { (1/2 - v * Thk) * sin(Trn * u * 2 * pi) }
<0,0>, <1,1>
contained_by { box {<-1/2,0,-1/2,>, <1/2,1,1/2,>} }
max_gradient 1/1000
accuracy 1/1000
precompute 20 x,y,z
scale <Wid,Hgh,Wid,>
}
I was wondering if there were a quicker alternative that I hadn't thought of?
Thanks!
-Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
I just tested the Helix and Helix_1 shapes in "shapes1.inc", and the result has
a very weird shape, especially when viewed from the top. Is this the way it's
supposed to look? It doesn't look much like a helix.
-Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
SharkD <nomail@nomail> wrote:
> I was wondering if there were a quicker alternative that I hadn't thought of?
You could always try to create a triangle mesh from those functions.
The code will be quite complicated, but the result will render extremely
fast.
--
- Warp
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Warp <war### [at] tagpovrayorg> wrote:
> SharkD <nomail@nomail> wrote:
> > I was wondering if there were a quicker alternative that I hadn't thought of?
>
> You could always try to create a triangle mesh from those functions.
> The code will be quite complicated, but the result will render extremely
> fast.
>
> --
> - Warp
Thanks, that's a good idea. I was hoping to avoid doing this though, as it's a
bit more involved.
-Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Wasn't it SharkD who wrote:
>Warp <war### [at] tagpovrayorg> wrote:
>> SharkD <nomail@nomail> wrote:
>> > I was wondering if there were a quicker alternative that I hadn't
>> >thought of?
>>
>> You could always try to create a triangle mesh from those functions.
>> The code will be quite complicated, but the result will render extremely
>> fast.
>>
>> --
>> - Warp
>
>Thanks, that's a good idea. I was hoping to avoid doing this though, as it's a
>bit more involved.
There's a macro by Ingo Janssen that creates a mesh2 of smooth triangles
from a set of parametric equations. It's an awful lot faster than
parametric isosurfaces, and you can save the mesh to a file.
See: http://www.econym.demon.co.uk/isotut/param.htm
--
Mike Williams
Gentleman of Leisure
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Williams <nos### [at] econymdemoncouk> wrote:
> There's a macro by Ingo Janssen that creates a mesh2 of smooth triangles
> from a set of parametric equations. It's an awful lot faster than
> parametric isosurfaces, and you can save the mesh to a file.
>
> See: http://www.econym.demon.co.uk/isotut/param.htm
>
> --
> Mike Williams
> Gentleman of Leisure
Wow! I completely forgot about that. Thanks for the tip!
Anyway, I ended up doing the mesh by hand. It wasn't that difficult after all.
-Mike
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |
| |
|
|
Mike Williams <nos### [at] econymdemoncouk> wrote:
> Wasn't it SharkD who wrote:
> >Warp <war### [at] tagpovrayorg> wrote:
> >> SharkD <nomail@nomail> wrote:
> >> > I was wondering if there were a quicker alternative that I hadn't
> >> >thought of?
> >>
> >> You could always try to create a triangle mesh from those functions.
> >> The code will be quite complicated, but the result will render extremely
> >> fast.
> >>
> >> --
> >> - Warp
> >
> >Thanks, that's a good idea. I was hoping to avoid doing this though, as it's a
> >bit more involved.
>
> There's a macro by Ingo Janssen that creates a mesh2 of smooth triangles
> from a set of parametric equations. It's an awful lot faster than
> parametric isosurfaces, and you can save the mesh to a file.
>
> See: http://www.econym.demon.co.uk/isotut/param.htm
>
> --
> Mike Williams
> Gentleman of Leisure
The link on that page doesn't work anymore, but I found the files here:
http://code.google.com/p/mmgm/
H
Post a reply to this message
|
|
| |
| |
|
|
|
|
| |