TDSOJohn

joined 8 months ago
 

Good morning,

Hope this is not a stupid question, I am very new to Blender. So, my setup is:

  • 3d env built from iPad photogrammetry

  • we insert some lasers (a simple cylinder with emission node)

  • we control the lasers using QLC+ --> artnet --> BlenderDMX and a python expression that modulates the emission color for every laser from a separate dmx channel.

We would now love to be able to store the dmx animation directly in blender as keyframes in order to export the animation and put it back on the iPad for AR simulation. Is there any way to record the driver data in real time?

[–] [email protected] 2 points 7 months ago

Thanks, I already solved it! I didn’t know that Drivers exist. The solution was to create a driver for each of the rgb color coordinates of the emitter, connect to a dmx channel and divide the value by 255.

I then connected to qlc+ using a virtual dmx channel and could control everything 😌

 

Hello everyone, I have a question about Blender properties. I'm reading BlenderDMX documentation and at page BlenderDMX docs paragraph "BlenderDMX DMX driver for Blender" it says that I can use DMX signals to control any Blender property. I also have modelled some lasers and would love to control some of the nodes' properties (Emission Color mostly) with DMX for a simulation. Does anyone know if that's possible and how to do it? A search for "blender properties" and "blender property keywords" gave me nothing.

[–] [email protected] 1 points 8 months ago (1 children)

Thanks, so something like passing PersonModel in the constructor Person(PersonModel p) should work because it's passed by reference, right?

 

Hi everyone, first of all I'm so happy to have found a Processing instance here on Lemmy!

I'm doing a Processing project where I have ~100 instances of people, all coming from the same 3d model. I'm currently storing all the PShapes inside a 1D array and doing all the drawing inside the draw() function. Now, I would love to put everything that concerns the person inside a class. If I create something like:

class Person {
    PShape person_obj  = loadShape("path/to/shape.obj");

    Person() {}
}

does Processing automatically load only a single model or do I have 100 models in RAM? If the answer is the latter, I tried changing PShape to a static variable but loadShape() is not static and everything results in an error.

Processing documentation about explicit simply says "yeah it's a java language feature, study it if you need it" which makes sense. So, I started looking for static usages in Java and tumbled upon this StackOverflow post, that basically says to use a context class with all the 3d objects I statically need and pass is to everything else that needs the 3d models.

(link: https://stackoverflow.com/questions/4969171/cannot-make-a-static-reference-to-the-non-static-method )

Does anyone know if it's the correct approach for Processing?