Re: *.dxf loader

New Message Reply Date view Thread view Subject view Author view

Ada C. Dong (dong++at++Oakland.edu)
Wed, 3 Mar 1999 06:48:07 -0500 (EST)


Brett,

[dxf]

    Thanks for the info. I will try to convert my model to triangles in 3D
Studio Max.

[3ds]

    Yes, I do have

/usr/lib/libpfdb 11> l libpf3ds*
lrwxr-xr-x 1 root sys 17 Feb 8 1998 libpf3ds.so -> ./libpf3ds_ogl.so*
lrwxr-xr-x 1 root sys 19 May 25 1998 libpf3ds_ogl.so ->
./libpf3ds_ogl.so.4*
lrwxr-xr-x 1 root sys 617940 May 25 1998 libpf3ds_ogl.so.4*

When I run perfly, I got:

12> perfly 3daffleck.3ds
PF Warning: pfdFindConverterDSO() - Could not load DSO for extension "3ds"
PF Info(2): All 1 processors available on this machine.
----------- Peformer Process State --------
 ... ...
-------------------------------------------
PF Warning: pfdFindConverterDSO() - Could not load DSO for extension "3ds"
PF Warning: pfdLoadFile() - Unable to load file 3daffleck.3ds because of
problem finding pfdLoadFile_3ds
PF Notice: WARNING: could not load "3daffleck.3ds"
PF Info: pfdMakeShared optimizing traversal
...

-- Ada

On Tue, 2 Mar 1999, Brett Chladny wrote:
> 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
>

-- Ada Dong Ph.D.


New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Wed Mar 03 1999 - 03:45:40 PST

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