Materialinformation
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 31/07/2010 at 11:01, xxxxxxxx wrote:
what kind of material information are you looking for? An object can have multiple materials attached to it. So you need to browse the material tags (see GetFirstTag() and GetNext()) on the polygonobject and then you can get the according material from the tag itself. You can then take any material properties from the material directly.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/08/2010 at 04:13, xxxxxxxx wrote:
I thinked soo. But i can´t find the GetNext() function, only GetFirstTag() of the BaseObject class.
I have the SDK R9.5, maybe its only an update. -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/08/2010 at 04:53, xxxxxxxx wrote:
Look at the classes the BaseObject is inherited from. It´s a function of a parent class.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/08/2010 at 05:26, xxxxxxxx wrote:
Ah, there is it. But i think it returns the next PolygonObject. Maybe you mean it´s the GetNext() function of the BaseTag class?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/08/2010 at 05:44, xxxxxxxx wrote:
sorry my fault. yes of course it´s the one from the basetag class.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/08/2010 at 05:47, xxxxxxxx wrote:
Thank you very much for help!
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/08/2010 at 14:50, xxxxxxxx wrote:
Actually both are the same function, since BaseTag and BaseObject are both derived from BaseList2D. And that's where the GetNext() function comes from
Cheers,
Jack -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 01/08/2010 at 17:25, xxxxxxxx wrote:
ok, so my mind didn´t play me when i said it was inherited. Well, I am getting old or simply too lazy to look it up I guess. thx for correcting and I go to sleep now better, Peter...ehm Jack.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/08/2010 at 10:17, xxxxxxxx wrote:
Excuse me, but i have one question more. Where are the normalinformations of the vertices as vector? I cant´t find it.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/08/2010 at 10:28, xxxxxxxx wrote:
CreatePhongNormals() is what you are looking for.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/08/2010 at 10:45, xxxxxxxx wrote:
Where is this function? In the phongtag?
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 02/08/2010 at 11:16, xxxxxxxx wrote:
In the PolygonObject class. Why don´t you download the SDK docs as .chm? Then you can easily search for all functions.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/08/2010 at 05:23, xxxxxxxx wrote:
The CreatePhongNormals() function only works with an existing Phong tag. In case there's no phong tag, you have to calculate the normals yourself (e.g. by calculating the face normals of all neighbor polygons and then calculating the average from that).
Ah, I just notice this thread is about COFFEE. In COFFEE there's no CreatePhongNormals() at all. I'n not quite sure if (and how) it is possible in COFFEE to get your hands on the phong normals. But calculating the simple vertex normals, as described above, should be possible.
Cheers,
Jack -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/08/2010 at 06:32, xxxxxxxx wrote:
Strangely, the chm file doesn´t works. It doesn´t draw the page on windows xp and 7.
Thank you for help! -
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 03/08/2010 at 16:38, xxxxxxxx wrote:
Rightclick/Properties on the chm file and unblock it.
-
THE POST BELOW IS MORE THAN 5 YEARS OLD. RELATED SUPPORT INFORMATION MIGHT BE OUTDATED OR DEPRECATED
On 04/08/2010 at 06:09, xxxxxxxx wrote:
Ah, now it works. The older SDK (9.1) shows all functions.
Thanks.