Re: changing graphics attributes of an object dynamically

New Message Reply Date view Thread view Subject view Author view

John Collier (jcollier++at++alexandra.mtl.com)
Tue, 30 Jan 1996 11:50:17 -0500


You will have to modify the loader to do a couple things:

1) allow you to grab a gset or gstate during the object's load. You must
sense the object is being loaded (either via name or via entries in the
attributes of the model).

2) You must make sure the builder does not add it to other gsets. You can do
this by adding additional sorting during the load. It sorts for material,
binding, backface, zbuffer,... Add another parameter in for your new property.
 The sort will not combine your desired gsets with other gsets.

If you have any specific questions, email me.

John

-- 
John A. Collier					e-mail:	jcollier++at++mtl.com
MTL Systems, Inc.				voice:	(513) 426-3111
3481 Dayton-Xenia Rd.				fax:	(513) 426-8301
Dayton, OH 45432-2796

New Message Reply Date view Thread view Subject view Author view

This archive was generated by hypermail 2.0b2 on Mon Aug 10 1998 - 17:52:18 PDT

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