Hi
I was wondering if it would be too hard to add Particle Info to Lux Nodes.
To get a better understanding of what is going on i would like to add object location to the objectid Node.
Can someone plz give me starting point ?
Thanks u3dreal
ParticleINFO Node
ParticleINFO Node
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Re: ParticleINFO Node
I sure would start somewhere here .... but where does this node get it's information from ?? Sorry as an artist it is really hard to read good code
https://github.com/u3dreal/BlendLuxCore ... bjectid.py
https://github.com/u3dreal/BlendLuxCore ... bjectid.py
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Re: ParticleINFO Node
The file you linked just defines the visibile facade of the objectid texture.
What you want is the LuxCore code: https://github.com/LuxCoreRender/LuxCor ... ect_id.cpp
What you want is the LuxCore code: https://github.com/LuxCoreRender/LuxCor ... ect_id.cpp
Re: ParticleINFO Node
Hmm i feared so .... so concerning particles all would have to be done in LUX then.
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Re: ParticleINFO Node
Yes, and in LuxCore there is no concept of particles, they are all just normal objects (sharing the same mesh, aka instanced).
So any information about a particle that you want to store needs to be added to the object data in LuxCore, and it needs to be accessed through the hitpoint struct during render time.
So any information about a particle that you want to store needs to be added to the object data in LuxCore, and it needs to be accessed through the hitpoint struct during render time.
Re: ParticleINFO Node
Hm ... and particles in lux are just matrices of an instance object. So only the position is saved per particle.
check out my newest stuff http://q3de.com/research/
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
portfolio http://q3de.com/
MB Pro i7 2.3Ghz, IrisPro 1.5GB, GTX750m 2GB - BigSur
Xeon X5650@4Ghz, RX 5700 - BigSur , Windows 10, Ubuntu 20.04
Re: ParticleINFO Node
Well, you also get all the other object attributes, like object ID. But yes, particles in Lux are just regular instance objects.