Do you think the wiki should have iPhone sections?

I’ve got some stuff I’d like to add to the wiki in the near future. Some of it will only run on the iPhone because it’s control-related. Other stuff will run in any version of Unity. I think the control stuff should really go in an iPhone-specific section. But what about shaders that run on the iPhone? It would be a lot nicer for Unity iPhone users to not have to wade through all the Cg-requiring stuff. However, if you do write an iPhone-specific shader, it’s surely going to also run on old graphics cards that are not in an iPhone. Let me know what you think.

good idea … just do not much variety of content in Wiki … But surely a section for iPhone will help to find info more easily .

Support !!!

Well, here’s a start.

I think an “iPhone controls” section for the scripts is a pretty good idea. Not so sure about shaders, because like you say they run on other graphics cards too. Would be worth mentioning in the description though. (By the way, I have to ask if you’re aware of the “preview” feature when editing wiki pages…seems like that might be more efficient, seeing as how you managed to fill up the “recent changes” page on your own. :slight_smile: )

–Eric

Well, as it is, a Unity iPhone user can’t just go there and shop for something cool. Unless there’s some kind of tag/filter combination of which I am unaware?

That’s how I make myself feel important.* :o

If you saw the history of my forum posting, you’d see the exact same thing. I think I’m done saying something, and yes, I do proofreading, but I’m apparently really bad at it. Inevitably, after I finally hit the final submission button, I’ll see some stupid mistake as I give the final page a glance-over.

*My existence is so, so sad.

How about a “works well on iPhone” tag in the description?

That’s OK, as long as there’s a reason. :wink:

–Eric

I’m not sure what you mean by that.

And my not knowing what you mean, I guess, is either evidence that this iPhone section is helpful, or that the wiki could use a short primer on how not to be a n00b at it.

Or maybe you just mean to put the word “iPhone” to the right of the name of the shader and the dash, in which case, I think you have an argument. But if you’re not targeting the iPhone, you probably ought to use a prettier shader than what’s in that section, I suppose.

Independent of whether iPhone sections are added to the wiki, there is an “iPhone” category in use on the wiki. If you add [[Category:iPhone]] to a page, then you’ll see the category listed on the bottom of that page, and if you click on it, you’ll get a listing of all the other pages in that category. Also, if you type category:iPhone in the search box, you’ll get that listing.

It might make sense to add more categories related to the iPhone, e.g. iPhone-compatible or iPhone-shader, but I’d suggest making greater use of the iPhone category first.

Yes…I’m glad I have an argument. :slight_smile:

–Eric

Okay, here’s a shader that, unlike the other ones I put up, isn’t just extra-fast; it’s also completely pointless in non-iPhone Unity (and will be until Unity has draw call batching across the board). However, I believe that it can provide a great benefit to performance on the iPhone.

(I’m talking about Masked Tint - Color from UV2)

http://www.unifycommunity.com/wiki/index.php?title=Masked_Tint

Nevermind. I was short-sighted, and didn’t think about using different colors for different sections of the model, earlier, and for whatever reason, I completely forgot about vertex colors. So Masked Tint - Vertex Colors, from that page, is still useful in “regular” Unity, because meshes take up less memory than textures, but I do think it’s especially well-suited when draw call batching comes into account.

I think it would be a good idea to label things, in some fashion, as to whether the are iPhone specific and/or work on the iPhone. The potential problems I see with a separate section for the iPhone are:

  1. If you branch at the very top, then you would have to duplicate all the stuff applicable to all platforms among the sections; otherwise, new users may not understand that there is much more for the iPhone than what is under the iPhone section.

  2. There are things that, technically speaking, could apply to multiple platforms, but are really meant for one, such as the iPhone. Which section would you put them in? Would you duplicate them in multiple sections?

I wonder if, as Eric suggests, if you could figure out a way to tag things as: iPhone only, optimal for iPhone, works on iPhone, but…, not for iPhone. You could then put together a simple documentation template that contributing authors could fill out when they add something.

Wow. Now I’m overwhelmed. I just wanna write some shaders. :x

:smile:

Like I said, I can’t really imagine that somebody would want to use these shaders outside the iPhone, and personally, I want shopping for iPhone content to be as easy/fast as possible. The reason I haven’t just done what Eric said, is that I don’t think I have much faith in the current subheadings, even as it was before I added the iPhone section.

For example, I added to the first shader in the Terrain section, but although that’s one application, I don’t consider it a “terrain” shader. It works just as well for any tiling situation where you don’t need a 2nd UV set (such as where you use very low-res textures for the tiles, and a hi-res one for the mask).

Then, there’s a category called “General”. That isn’t very descriptive, and I bet that there are several other shaders on the wiki, even given the current small selection, that are so useful that they “belong” there.

So anyway, my current opinion is that what I did with the iPhone subheading potentially offers sense-making, on a level at least equal to what’s already there. Feel free* to try something different, but please let me know if you do.

I have started using [[Category:iPhone]], at least.

*[quote=The Unify Community Wiki]
If you don’t want your writing to be edited mercilessly, then don’t submit it here.
[/quote]

I would like to propose a tutorial section on the wiki for new Iphone developer using Unity to get started 8)

I definitely see your point. It’s hard to envision the perfect taxonomy, but maybe we should just be practical and have some iPhone:X categories to start. Over time, I better idea for categorization may emerge based on how the content grows.

And I’m definitely with you on the “General” category. I have not idea what that means. Maybe it should be “Misc” instead, meaning stuff that there is only one of and therefore it didn’t yet make sense to create a more specific category for it?