Select 3d objects same scene

offonoll's picture

Hi! I am working with the idea of selecting 3d objects in same 3d scene with a structure. Maybe setting the object as a group or component in Sketchup.

Is there any patch that loads/renders a selected component/grouped object from a structure?

Thank you guys!

gtoledo3's picture
Re: Select 3d objects same scene

You can always try loading the object over an iterator.... not officially recommended, but it works in most scenarios.

PreviewAttachmentSize
K3D Iteration Loading.qtz4.57 KB

offonoll's picture
Re: Select 3d objects same scene

good! but I got all 3D models in same position. So it doesn't respect the scene position. :( but good to create wired things. jeje

gtoledo3's picture
Re: Select 3d objects same scene

Have you tried the "center" adjustment on the loader? I know that something can be exported in a way that it will respect x/y/z translation and rotation when loaded with the iterator... then some models don't. Sometimes the center adjustment corrects it and sometimes it doesn't.

If I run through a bunch of models, I can see that some will load with correct placements, and others don't... but I didn't make the models in every case, so I'm not exactly sure what it is that someone needs to do to export so that it doesn't work correctly. The apps I tend to use export in a way that is compatible with this technique automatically.

offonoll's picture
Re: Select 3d objects same scene

Yes I tried but in my .fbx file doesn't work.

if anyone knows the method to get right position.. would be nice to know!

Scratchpole's picture
Re: Select 3d objects same scene

Had the very same issue previously. Importing the model into Blender and saving it out again did the trick. I use wings3d mostly and there does not seem to be an option which sorts this out unfortunately?!?

offonoll's picture
Re: Select 3d objects same scene

I don't understand why isn't working iters with mesh. Mesh also seems to send objects as structures but they don't load on the render. With kineme 3D works fine but problem with position and size in scene ... ... see sample.

any ideas?

PreviewAttachmentSize
Loading 3d Scenario.zip42.3 KB

cybero's picture
Re: Select 3d objects same scene

revamped - just for .dae - find attached. :-)

edit

===

now with mouse input on patch time :-)

I think it's all down to the .dae internal file structure , I've got .dae that have vertices and normals but no structure distinguishable and others that do have apprehensible structures.

Final inclusion - this variant will iterate and act as an audio visualizer - uses the Apple Sample code Structure to Mesh - works in QC , not iTunes at present. This last item might need a health warning - almost any audio generated mesh seems problematic to me at present - so please be careful .

BTW - if you set the structure to a queue of audio peak the visualizer will work in iTunes- but not reliably - will crash.