Sunday, 21 February 2016

365 Days of 3D - Blender

At the start of 2016, I decided I should brush up on my 3D skills by doing a 3D render a day for practice purposes (365 DAYS OF 3D!). All the 3D things I've made in the past were mainly designed in Openscad and then 3D printed/photographed/digitally painted the image by hand in Photoshop and Illustrator. In the past I've used anything from openscad, Sketchup, Blender, Modo, Solidworks and Meshmixer to produce and edit 3D models - but oddly without having had the proper finesse or experience of knowing how to light and render scenes properly (since I was producing models for the purpose of 3D fabrication/printing - rather than for for 3D rendering). For the last few years, in a weird roundabout way I found other ways to achieve an artificial/plastic 3D rendered look without doing actual 3D rendering thus far. So the next step seems to be: what about becoming more skilled at 3D lighting/rendering so I can maybe find new ways to experiment with realism?

I decided to focus on the free tools like Blender and Meshmixer to see what would come of it (now I have also gotten into Unity). But real life and work has intervened so I didn't quite finish a model a day. However, a roundup for my Blender experiment for the first 50 or so days seems in order here...

See also:
3653d.tumblr.com - the best of my generic renders
3653d wiki - annotated notes on my Blender process and shortcuts

Blender

It took me a week of daily use to properly internalise the foundations of Blender, after which it became a joy!... or to be very frank, almost an addiction!?? A kind of twisted, warped game where I had to make replicas of everything I saw in reality; I'd take notes on where the objects and light sources were located and how the light was bouncing off things; I walked down the streets at night and unrealistically declared to George "LOOK AT HOW MANY POINT LIGHTS THERE ARE IN THIS SCENE!"; and railed against how reality and the building standards in real life are pretty shitty - in the sense that things don't snap onto a grid and the average space/house has so many messy joints. (Realism in 3D modelling/rendering is composed of carefully calculated mistakes...)

For the first few days of working intensively with Blender, I couldn't understand why nothing happened when you did a left-click, and all the shortcuts I hoped to find seemed mapped to completely different things than I expected, which made it incredibly frustrating to use at first. The options are Mode dependent, meaning you must understand exactly which Mode the function you are looking for is under. (eg: you can edit and see a modifier such as boolean or subdivision surface in Edit Mode, but you cannot Apply it unless you go back into Object Mode. or if you are viewing in perspective instead of ortho, you cannot see the background image for reference). And you'll also need a mouse for Blender to make life worth living. But when you have finally internalised all the shortcuts, Blender works like a charm and Cycles Render is surprisingly decent.

One of the best features about Blender as an open source tool is that it used to have a screencast key plugin which displayed which key you had pressed so it was ideal for making screencasts and teaching other people how to use it. Every complex application should have a function like this - it makes learning and teaching the application a lot easier! Everything I learnt about Blender came from watching people's videos at 1.5x speed and looking at the little letters appearing in the corner of the screencast.

Sadly screencast keys was removed in 2.7 but I found a way to activate it again - and then I made my first Blender screencast!! (Complete with blandly aspirational royalty free background music!)


This had a lot of messy hidden geometry in this one but I don't care since we're not going to send a hairy bear to a 3D printer. And my main goal here was to capture the little finger indentations which are often left on the short velveteen fur of the bear.

George (as 3d layman) said that the visuals coming from Blender looked impressive to him considering the time taken to make them, but to be honest I haven't become more impressed by Blender after using it - conversely I have become less impressed by the 3D modelling I have seen everywhere else, after I realised that clean geometric designs are sometimes face-slappingly simple to replicate. It wasn't that the technology had become more awesome, it was simply that I needed to get to the point where I realised how easy it would have been to access the technology all along if I just put myself to it. I don't know - why do I always have this idea that if it is "too easy" to learn, then it is not really true technical expertise? Or am i just being pedantic, or have I been insidiously conditioned into thinking that technical skill must be beyond me?

As an exercise, I tried to find images to replicate in 3D to test my ability to replicate a model (together with camera position and lighting) within a short time. I decided the reference images also had to be photos. Since these were meant to be quick exercises I chose simple images that I could render within a reasonable amount of time. But the point was that it was necessary to have some fixed goal in mind - to see whether or not I could achieve a specific look rather than settling for another effect when I actually wanted to attain another.

Here are the outcomes of a few of the other experiments:

#realLove



My Blender Render

A delightfully simple lighting and metal shading exercise based on a the set design for the new PC music track featuring Chinese singer Chris Lee (李宇春) (track produced by A. G. Cook)


#miamiArtFairBlackBox


Ended up on some hyperallergic "Concise guide to the 2015 Miami Art Fair", an event I have never cared for or desired to attend in the past or future, and did not know why I had ended up on this page after reading something art or design related - but it doesn't even matter anyway. Nothing matters anyway.

The image was titled "Shannon Ebner at ICA Miami (via icamiami.org)". I have not googled it but I'll assume it was the artist whose typographic work is being shown in that black room.


My Blender Render
Woo and yay, I've replicated this crushingly boring typographic exhibition space in Blender.

#drivenToAbstraction


I saw this clean image and had just spent some time reading about Index of Refraction, which is how transparent materials such as glass and acrylic/plastic bend light. A good list can be found here IOR Values, and plastic tends to be about 1.46 to 1.5. So I thought I'd just see how long it would take to reproduce this image.


A further closeup was found of it, which I had reverse Google Image searched for and then traced back to a Catherine Lossing as the photographer.


My Half Hour Blender Render

And yes it turns out it took just half an hour to make this. From scratch. Almost depressing, isn't it? This almost feels like taking the piss. I could easily improve the lighting reflection/refraction (which you can see in the original photo) as well if I spent more time on lighting but a rough proof-of-concept is sufficient for this exercise.

#whiteCubeGate



Reference taken from a random image I saw on Google Images whilst searching for something else entirely. I decided to just focus on the space and lighting, so I didn't really care for reproducing the artwork beyond simple monogrammatic blocks stuck to the wall.

To be honest, I didn't even know Theaster Gates was the name of the artist when I did this. Instead, whilst making this, I thought to myself, "hmm why does this weird "Theaster Gates" gallery look like the White Cube in Bermondsey?...." After which I googled it and yes it is White Cube... What can I say - I don't follow the London art ting so closely and I was not in London in 2011 when the gallery first opened and this exhibition was on. Sorry if it sounds ignorant (but actually, I'm not even really sorry, so...)


My Blender Render

WHO NEEDS TO GO TO REAL GALLERIES ANYMORE
WHEN ANYONE CAN GENERATE AND DISTRIBUTE IMAGES
OF 3D RENDERED TUMBLR ART GALLERIES ON INSTAGRAM??



In next week's update on 365 Days of 3D: Meshmixer and Non-manifold Nightmares...

VATMESS: The Mini One-Stop Stupidity Shop

It seems appropriate to begin the first post breaking my long hiatus with a post about virtual entities being in Singapore whilst not being in Singapore. Hello! I'm still here! But where is here? I'm not in Singapore, but soon I will be. At times my location almost seems arbitrary; I am neither here nor there, but I'm online, which may as well be everywhere.

After a grueling 2015 and returning to London, I shrank away from the relentless public exhortations of social media, grew unreasonably incensed at the constant burden of interactivity, and even began a series of (incomplete) writing on my hatred for infinite scroll and other modern scourges of online interactivity. The benefit of withdrawing myself from the clatter of social media was that I found time to teach myself how to use tools like Unity, three.js, Blender and Meshmixer... so there'll be more on those in upcoming posts...



But now! I recently read this page by Ghost Foundation moving to Singapore. The article sounds like it must be related to Singapore, but it is really not about Singapore. Singapore may as well not exist, except on paper as some almost-mythical stable benevolent friendly-tax offshore island. Ghost makes no real impact on Singapore by having been incorporated in Singapore, for it is merely a virtual marriage-of-convenience. I found it funny to see it was even reported as news by Channel News Asia (what passes muster for "news" in these parts... zzzz), and a little funny to read comments from Singaporeans getting excited and "welcoming" them to Singapore, when they have clearly stated on their post that they won't be in Singapore (and therefore their virtual presence does not contribute directly to the tech startup scene in Singapore). They say they're not doing it for tax avoidance but it basically sounds like tax obfuscation to me!

VAT rules however do seem completely obscure and confusing to consumers and small businesses owners/startups. I briefly entertained the thought of incorporating myself as a business in the UK the same way DBBD is registered as a company in Singapore (as a designer and builder of various curious interactive things). But after reading up on the VAT MOSS situation, it makes absolutely no sense to do so. I'm not even sure how many small business owners know about this.

VAT MOSS (Mini One-Stop Shop) was rolled out on 1 Jan 2015. This means now if a small/micro-business wants to sell an electronically supplied service (eg: electronic download, software update) to a consumer (non-business customer) within the EU, it needs to charge VAT at the rate applicable in the consumer's location and remit this on quarterly returns via MOSS.

Yes, MOSS is the real name, so cue the GATHERING NO MOSS jokes and #VATMESS. They've named it MINI ONE STOP SHOP. With such a ridiculous name, it makes me feel as if the person who named it probably thinks the internet is a series of tubes and that you just press a button to turn on the tubes.

The implication is that small companies which may not have reached the taxable threshold are going to go from not paying VAT to filing for VAT MOSS 4 TIMES A YEAR all of a sudden, and are expected to collect a host of personal information from all its customers in order to determine which ones are from one of the 28 countries in the EU, and then they need to magically manage to apply the correct VAT rate to the purchase (there are apparently 81 different VAT rates??). And if that is not confusing enough, the proof of customer location (personally identifiable information) and must be securely (??) stored for 10 years by the company which is also required to register as a data controller (£35/year). (Additionally, not registered as a data controller when required to is a criminal offence... a provisionary glance I took at the ICO site suggests that the fine could be up to 5000 euros)

(For more facts see: EU VAT ACTION)

The key term here seems to be ‘electronically supplied’ as opposed to having "human intervention". The European Commission's explanatory notes (Annex on Page 86) writes:

‘Electronically supplied services’ as referred to in Directive 2006/112/EC shall include services which are delivered over the Internet or an electronic network and the nature of which renders their supply essentially automated and involving minimal human intervention, and impossible to ensure in the absence of information technology.


From HMRC: VAT MOSS - So apparently if you "manually" attach a PDF, it is not covered under VAT MOSS. But if you "manually email" an upload link, it's covered under VAT MOSS?? Looks like these people have never attached a document and found it too big so you have to upload it elsewhere and send someone a link.

The directive which the definition is taken from is from 2006. How seriously outdated is that? In the last 8 years, a lot has changed about the internet, and the range of electronic products and services offered. To put things into context, I first started learning programming 7 years ago and in those 7 years in my role as an interactive designer/developer all the technologies have changed, the modes of distributing information have completely changed, internet selling/services have totally changed.

VAT MOSS rules currently lack a nuanced understanding of how quickly the internet changes and grows, and this is causing senseless confusion because there is no logical line on what constitutes sufficient human intervention in a lot of new scenarios that are emerging.

To me this sounds a lot like this:


Who wrote the rules for VAT MOSS? What are their credentials, or interests, and do they know anything about how the internet works today??? Human intervention is a stupid criteria in small digital businesses where people ought to be working smart and automating processes even at the smallest level. Were the views of online businesses represented in the discussion, or at least to provide the commission with an adequate understanding of the likely future of electronic businesses? And how on earth do you draw the line on what constitutes sufficient human intervention? There is really no difference if I do it or I script up something which automatically sends that email on my behalf. Is my human intervention as author of the automated script not counted?? I still wrote the script, letter by letter, intervening with the letters on my keyboard.

Another question that came to mind was - HOW MANY PEOPLE ARE PAYING THROUGH VAT MOSS? Surely all the companies worth taxing are already taxed normally for being over the threshold. I'd like to find out, what amount of VAT MOSS is actually being paid from the small/micro businesses who are now newly affected from the 1 Jan 2015 ruling for the first time?

The Internet has many stories of people paying ridiculously exorbitant amounts in accounting software and services only to find out they have to pay insultingly low VAT on their digital business.


So if the VAT being collected is so insultingly miniscule for many individuals and incurring so much unnecessary administrative problems and additional business expenditure, the question is - was it really worth implementing? If the goal was to target big companies like Amazon, why is the fallout affecting small businesses and forcing them out of business (and correspondingly, pushing customers towards the big companies). If this is all a matter of proving success of a scheme by numbers, then how much VAT in total is actually being paid between UK and EU countries on digital business under VATMOSS since 2015?

This is where UK's FOIA sounds like some black voodoo magic to a Singaporean like me - almost unbelievably it is a land where you can ask for information and public authorities are legally required to give a proper reply! (How sad that I have to be so excited about this...) A quick gander on whatdotheyknow.com brings up user john_117's fascinating FOI correspondences with HMRC. It reveals that since it is collected quarterly, in john_117 first correspondence in March they didn't have the data yet, but then in July they make a turnaround by mentioning that "Under section 22(1) of the FOIA, we are not required to provide information in response to a request if we intend to publish the information in the future" and that they won't be providing a country-by-country breakdown so as not to "prejudice relations between the UK and other Member States" by "disclosing tax revenues of other Member States".

It is now 2016 and searching the gov.uk site does not turn up any publication of statistics. A little disappointing. Perhaps I just don't know where to search.

More disturbingly, I tried to find what panel or commission was responsible for making decisions on VAT MOSS, but so far haven't figured it out. The question I wonder is: in the process of making these decisions, did they include anyone or any groups representing the interests of small digital businesses which will be affected by VAT MOSS?

The only way out of VAT MOSS seems to be to block all EU buyers or (virtually) move out of EU. Or use VAT MOSS and raise all your prices by 20% or more to include VAT (or allow it to cut significantly into your own profits), collect at least two of the following information from each your customers and securely store it for 10 years:


GOOD LUCK WITH HARVESTING ALL THIS DATA FROM EVERY SINGLE CUSTOMERS AND KEEPING IT SECURE
EVEN THOUGH ACTUALLY ALL YOU WANT TO DO IS SELL ONE TINY KNITTING PATTERN ONLINE

Don't even get me started about the potential complications when you have to deal with people with foreign billing addresses who spend equal parts of time in more than one country. I realised recently that I wasn't charged VAT for an digital service which I use in both Singapore and London - a scenario that seems to be in a grey area. I paid for the digital service with a credit card registered to a Singaporean bank with a Singapore billing address and the printed matter was to be mailed to my Singapore billing address - but I physically reside in London and my order would have come from a IP address in UK - and I use only a +44 UK phone number. The unnamed supplier in this case obviously had to made a blanket presumption on my location based on billing address and bank address, rather than IP address or SIM address. But this really shouldn't be made into a confusing guessing game for business owners.

In 2016 they released some half-baked simplification, citing that business owners are allowed to exercise their best judgement. How on earth can one exercise their best judgement on what appears to be a poorly thought out scheme?

From HMRC: "There is no registration threshold on cross border supplies of services and businesses of all sizes fall within the scope of the changes. However, this only applies where supplies are made in the course or furtherance of a business. If activity is carried out as a hobby (ie only on a minimal and occasional basis), HMRC does not normally see this as a business activity for VAT purposes. HMRC’s analysis of the VAT MOSS returns submitted by UK businesses so far indicate that some of those registered for VAT MOSS may not be in business for VAT purposes.

HMRC will contact those already registered for VAT MOSS whose returns suggest they may not be in business."

OH NO, IS MY BUSINESS A LIE? IS MY ENTIRE PRACTICE ACTUALLY ONE BIG NON-TAXABLE HOBBY?? And by extension, are they saying that online sales doesn't need to be declared as income tax? Or not? Or what? What a confusing message to send to small self-employed business owners.


Unfortunately, what seems direly shortsighted is that VAT MOSS doesn't take into account the complexity of international online transactions today. A more updated and intelligently written VAT system is needed to nurture the growth of small and micro digital businesses so that business can be more decentralised and diverse - rather than unfairly taxing even the smallest digital businesses with wildly unrealistic administrative and financial burdens.



But back to the Ghost in Singapore. It is funny that the poorly devised VAT MOSS (which is effectively an injunction against transactions that are virtually mediated) has driven companies to make their operations even more virtual by virtually incorporating in another country.

I wondered where Ghost's virtual address was, as its not uncommon to see a host of virtual companies sharing the same address in town - you even see the 'prestigious' addresses even being advertised at times. It got me thinking how many companies in Singapore use a virtual address - could we find an actual number for how many virtual/ghost companies there are within Singapore, or in Singapore's CBD?

So I wanted to find a directory of public companies, which led me to ACRA. I also cross checked with data.gov.sg - but it only has a table on taxable companies and which sectors they were in. Global OpenData Index (a great resource) also confirms that ACRA doesn't make this information available. ACRA mainly allows you to "buy information" rather than to obtain it from them for free. Perhaps I can only access a directory of public companies (and their addresses) if I pay for the data? But looking at it so far, they only allow you to buy individual business profiles for $5.50 (£2.70) a pop, and if I remember it right from when I had to get a copy of my business profile, they just generate a flat page of information trapped inside ancient HTML tables - rather than providing you with data in a format that is actually usable.

My circumlocutory search for data ends here for the night, but I'll continue another time...