sio2ObjectDuplicate loses material?
2 posters
sio2ObjectDuplicate loses material?
When I duplicate an object using sio2ObjectDuplicate, my new object draws without the texture.
How do I fix that ?
How do I fix that ?
Tom- Posts : 13
Join date : 2009-03-23
Re: sio2ObjectDuplicate loses material?
Does the parent object is in the same SIO2resource as the duplicate?
Are you removing the parent somewhere?
Can you confirm that the _SIO2object->_SIO2instance point to a valid SIO2object.
Also maybe post a snippet to check what you are doing cuz parent/instance should work just fine...
Are you removing the parent somewhere?
Can you confirm that the _SIO2object->_SIO2instance point to a valid SIO2object.
Also maybe post a snippet to check what you are doing cuz parent/instance should work just fine...
Re: sio2ObjectDuplicate loses material?
I figured it out, I think. There seems to be a bug where duplicate objects will not draw correctly with their material if you have a vertex group with no vertices assigned to it in the object.
Tom- Posts : 13
Join date : 2009-03-23
Similar topics
» Duplicate / clone SIO2Object with new material
» Detecting material used in vertex groups
» Material sharing
» Material colors and lighting
» Changing a material's color
» Detecting material used in vertex groups
» Material sharing
» Material colors and lighting
» Changing a material's color
Permissions in this forum:
You cannot reply to topics in this forum