Getting polygons from object HELP!

blubvideo's picture

Hi everyone, I'm trying to make a composition where a 3D model is loaded and extract the polygons separately in order to apply transformation to them independently (random color change, rotation, scale, etc...), I have very basic experience with the K3D plugin, but I don't seem to get this right, don't even know if this is possible. My first idea was to get a mesh component from the object and select faces, but this was not possible. then I tried to split all the polygons in C4D as separate objects, load in QC and extract the structure with a structure index member, being able to control which member is displayed, but the K3D object render will render all the pieces in the center, not respecting the original position of polygons of the original model. any help? thanks a lot and sorry for my english.. :D

Aitor

PreviewAttachmentSize
polygonextract.zip6.35 KB

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

cybero's picture
Re: Getting polygons from object HELP!

Hello blubvideo.

The way your model is structured, it does render as a Mesh with the Mesh Renderer, but then the setup you have doesn't cycle through the polygons with the Kineme3D Object Renderer, despite that same setup cycling through other 3D objects , like, for example cubeball.obj file included in the Kinem3D example compositions.

The .dae mesh is being apprehended as a single object and its internal structure is not broken down into faces [objects].

You ought to take a close look at the structure explode composition in the demo compositions.

PreviewAttachmentSize
cubeball.zip36.5 KB

blubvideo's picture
Re: Getting polygons from object HELP!

Hi Cybero, thanks for your help, strangely I get an error when trying to open the structure explode composition, is telling me that the Kineme3Dobjectstructureexplode patch is missing... does this patch belong to kineme 3D plugin? I try reinstalling the plugin with no luck.

Saludos Aitor

PreviewAttachmentSize
Screen shot 2011-09-09 at 09.33.01.png
Screen shot 2011-09-09 at 09.33.01.png77.07 KB

cybero's picture
Re: Getting polygons from object HELP!

3D Structure Explode is a part of the Kineme 3D suite. The patch needs to go into /Users/[you]/Library/Graphics/Quartz Composer Patches/.

blubvideo's picture
Re: Getting polygons from object HELP!

I tried the structure explode composition and I switched the cubeball.dae object with the pyramidsK3D.dae object which is 2 rows of piramids. I think there is something wrong with the way I set up the model because I get all piramids in the center. Maybe is it related to normals? Also what I see in this comp is that only the K3Dobjectstructure explode allows me to have an "input objects" parameter, if I try to do this with 3D object noise for instance then the input doesn't allow me to connect. using the 3D object explode with no gravity or strenght keeps my objects from moving in space, what I want to achieve is to be able to change the color of every individual object, which this comp already does, so just fixing the problem with the position of the objects will work for the moment. I intend to get a bit more comfortable with QC in the next months, for the moment time does not allow me. :D thanks again

PreviewAttachmentSize
structuremodified.zip7.65 KB

cybero's picture
Re: Getting polygons from object HELP!

try setting the object's scale to 0.013 and turning off Normalize and Center :-)

blubvideo's picture
Re: Getting polygons from object HELP!

It works!! now I get the object where it needs to be, the only thing I notice is that the color only change when you make any change on a parameter in the upper level of the iterator. I'll play around with this and see if it works better, thank you so much for the help...

Peace

Aitor

blubvideo's picture
Re: Getting polygons from object HELP!

It works!! now I get the object where it needs to be, the only thing I notice is that the color only change when you make any change on a parameter in the upper level of the iterator. I'll play around with this and see if it works better, thank you so much for the help...

Peace

Aitor