On 8/07/10 7:09 , Domingo López Oller wrote:
> Hi, I don't know if this is possible. I have some files from GRASS with .pov 
> extension
> and I don't know how to take them for osg.

The 'polygon' looks straight forward enough, but converting higher-level object 
like a
sphere swept along a spline into triangles isn't easily done.

Cheers,
/ulrich

PS: tga files are supported by OSG, but they're image files and so not directly 
related to
pov.

> For example:
> An edifice:
> polygon { 6, 
>  <464022.599606, 907.085815 , 4087154.860413>
>  <464004.190265, 907.085815 , 4087142.339932>
>  <464004.190265, 937.085815 , 4087142.339932>
>  <464022.599606, 937.085815 , 4087154.860413>
>  <464022.599606, 907.085815 , 4087154.860413>
>  <464022.599606, 907.085815 , 4087154.860413>
> }
> 
> A river:
> sphere_sweep { linear_spline 45,
>  <465739.968762, 1906.192505 , 4091458.499904>, 3
>  <465791.468761, 1894.422974 , 4091452.250001>, 3
>  <465821.250068, 1881.933472 , 4091422.250052>, 3
>  <465860.593730, 1856.298828 , 4091382.249947>, 3
>  <465892.375120, 1835.943359 , 4091347.999919>, 3
>...
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to