x


Updating a web based Gallery

Hi There,

I want to set up a web based gallery to show off some of my art in glorious 3D using Unity.

I have talked to my brother about the idea and he would like to display his art too.

I have seen it done and am pretty sure it is something I can do but.....

....We want to be able to update it on a regular basis without re-uploading the level every time we want to add a new piece of work as I can see this type of thing being a bit time consuming and can imagine it would butcher my bandwidth each month.

I may also want to invite friends to display art in my gallery in the future too.

Is there a way to set up the gallery and add 'canvasses' to set locations on display boards on the fly or via a logon system?

I hope you understand what I am rattling on about.

Thanks,

Marc

more ▼

asked Jan 05 '10 at 02:47 PM

Marc gravatar image

Marc
12 1 1 2

(comments are locked)
10|3000 characters needed characters left

2 answers: sort voted first

Yes this is possible.

Check out the documentation for the WWW class, in particular WWW Texture which has an example which I believe is similar to the functionality that you're describing.

"Would this also work with normal maps and spec maps?" Yes, although Unity's built-in specular shaders use the Diffuse texture's alpha channel as the spec map, so you have to include the RGB and Spec together in a 4-channel image.

See Material.SetTexture for information about how to assign new textures to a Material's other textures (other than its .mainTexture).

more ▼

answered Jan 05 '10 at 04:33 PM

duck gravatar image

duck ♦♦
41.4k 95 152 415

Updated to answer your second question.

Jan 07 '10 at 04:39 PM duck ♦♦
(comments are locked)
10|3000 characters needed characters left

Cool, thank you.

Would this also work with normal maps and spec maps?

Cheers,

Marc

more ▼

answered Jan 05 '10 at 07:52 PM

Marc gravatar image

Marc
12 1 1 2

Please don't ask extra questions by adding an "answer" - instead, add a comment to the relevant existing answer, or your question.

Jan 07 '10 at 04:35 PM duck ♦♦
(comments are locked)
10|3000 characters needed characters left
Your answer
toggle preview:

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Topics:

x215

asked: Jan 05 '10 at 02:47 PM

Seen: 796 times

Last Updated: Jan 05 '10 at 02:47 PM