Your browser does not seem to support JavaScript. As a result, your viewing experience will be diminished, and you have been placed in read-only mode.
Please download a browser that supports JavaScript, or enable it if it's disabled (i.e. NoScript).
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 09/10/2007 at 11:14, xxxxxxxx wrote:
User Information: Cinema 4D Version: R9.102 Platform: Windows ; Language(s) : C++ ;
--------- hello,
i'm writing a wavefront exporter and i'm having some problems. the information that is available in this forum helped me to write a working exporter, that exports v, vn, vt and f.
my first question is how to export phong breaks. i've been reading and searching the forum, but i dont get it.
the second question is how to keep the exporter from exporting identical UV coordinates and export the faces right.
thanks in advance!
fused
On 09/10/2007 at 23:48, xxxxxxxx wrote:
Use the CreatePhongNormals() member function of the PolygonObject class. It creates an array of normals for each vertex per polygon. You have first to check if the object has a Phong tag because that is needed for CreatePhongNormals(). Otherwise you will get a crash. If there is no Phong tag you just assign the polygon normal to each vertex.
cheers, Matthias