HOME | DD

killall-q — Hologram by-nc-sa

#3d #hologram #mesh #model #point #cloud #rainmeter
Published: 2016-02-15 01:00:26 +0000 UTC; Views: 120556; Favourites: 249; Downloads: 25063
Redirect to original
Related content
Comments: 67

killall-q In reply to ??? [2023-10-18 08:30:36 +0000 UTC]

👍: 0 ⏩: 1

KoolKiwiBerb In reply to killall-q [2023-10-21 17:32:51 +0000 UTC]

👍: 0 ⏩: 0

KronosRise [2022-07-18 13:10:33 +0000 UTC]

👍: 0 ⏩: 1

killall-q In reply to KronosRise [2022-12-01 09:18:47 +0000 UTC]

👍: 1 ⏩: 1

KronosRise In reply to killall-q [2022-12-01 11:09:09 +0000 UTC]

👍: 0 ⏩: 0

Khanhasd [2021-09-28 11:02:58 +0000 UTC]

👍: 2 ⏩: 0

Renato2593 [2021-03-26 17:06:56 +0000 UTC]

👍: 1 ⏩: 0

Marcdebruxelles [2020-08-26 05:43:55 +0000 UTC]

👍: 0 ⏩: 0

DigitalRain84 [2018-12-09 15:53:11 +0000 UTC]

This is absolutely phenomenal.

👍: 0 ⏩: 0

DistractedMori [2018-04-18 20:17:55 +0000 UTC]

First of all, this is a gorgeous skin, one of my favourites.

However, I have a bit of a problem. Any time I change the model on this (doesn't matter to what, and all files are .obj exported from Blender), the whole Hologram window disappears. Rainmeter doesn't crash, just the window completely disappears and will not reappear until I reload/forcekill Rainmeter. Then it just comes up with "invalid file" when it reloads. Am I missing something?

👍: 0 ⏩: 1

killall-q In reply to DistractedMori [2018-04-20 07:22:28 +0000 UTC]

It is normal to get an "invalid file" message after using the force kill batch file, as it will blank out the file path so that Hologram loads instantly.

Are you able to load a low poly model ? If Hologram is taking time to actually load the file:

  • All Rainmeter skins will freeze
  • Clicking on skins a few times will cause transparent skins to become opaque
  • Clicking on skins many times will invoke the Windows dialog for unresponsive programs

If Rainmeter does not freeze, and the model does not appear to load, either:

  • The model could have stray vertices at extreme coordinates, causing the auto-centering algorithm to render the model is a speck, or
  • Your skin folder is in Program Files or some other location where you need administrator privileges to write to, and Hologram cannot create the temporary file it needs to generate points, or
  • A modification to Hologram has broken the skin

👍: 0 ⏩: 2

KronosRise In reply to killall-q [2022-07-18 12:06:11 +0000 UTC]

👍: 0 ⏩: 1

killall-q In reply to KronosRise [2022-07-19 17:38:53 +0000 UTC]

👍: 1 ⏩: 0

aiLiveSocrates In reply to killall-q [2021-08-03 20:14:57 +0000 UTC]

👍: 0 ⏩: 0

pepsicokesuicide [2017-09-30 22:45:58 +0000 UTC]

when I try to load the hologram appears "invalid file" .... help

👍: 0 ⏩: 1

killall-q In reply to pepsicokesuicide [2017-10-01 01:50:40 +0000 UTC]

Only valid .obj  files are supported. There are instructions above on how to convert other file types to .obj.

👍: 0 ⏩: 0

dulspekilegur [2017-03-07 23:42:18 +0000 UTC]

also I know you answered this question below but I have no idea how to code exactly, can you send me a .lua with all the presets made so that it pulses with music as well because when I added the code the model completely disappeared 

👍: 0 ⏩: 0

dulspekilegur [2017-03-07 23:29:48 +0000 UTC]

Having trouble loading a model that's not even as complex as the one above, it's not really doing anything and it's frozen and the load time said it was going to take 11 hours, am I doing something wrong? 

👍: 0 ⏩: 1

killall-q In reply to dulspekilegur [2017-03-09 03:00:55 +0000 UTC]

Looks can be deceiving when judging a model's complexity. It may be composed of subtle, high-poly curves or have unoptimized, high-poly edges. This is especially true of models created by laser or photogrammetry scans that have not been refined by hand.

File size is a better metric for .obj files, which contain only vertex and face data. The model file for the above picture, Antonius Pius, is 8 MB, and takes 11 min to load on an unthrottled desktop CPU. A file twice the size will take about 4 times longer to load (load time has a square relationship to number of vertices).

Loading time is also greatly dependent on your CPU's single-threaded performance. Laptops may automatically downclock themselves when on battery power, or be thermally throttled for safety even when plugged in. This won't be reflected in the load time estimate until you've loaded a several models to completion to calibrate the estimation algorithm.

👍: 1 ⏩: 0

korlimak [2017-02-17 13:11:05 +0000 UTC]

is there any way to use the program to load a file and save it as a preloaded state?  that way after you save a couple autorotation enabled files it wont need to reload the model.

How could i change the scale of the background box and the object model while still keeping it centered?  So far nothing i've done in the lua code has been able to keep it centered. 

👍: 0 ⏩: 1

killall-q In reply to korlimak [2017-02-27 18:58:56 +0000 UTC]

The time-consuming part of loading is for Rainmeter to create thousands of meters in RAM. So that would require saving Rainmeter's allocated RAM to disk, like what hibernation does. Turning autorotation on/off requires a refresh because the update interval is being changed.

To keep the model centered, make this modification to Hologram.lua:
function Scale(n)
   if...
       ...
       SKINang('[!Move (#CURRENTCONFIGX #-'..n..') (#CURRENTCONFIGY #-'..n..')][!MoveMeter...
   end
end(Add the bolded code in between existing code.)

👍: 0 ⏩: 0

Holocore [2017-02-10 12:47:54 +0000 UTC]

This is seriously impressive man. I have two questions:

1. I am using some spaceship models as music visualizers, and they spin around their long (Z) axis. I'd like them to spin along their Y axis instead, as if I had set them on a rotating pedestal. How would I have to change the Update() function to swap the axis of rotation like that? It should just be a couple of coordinate replacements in the for loop right? I'll mess with it later but no guarantees.

EDIT: To anybody else trying to do the same thing, open Hologram.lua and change line 112 from:

local x, y, z = ...

to

local x, z, y = ...

which flips the coordinate systems when the model loads. 

2. How do I verify that edge interpolation is still running instead of crashed? I can't get any level of edge interpolation to render, no matter how simple the model, with or without your audio scaling modification. If I select edge interpolation and click load (estimated load time: 1min 22sec) rainmeter freezes for a minute like it's thinking, the translucent grey box that frames the pointcloud turns into a solid black box, and then a minute later other rainmeter modules start working again, but the hologram is not visible anywhere even though rainmeter manager still gives you the option to unload it. At first I thought I would just have to wait, but even after 20 minutes on an i5-6500 a simple, 1200 vertex mesh doesn't show up. How do I check if it just needs more time?

👍: 0 ⏩: 1

killall-q In reply to Holocore [2017-02-12 00:04:23 +0000 UTC]

If Rainmeter is responsive, loading has finished. You can verify that in the log (right-click Rainmeter system tray icon > About) if you see a message like, "Hologram: loaded 7573 points in 00:00:03.214"

If you cannot see the render, either:
1) the model file contains stray vertex(-ices) that are very far away, causing the auto-fitting/centering algorithm to render most of the model as a speck, or
2) you implemented the audio scaling modification such that FFTScale is 0 when music is not playing, or
3) a modification broke the skin.

Edge interpolation produces extra vertices that are treated no differently than the original vertices, and only takes a fraction of a second. It is not a "post-process" effect. The additional load time is due to the massive number of points generated that must be loaded by Rainmeter as thousands of meters.

Hologram will reject model files that lack readable vertex data. If your model is visible but edge interpolation has no effect, then your model may lack face data (it consists only of unconnected vertices).

👍: 0 ⏩: 0

ArtifexGroup [2017-01-20 22:03:42 +0000 UTC]

This is amazing thank you for this!

👍: 0 ⏩: 0

JA5ONBOURNE [2017-01-11 08:10:51 +0000 UTC]

It Doesn't work please help me set it up with a tutorial or something. Please I got some really cool 3D models.

👍: 0 ⏩: 0

Gile13 [2016-12-11 22:15:55 +0000 UTC]

Crazy stuff!!!   

👍: 0 ⏩: 0

gammer1119 [2016-12-03 03:56:41 +0000 UTC]

Could someone just link some models? I can't find any good ones.

👍: 0 ⏩: 0

masked-soldier [2016-12-01 23:27:51 +0000 UTC]

Is there a way to make the model pulse to the beat of music?

👍: 0 ⏩: 1

killall-q In reply to masked-soldier [2016-12-02 03:04:02 +0000 UTC]

What kind of ridiculous ques... actually, yes.

In Hologram.ini:
[mFFT]
Measure= Plugin
Plugin=AudioLevel
FFTSize=256
FFTAttack=100
FFTDecay=100
Sensitivity=60
Bands=1
Type=Band
BandIdx=0(Add a new AudioLevel measure. Adjust parameters as desired.)

In Hologram.lua:
function Update()
   if true then
       moveFlag, psi = ...
       local sinTheta, cosTheta, sinPhi, cosPhi, sinPsi, cosPsi = ...
       local FFTScale = SKIN:GetMeasure('mFFT'):GetValue() * 0.8 + 0.2
       for i = 1, #coord .x do
           local zDepthScale = ...
           point[i]:SetX(... * xyScale * zDepthScale * FFTScale + dispR)
           point[i]:SetY(... * -xyScale * zDepthScale * FFTScale + dispR)
       end
       ...
   end
end(Replace if statement conditions with true or remove if statement. Add FFTScale local variable.)

This will cause the model's scale to vary with audio. Rotation must be set to "ON" (actual rotation may be paused). Not recommended for use with complex models.

👍: 0 ⏩: 1

TotallyNotSam In reply to killall-q [2017-01-24 18:59:50 +0000 UTC]

I was looking to do this too, but what you suggested didn't work for me. When I add those lines and refresh the skin it doesn't load.

👍: 0 ⏩: 1

killall-q In reply to TotallyNotSam [2017-01-29 16:10:10 +0000 UTC]

It's not loading due to Lua compilation error.

Don't add the "* FFTScale" lines literally, the "..." means I excluded some code. Add that variable near the end of those lines. Text in bold is new code; other code is for context.

👍: 0 ⏩: 0

zorbak580 [2016-11-10 17:54:51 +0000 UTC]

I can't figure out how to change the hologram :/ Can someone do a tutorial or something?

👍: 0 ⏩: 1

killall-q In reply to zorbak580 [2016-11-11 19:20:42 +0000 UTC]

Mouse over Hologram. Click the cog, then click on the path next to "FILE" to edit.
Paste in the path to your .obj file, and press Enter.
Click "LOAD" to the right of the estimated load time that pops up.

👍: 0 ⏩: 0

BobTheSlayer82 [2016-10-19 22:08:47 +0000 UTC]

how do i turn off auto rotation for my complex object? rainmeter crashes when i load the hologram.ini

👍: 0 ⏩: 1

killall-q In reply to BobTheSlayer82 [2016-10-21 01:52:13 +0000 UTC]

Use "Documents\Rainmeter\Skins\Hologram\Resources\ForceKill.bat" to unload the model without running Rainmeter.

Mouse over Hologram > click cog > rotation: off

It will may still take anywhere from seconds to minutes to load a model depending on how many vertices it has,  but with auto rotation off, there won't be constant CPU usage after loading completes.

👍: 0 ⏩: 0

arianaxe [2016-09-30 18:00:07 +0000 UTC]

You download a .obj file from Thingiverse   place it into the file destination.

👍: 0 ⏩: 0

eliasu01 [2016-09-22 16:47:04 +0000 UTC]

where can I download different holograms?

👍: 0 ⏩: 1

killall-q In reply to eliasu01 [2016-09-24 04:11:16 +0000 UTC]

Thingiverse has a lot of models that are not too high poly in a consistent file format, but you can use 3D models from anywhere as long as you convert them to .obj.

👍: 0 ⏩: 0

stabbystabstabstabby [2016-09-14 23:24:18 +0000 UTC]

Sometimes, when I load a .obj file, it will end up as a small dot rather than a complete vector. Afterward, I can't access settings. Any way to fix this?

👍: 0 ⏩: 1

killall-q In reply to stabbystabstabstabby [2016-09-15 16:52:52 +0000 UTC]

- What is your Rainmeter version?
- Does the model appear if you do a pitch/roll/yaw operation?
- When you can't access settings, is all of Rainmeter or just this skin frozen?

Any freeze/crash can be fixed by ForceKill.bat, which I added on 2016.09.12. Find it in Hologram's Resources folder.

👍: 0 ⏩: 2

stabbystabstabstabby In reply to killall-q [2016-09-15 18:52:20 +0000 UTC]

I'd also like to add, I use Meshlab to convert my models (mostly .stl) to .obj. That may have something to do with it, although the error usually occurs when 2x or 4x EI is enabled.

👍: 0 ⏩: 1

killall-q In reply to stabbystabstabstabby [2016-09-16 22:45:27 +0000 UTC]

Do you have problems with loading the default model in Resources\Models\Globe.obj?

When you load a file or change the edge interpolation setting, Hologram will post a message to the log on completion, like:

"Hologram: 7573 points"

Does this message appear and how many points did it detect? To access the log, click "Open log" on the bottom of Manage Rainmeter.

Please send me some sample problem files to killallqgmail.

👍: 0 ⏩: 0

stabbystabstabstabby In reply to killall-q [2016-09-15 18:47:01 +0000 UTC]

1. I've been using the 4.0 Beta release, will begin using the 3.3.2 stable release to check if that's the issue.
2. No, neither the settings window nor the operation features appear. Only a small dot appears, which is movable but not interact-able.
3. Rainmeter settings are usable, but the only way to control it is to re-install the program.

Thank you for the response, along with the tip. Great work!

👍: 0 ⏩: 0

beaux-restes [2016-08-05 15:53:07 +0000 UTC]

Is it possible to use a jpg file that's converted to an obj format?

👍: 0 ⏩: 1

killall-q In reply to beaux-restes [2016-08-12 22:17:04 +0000 UTC]

Yes, as long as it becomes a set of 3D coordinates. You may have to trace the outlines yourself or use an automatic tracing program.

👍: 0 ⏩: 0

Captain-Jesus8416 [2016-07-24 23:48:03 +0000 UTC]

Will you maybe make a version with wireframe?

👍: 0 ⏩: 0

malim20 [2016-04-01 18:12:10 +0000 UTC]

Works great but it takes so much CPU: ~15%. I have an i5 3230...

👍: 0 ⏩: 1

killall-q In reply to malim20 [2016-04-02 00:43:52 +0000 UTC]

It will use zero CPU with auto-rotation off.

👍: 0 ⏩: 0

TheTushie [2016-03-02 02:05:51 +0000 UTC]

Had trouble changing the hologram, it kept saying invalid file. I did use .obj file 

👍: 0 ⏩: 1

killall-q In reply to TheTushie [2016-03-02 03:25:56 +0000 UTC]

Check the path you entered. It will load if the path is valid, regardless of what the file is.

👍: 0 ⏩: 0


| Next =>