pick by color

View previous topic View next topic Go down

pick by color

Post  eloasis on Fri Sep 11, 2009 12:07 am

Hi,

I have implemented tutorial_061 pick object by color. The problem is that I don't want to change the original texture visual aspect by changing the color of the object to get identified in the scene when I tap on it.

Is there a way to fix that?

If I add invisible objects they aren't available for sio2ResourceSelect3D. Will be great to add something like an invisible bounding box to get the hit

Thanks!

eloasis

Posts : 16
Join date : 2009-09-10

View user profile

Back to top Go down

Re: pick by color

Post  sio2interactive on Fri Sep 11, 2009 12:19 am

Color pick takes 2 rendering pass... 1st render with no material just the picking color. 2nd pass render the scene again with materials... I think you misunderstood the workflow...

You can also check tutorial062 picking method...

_________________
SIO2 Interactive
Free Open Source 3D Game Engine for iPhone and iPod Touch
http://sio2interactive.com
avatar
sio2interactive

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

View user profile http://sio2interactive.com

Back to top Go down

Re: pick by color

Post  eloasis on Sat Sep 12, 2009 12:17 pm

thanks sio2! I will try with tutorial_062.

eloasis

Posts : 16
Join date : 2009-09-10

View user profile

Back to top Go down

Re: pick by color

Post  Sponsored content


Sponsored content


Back to top Go down

View previous topic View next topic Back to top

- Similar topics

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