Anyone can try NeRF now with a free app!

The 3D industry has been buzzing about Nvidia’s Instant NeRF (which stands for neural radiance fields) ever since they published their first demo video.

This technology has since been in rapid development and we now have a free iPhone app called Luma AI that anyone can use to capture NeRFs.

I tested the app with a toy robot, here’s a automatically generated video of the result:

The amazing thing about NeRF renders is that they can handle light reflections and bounces in a very realistic manner. This makes it a good fit for VFX work. We can also export a textured 3D-model from the Luma AI app, but it’s not as impressive as rendering with NeRFs. It’s still quite good compared to a basic photogrammetry process, especially considering that the surface of our object was quite reflective. Here’s a screenshot from Blender:

Here is how the mesh looks like (very dense):

Here’s another cool shot from a Robotime Ball Parkour toy:

@oneminutevideotutorial

Wow! NeRFs are going to be great for displaying products like this!

♬ original sound – user635578337916 –

Best free 3D-scanning app for iPhone in 2023

I have been testing out a lot of 3d-scanning apps for my iPhone 12 Pro recently. The Lidar sensor on the phone was one of the major reasons why I decided to make at least a temporary switch from the Android ecosystem to the iOS world. I’m especially interested in creating 3d-versions (or digital twins) of different rooms and spaces. Here are some of the apps I have already tried:

DotProduct ios app

3D Scanner app

Scandy Pro

Qlone

Kiri Engine

Widar

RTAB-Map

3D Scanner

Scaniverse

Modelar

Polycam

RoomScan

Pix4DCatch

Metascan

Heges

Trinio

ItSeez3D (iPad only)

Most of the apps in the list use the freemium model, where you can do a basic scan for free, but in-app purchases are often required at the export stage. There were two exceptions that were free from start to finish:

3D Scanner App and RTAB-Map of which the latter is open source.

I did some scans of the same space with both apps and the process was quite enjoyable with both. The quality was however somewhat more limited with the 3D Scanner App and in the end I was able to to get best results with RTAB-Map. So out of these scanner apps that I tested I would recommend RTAB-Map. It has versions not only for iPhone, but turns out it’s a very versatile app used for many purposes and it has also desktop releases for the major operating systems, including Windows, Mac and Linux.

I did experience some problems when I tried to do a really detailed scan. RTAB-map probably ran out of memory on my iPhone and crashed quite frequently when post-processing the scans. Luckily it turns out that you can simply export the database from the iPhone in order to do the processing on the desktop version instead. It might not be obvious at first how the RTAB-Map database can be accessed or exported on the iPhone, but you simply need to long-press on a scan in the library and choose “share”.

After you haved shared your database and downloaded it to your desktop computer, you can simply import it to the desktop version of RTAB-Map. I must say I found the interface to be rather confusing. For example, when I was looking for the option to export a textured mesh, the way to do it was to choose the “export 3d clouds” option, although one might thing that a mesh is not exactly a “cloud”. And there wasn’t a typical option to just “export a textured mesh” but you have to check the “meshing” checkbox and then the “texturing” checkbox for the texture options. And after that I actually had to close and the re-open the export to be able to see the “save” button. So quite quirky, but it worked out well in the end.

One more piece of information I want to share about using the RTAB-map on the iPhone: one time I had it crash right after a scan and at first I thought the scan had disappeared completely but after some searches in the “issues” page of their Github, I found out that some kind of recovery might be possible in the latest version. The problem was that I just couldn’t find any recovery option in the app interface. Finally I gave up and decided to do a rescan and when I chose to do a new scan, that’s when the recovery dialogue for the previous scan finally appeared and I was able to recover my crashed scan.

Two story house scanned with 3D Scanner App

Sauna scanned with RTAB-Map

Open source tool for viewing e57 files

If you are working with laser scans and lidar data, the chances are you have bumped into e57-files, which are often used for point clouds.

Finding a good tool for opening the e57-files can be a challenge, since many of the solutions are proprietary and quite expensive.

Luckily, there is an open source tool that can import many different data formats, including e57-files. It’s called Meshlab and it has builds for Windows, Mac and Linux. The ability to open e57-files was added to the program quite recently, but it works well.

Check out Meshlab here:

https://www.meshlab.net/

Force refresh on Brave mobile

 Have you ever needed to force refresh a website with the Brave browser on a mobile device like iPhone or Android phone?

The need to do that may arise, for example, when developing websites for WordPress, because WordPress will attempt to cache the CSS files and your latest changes might not be reflected even if you reload the page.

Many websites advice you to go to the browser cache settings and clear the entire cache. But that is an overkill -there is a better and simpler way:

The easiest way to force Brave to force refresh on your mobile device is to switch the browser to desktop mode from the menu with the three dots. The feature is called “Request desktop site”. After switching to that, you can then switch back to a regular mobile page and the cache should be updated.

It’s as simple as that!

If even that is not working, there is a couple of other things you can attempt:

  1. Click on the slider icon right to the address bar and delete the cookies and data for that particular site
  2. Open the site in a private incognito tab
  3. Use a cache busting method like embedding a query string with a changing version number after the resource name.

How to fix the “Could not read source map for file” error when trying to setup Tensorflow.js

If you are getting a “Could not read source map for file” error in the console when trying to link to a JavaScript library like Tensorflow, the solution is simple. You propably don’t need the source map anyways unless you are planning to really digging into the code base of the library. So simply:

  1. Open the script file in your code editor
  2. Scroll all the way down
  3. Remove the source map link at the bottom of the file

Five DaVinci Resolve Tips to Boost Your Productivity

  1. Drag and drop folders of footage into Resolve with their folder structures intact. No more creating bins in Resolve for your various footage items. The solution is to drag and drop the folder from your operating system on the area which says “Master” which is typically on the left side of the Media pool. This will automatically preserve all your folder structures.
  2. Auto sync audio and video files. Many professional video productions will involve separate audio files from the video. Typically you have a low quality audio track embedded to the video coming from the video camera’s microphone and then you have a high quality set of audio files recorded with a boom or lavalier. When you start to edit such a setup in Resolve, one of the first steps is to sync the high quality audio with the video. To do that, simply select both the audio and the video clips (or even just the bins containing the audio and the bins containing the video) in the media pool and right click and choose “Auto Sync Audio”. From there I prefer the “Based on waveform and append tracks” because it will keep also the original audio in place for some sanity checks. It might take a while to complete and then it will give you a summary of the results. If you closed the summary, don’t worry, you can easily see which clips were synced with the audio by looking at them on the timeline. The ones that were successfully synced, will contain two audio tracks instead of just one.
  3. Use the 3D qualifier for great results when doing secondary color grading. You can find it in the qualifier tab. Then just draw a stroke over the colors you want to isolate for grading. View the matte from the magic wand looking symbol above the video monitor.

4. Temporarily disable/enable snapping mid-operation with the N-key. When you are dragging a clip on the timeline and realize that the snapping preference is not working for you, you can press N to temporarily diasable or enable snapping.

5. Automatically name your exported video using the project name. If you typically export your video files from the render queue using the name of the actual project, it may be a bit annoying to type in the File Name field, since you have already typed it once when naming the project. It would be nice if Resolve could automatically suggest the project name as the export name, but in the meanwhile you can type %Project Name in the field and then hit “Add to Render Queue” to get the same result. There are other variables you can access as well like %Timeline Name and %Render Resolution. The easiest way to access the variables in to just type a % in the field and Resolve will suggest all kinds of possible variables to you. It’s enough to just type %Proj and then hit enter in order to get the Project Name variable.

A tool for recoloring pixel art to a new color palette

I have been searching through the webs for a long time for a good, easy to use tool for recoloring pixel art to a specified color palette. The perfect tool should make it easy and fast to test out different palettes for a provided bitmap image or a sprite sheet, but it should also make it possible to fine tune the color mappings and add new colors to the palette if needed.

This has provided to be a rather challenging task. Photoshop and other similar graphics programs do have the possibility to switch to indexed color which lets you force the image to a new color palette, but I find that workflow to be rather tedious and time consuming. Illustrator has the recolor artwork tool, but it works only with vector images.

Here are some of the tools that I did find:

Continue reading “A tool for recoloring pixel art to a new color palette”

Gamepad not working on a Mac?

Many people are reporting issues with various gamepads/game controllers and Macs. I was able to get a USB gamepad to work on my MacBook Pro (running MacOS Monterey) by installing (from the App store) a tool called Gamepad Mapper. Then I simply mapped the x-axis (which didn’t work at first) to keyboard keys (which my game also supports). I also had to allow this software in the security settings (accessibility submenu).

Now my Retro-bit NES USB controller works just fine with my Construct 3 video game. Check out the game King David RPG here:

https://ecation.itch.io/king-david-rpg