The quest for cross-platform work-flow

It’s no secret that I still use windows for development, and I do use visual studio.
Even though I work most of my work day (at the office) in Visual Studio – I try to look at new workflows that
can benefit me both on windows and Linux.

I feel now that I have found a way for me to do this.

I ended up installing Babun on windows , and then install spf13-vim on top of that.
That gives me a great shell to work in on windows, and it gives the exact same feel as if I was on linux,
on linux I use spf13-vim directly in a regular terminal.

I then use this for editing and writing code, both on windows and linux.

I have not yet set up so that I can compile with visual studio through it,
so I just compile in VS (refresh the project when needed, then compile).
But I will look into this as well.

The vim key bindings takes some time to get used to, but the documentation is very good, so you can easily figure out
the various commands for doing things.

Lemote Yeeloong, Loongson mipsel laptop

lemote_openbsd

I’m lucky enough to own a Lemote mipsel laptop.

It’s a expensive and slow piece of hardware, but the reason why I bought it is
because I value privacy, I  value knowing what software I run, and where it’s from, and that
it’s the exact software I installed.

Also the hardware is a bit exotic (if you can call it that).

Everything from the Bios to the OS can be compiled from source code.

I enjoy testing distributions, and I often try different kinds, I’ve mostly been using debian on it, but I now switched to OpenBSD, because debian is dropping mipsel support.

I mostly stay in the terminal on it, so I have it all customized for that.
I can do all the daily stuff on it, code c++, read mail, surf the net – everything you’d expect.

It does not work well for any graphical type of jobs, since the graphics acceleration is poor on it.

New release of Luxmax internal renderer for 3dsmax

Today I pushed out a new release of Luxmax internal renderer.
The open source renderer which integrates luxrender directly into 3dsmax.
We’ve been working hard the past months to get new things added.

Some of these features are:
Material preview.
Basic support for Architectural materials (Brushed metal, mirror, glass).
Matte material supports diffuse texture and bumpmap.
And many other improvements.

I made a small example render that shows the latest features.

To read more about it – visit the Luxmax forum post.

render_new_features

Linux IDE

I code a lot on linux, I work mostly in Debian currently.
I often search for new tools, and I frequently try out new tools.

The last tool I’ve been spending a lot of time in is the IDE that I use.

The past days I’ve been working with debugging software on gNewSense ,
and that you do there is basically pull the source, and build the package, then fix errors.

There is many ways to set up projects on Linux, you can use make files, cmake, and a whole lot of other ways.
So – for a long while I worked in just text editors, and then used command line for compiling.

I’ve been torn between using emacs and vim, but now after I found this I have never looked back:
https://github.com/JBakamovic/yavide

It’s a full IDE based on vim, easy to install, great to use.
For working on packages source code it’s perfect.

yavide_in_action

Switched to SSL only

Today I switched to SSL only for this website.
I think all websites should get rid of normal http traffic.

I set it up in about 2 minutes with this free SSL service:

https://letsencrypt.org/

Initially wordpress showed some error with insecure content,
that means wordpress tries to link to media over http (hardcoded probably, or theme related).

Anyways – this plugin fixed it easily:
https://wordpress.org/plugins/ssl-insecure-content-fixer/

Blender plugin – Hard ops

It’s no secret that I’m a huge fan of open source tools.
I’ve been using Blender for a good while, I try to use it more and more in my own projects.
The reason why I love blender is because it’s open source, and cross-platform.
If there is a issue I can go in and fix it myself, and also it has very powerful features.

At work I do not get to use it, because we’re all on the Autodesk product line, so all the in-house tools I’ve made is for 3dsmax only.

A couple of days ago I found a post at cgpress that showed a very nice addon named ‘Hard ops’ for blender, I decided to buy it.
It’s really nice for creating hard-surface models.

Take a look at the features here:
https://masterxeon1001.wordpress.com/hard-ops-intro-guide/ .

It’s a impressive tool, worth the money, and even if you mainly work in max –
you can take your model from there, into blender, work on it and then send it back to 3dsmax if needed.

3dsmax in virtualbox on Linux.

As you might have guessed – I’m a linux fan, and I use it as much as possible.
Sadly 3dsmax has not been ported to Linux – and I do not see any signs of it happening any time soon either.

So the last couple of days I’ve been setting up a proper VM for my development tools including 3dsmax.

It works fine, I run windows 10, and 3dsmax 2015\2016 with visual studio 2013.

The desktop flickers a bit – I’m unsure if it’s the graphics drivers on the linux host that does it – or if it’s a virtualbox issue, but for now I’m just ignoring that and continue to use it.

Also – I had to switch 3dsmax to legacy opengl mode to make the viewport work.

Other then this it works fine, and from now on that’s what I’ll use for my plugin development, since I’m tired of booting out of Linux just to code on my plugins.

Writing stable 3dsmax plugins

As you can see under ‘Open source software’  I do a lot of development for 3dsmax.
One of the most frustrating thing about that is debugging.

I’ve been fighting a couple of bugs both at work and at home, so tonight I sat down and looked for some help.

I came across this blog article:

Writing Stable 3ds Max Plugins
http://www.idigitalhouse.com/Blog/?p=243

 

It has some very good examples and instructions on what you can do to help you with debugging, and is really worth a read.