|
|
True, there is no CSG. (That would be an interesting challenge to tackle).
But I think it is a first step in the right direction.
"Warp" <war### [at] tagpovrayorg> wrote in message
news:3ff4c7db@news.povray.org...
> What you are trying to do is not to export a POV-Ray mesh to another
> format but to tesselate primitives (and write them to a file in the
> process).
> The problem with your idea is that you can't take an existing scene
> and "export" it to an OBJ file. You need to basically rebuild the whole
> scene by replacing every primitive with a correspondent macro call.
>
> And you can't convert every scene this way either. I bet your macros
> won't support CSG nor the most complex primitives of POV-Ray nor meshes.
>
> I'm afraid that if the macros don't support at least CSG, they are
> more or less useless because it's difficult to construct any decent
> scene using primitives but without CSG. Such scenes will be rather
> simple in nature.
>
> --
> plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
> sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
> density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
> <1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}// - Warp -
Post a reply to this message
|
|