Skip to main content

Timeline for LOD in particle systems

Current License: CC BY-SA 4.0

9 events
when toggle format what by license comment
Sep 17, 2018 at 7:59 comment added Omar Emara @JuanManuelLynch If you ask another question with those details, I will tell you about a possibly better and more efficient approach to solve this problem. And we can have a more extended discussion there if you need further help.
Sep 17, 2018 at 7:46 comment added Juan Manuel Lynch That is correct. that has been my approach.
Sep 16, 2018 at 19:05 comment added Omar Emara @JuanManuelLynch I fell like your current approach is the one limiting you. If I understand correctly, you have 90 000 triangle defining the location and orientation of each instance, you want to dynamically change the instancing source object based on the distance to camera, where you have 6 objects representing LODs, am I right?
Sep 16, 2018 at 18:55 comment added Juan Manuel Lynch I've tried the quaternion solution and it works, not perfect as I was not able to get the exact rotations, but somehow did the job. The problem is that within AN the object instancer creates one object for each particle and my script has to produce sometimes 90 000 objects, which is imposible for blender to manage, that's the reason I'm using particles to Instantiate meshes. So, do you know if there is a way to access each individual particle property (which could let me edit LOD) the same way you where editing the objects instances?
Sep 16, 2018 at 12:04 vote accept Juan Manuel Lynch
Sep 16, 2018 at 12:03 comment added Juan Manuel Lynch Well yes, this is hard stuff for me, still I'll try your quaternion solution and see if I can include it into my script. Anyway your answer is valid for my question so I'm giving it an "answered". I'll ask you back if I get stuck with the rotations. Thanks
Sep 16, 2018 at 11:48 comment added Omar Emara @JuanManuelLynch Can't you just set the rotation as well? To get the quaternions representing the rotations of the particles, see my answer here. Also, why are you using a particle system? Won't direct instancing work better?
Sep 16, 2018 at 11:37 comment added Juan Manuel Lynch That was a fast answer! Thanks, but please see my edits to the question.
Sep 16, 2018 at 10:52 history answered Omar Emara CC BY-SA 4.0