|
|
Hi,
Bald Eagle writes:
> Francois LE COAT wrote:
>> For example, *.TRI format of 3D shapes contain <x,y,z> coordinates, an
d
>> a color affected to these. If you use TRI2POV it gives a surface like.
..
>>
>> <https://www.youtube.com/watch?v=Yf7q2KdAS-4>
>>
>> When you use TRI2POV it converts the surface in a set of smooth_triang
le
>> that can render the surface with ray-tracing. That exists since the ve
ry
>> first versions of POV-Ray, and produces a very nice result.
>>
>> I hope that it is what you're thinking about. Some 3D file formats, li
ke
>> *.TRI is perfect to describe that kind of colored 3D surfaces. It's ea
sy
>
> I don't believe I am aware of TRI2POV. Where is it available?
> I'm sure I have asked a similar question in the past, so I'm thinking t
hat there
> are a lot of other people who are unaware of this utility.
I have C sources for TRI2POV. But I remembered that it's ATARI software:
"
TRI-POV Converter Version 1.0 Sept/97
Copyright (c) 1993 by Steve Anger
And 97 by Archimedium
This program converts .TRI files generated by the Atari programs
to POV-Ray or Vivid raytracer scene files. Bounding shapes are
automatically generated for POV-Ray to greatly reduce the rendering time.
Syntax: tri2pov inputfile[.tri] [outputfile] [options]
Options:
-snnn - Generates smooth triangles. The boundaries between triangles
are only smoothed if the angle between the triangles is less
that nnn degrees. -s0 will not smooth any triangles while
-s180 will smooth all triangles. Values from -s45 to -s90
usually work well. If unspecified smoothing defaults to -s60.
-op - Output to POV-Ray 1.0 format
-op2 - Output to POV-Ray 2.0 format (2.0 is unreleased as yet)
-op3 - Output to POV-Ray 3.0 format (default)
-ov - Output to Vivid 2.0 format
-or - Output to Raw triangle format.
-lxnnn - Set look_at x coord to nnn
-lynnn - ' ' y ' ' '
-lznnn - ' ' z ' ' '
-vxnnn - Set view_point x coord to nnn
-vynnn - ' ' y ' ' '
-vznnn - ' ' z ' ' '
e.g. tri2pov car.tri car.pov -s60.0
Steve Anger, Guelph, ON, Canada
CIS: 70714,3113
Internet: 707### [at] compuservecom
ADEnet Boards i.e.:TGA: (510)524-2780
Archimedium WEB: http://www.ief.u-psud.fr/~lecoat
E-mail: lec### [at] iefu-psudfr
"
I modified it a long time ago. It works well. I can send you sources...
Best regards,
--
Author of Eureka 2.12 (2D Graph Describer, 3D Modeller)
http://eureka.atari.org/
Post a reply to this message
|
|