Home Tutorials Download Beta Store Forum Documentation KnowledgeBase Wiki Blog

ShiVa3D

Return to Apple iPhone/iPad/iPod

Draw outline on iPhone

iOS Development and xCode questions

Draw outline on iPhone

Postby zandro » 19 Feb 2012, 22:26

Hi. I noticed that the effect "draw outline" in the material editor does not work on iphone. Is it so or is there something wrong? There is an alternative on iphone?
zandro
Junior Boarder
Junior Boarder
 
Posts: 27

Re: Draw outline on iPhone

Postby NiCoX » 19 Feb 2012, 23:10

Hi,

Indeed ES does not support wireframe drawing, on which this option is based. We still have to implement another method. But it can be approximated with the current engine by using a second mesh with vertexes slightly offseted along their normals, and playing with material attributes such as priority and depth write.
User avatar
NiCoX
Platinum Boarder
Platinum Boarder
 
Posts: 5652
Location: France

Re: Draw outline on iPhone

Postby zandro » 20 Feb 2012, 19:02

Thanks NiCoX. If it is the only way we will try in this way, we hope that soon you implement something more comfortable.
zandro
Junior Boarder
Junior Boarder
 
Posts: 27


Return to Apple iPhone/iPad/iPod

cron