technical architecture.

Archive for November, 2011

Unity per project compiler options, -unsafe

by on Nov.28, 2011, under csharp, Unity3D

I had to integrate a small set of third party code that calls down to some win32 dllimport bits, to do this I needed to be able to work with some pointers. which in c# need to be declared in an unsafe function, so that it knows to be unmanaged.

Slightly awkward, but it turns out that there is an -unsafe compiler option that needs to be turned on in unity/mono, and that you can do this very easily on a per project basis by adding a file ‘smcs.rsp’ to the root of your assets dir, and in there you can add the text ‘-unsafe’ to add this to the compiler commandline.

Reference threads: Setting Compiler Options, Unsafe code in Unity, How To: Set Project-Wide #pragma Directives with JavaScript

Other apparent uses stated in the threads are setting project wide defines and pragmas

3 Comments more...

A google reader feed of tech art blogs

by on Nov.27, 2011, under TechArt

here’s a little google reader bundle of (currently) 70 tech art blogs, mostly taken from¬†this thread:

and thrown into an easy to follow group at: Google Reader Bundle: Tech Arts 2011 

for anyone else thats deeply into this google reader bug, but doesn’t want to add them all by hand.

Leave a Comment more...

ArtBreak, MiLB Stadium

by on Nov.23, 2011, under Architecture, Portfolio, Rendering, Stills

A little Art break, here’s a few shots from a recent set of renderings done for a minor league baseball stadium.

Leave a Comment more...

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!