FORUM CLOSED, PLEASE REGISTER AT FORUM.SIO2INTERACTIVE.COM
Would you like to react to this message? Create an account in a few clicks or log in to continue.

sio2ObjectDuplicate loses material?

2 posters

Go down

sio2ObjectDuplicate loses material? Empty sio2ObjectDuplicate loses material?

Post  Tom Sun May 17, 2009 8:02 am

When I duplicate an object using sio2ObjectDuplicate, my new object draws without the texture.

How do I fix that ? Razz

Tom

Posts : 13
Join date : 2009-03-23

Back to top Go down

sio2ObjectDuplicate loses material? Empty Re: sio2ObjectDuplicate loses material?

Post  sio2interactive Sun May 17, 2009 12:39 pm

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...
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

sio2ObjectDuplicate loses material? Empty Re: sio2ObjectDuplicate loses material?

Post  Tom Wed May 27, 2009 5:21 am

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

Back to top Go down

sio2ObjectDuplicate loses material? Empty Re: sio2ObjectDuplicate loses material?

Post  sio2interactive Wed May 27, 2009 5:36 am

Good to know tks! Will check this out!
sio2interactive
sio2interactive

Posts : 1526
Join date : 2008-08-26
Age : 45
Location : Shanghai

http://sio2interactive.com

Back to top Go down

sio2ObjectDuplicate loses material? Empty Re: sio2ObjectDuplicate loses material?

Post  Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum