Re: *.dxf loader

New Message Reply Date view Thread view Subject view Author view

Brett Chladny (chladny++at++atlanta.sgi.com)
Tue, 02 Mar 1999 12:20:01 -0500


Ada,

The warner you received is because you have a polygons with more then 3
vertices that is concave. All polygons need to be convex for OpenGL to
render them properly. An easy way to see if a polygon is concave or
convex by looking at it is: if you can draw a line through the polygon
and cross more then two edges, it is concave; if not, it is convex.
Performer was unable to break your concave polygon into triangles for
some reason. If you convert your model to triangles in 3D Studio Max,
you should be able to avoid this problem. All triangles are convex.
However, it might be better to fix the polygons that don't not follow
the rules.

If you have the files /usr/lib/libpfdb/libpf3ds.so, libpf3ds_igl.so,
libpf3ds_igl.so.4, libpf3ds_ogl.so, and libpf3ds_ogl.so.4 you already
have the loader. Have you tried perfly YOUR_FILE_NAME.3ds ? What
happens? I have not used it, so I don't know if it works.

Brett Chladny

Ada C. Dong wrote:
>
> I tried to read a DXF file, from 3D Studio Max, by performer. Here is the
> message I got:
>
> PF Warning: decompConcave() Could not decompose concave
> polygon!
>
> Looks like a newer feature of DXF. Any help will be appreciated.
>
> Second question is: where can I get a 3DS loader or convertor? Is it
> somewhere in my Performer or Inventor packages?
>
> Thanks and have a great day!
>
> -- Ada Dong Ph.D.
>
> =======================================================================
> List Archives, FAQ, FTP: http://www.sgi.com/software/performer/
> Submissions: info-performer++at++sgi.com
> Admin. requests: info-performer-request++at++sgi.com


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Tue Mar 02 1999 - 09:16:02 PST

This message has been cleansed for anti-spam protection. Replace '++at++' in any mail addresses with the '@' symbol.