|
|
Hello,
I'm using Pov in litte commercial produt :) Exacly - i'm helping a friend
to make trees. I need to export this tree into LW or 3dSMax.
Are there some macros for this purpose ?
This seems quite simple, because :
- I need only shape, as mesh (no pigments / textures)
- All holes totaly inside shape (that are not visible) can be ignored -
because tree wil be used with no-transparent texture in LW/MAX.
I can have tree in any text format (like
<1x1,1y1,1z1><1x2,1y2,1z2><1x3,1y3,1z3>
<2x1,2y1,2z1><2x2,2y2,2z2><2x3,2y3,2z3>
...
<Nx1,Ny1,Nz1><Nx2,Ny2,Nz2><Nx3,Ny3,Nz3>
) if it would be needed I can write C program to make syntax identical as
used by LW/MAX.
This is quite urgent.
TIA :)
--
#macro g(U,V)(.4*abs(sin(9*sqrt(pow(x-U,2)+pow(y-V,2))))*pow(1-min(1,(sqrt(
pow(x-U,2)+pow(y-V,2))*.3)),2)+.9)#end#macro p(c)#if(c>1)#local l=mod(c,100
);g(2*div(l,10)-8,2*mod(l,10)-8)*p(div(c,100))#else 1#end#end light_source{
y 2}sphere{z*20 9pigment{function{p(26252423)*p(36455644)*p(66656463)}}}//M
Post a reply to this message
|
|
|
|
Rafal 'Raf256' Maj wrote:
> Hello,
> I'm using Pov in litte commercial produt :) Exacly - i'm helping a friend
> to make trees. I need to export this tree into LW or 3dSMax.
>
What are the pov-object that you are using ?
> Are there some macros for this purpose ?
> This seems quite simple, because :
> - I need only shape, as mesh (no pigments / textures)
> - All holes totaly inside shape (that are not visible) can be ignored -
> because tree wil be used with no-transparent texture in LW/MAX.
>
> I can have tree in any text format (like
> <1x1,1y1,1z1><1x2,1y2,1z2><1x3,1y3,1z3>
> <2x1,2y1,2z1><2x2,2y2,2z2><2x3,2y3,2z3>
> ...
> <Nx1,Ny1,Nz1><Nx2,Ny2,Nz2><Nx3,Ny3,Nz3>
> ) if it would be needed I can write C program to make syntax identical as
> used by LW/MAX.
>
> This is quite urgent.
> TIA :)
>
>
Post a reply to this message
|
|