Quad structure with images.

usefuldesign.au's picture

When I put an image structure into the new quad structure patch in GLTools I can get them to play to Distinct Quads option but not Quad Strip. The image at index=0 is repeated for each quad. Is this intended or perhaps a bug.

To make sure it wasn't my comp, I used the GLTools quad structure demo patch with my own image structure of 3 images.

I guess I can double-up the quad co-ordinates to make the strip from whole quads as a work around. More code writing... blah

Want to end up with this kind of thing but see what it's like with images transformed not just masked. (Transforming in motion after that...)

PreviewAttachmentSize
helix_quads_sm.jpg
helix_quads_sm.jpg62.79 KB

Comment viewing options

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

usefuldesign.au's picture
Re: Quad structure with images.

Can't edit the OP. Image didn't show up... image tags don't seem to be working for me anymore, I'm I missing the obvious here?

[cwright says: T,FTFY ;)]

cwright's picture
Re: Quad structure with images.

your tag is pointing to a non-existent URL

smokris's picture
Re: Quad structure with images.

This is intended (if you hover over the Image Structure input, you'll see the message "Image Structures cannot be used with Quad Strips").

This is due to the way we're using QC to load images. Quad Structure draws in GL immediate mode, sending the points out sequentially. However, it's not valid to switch images within a GL immediate mode block. Distinct Quads mode works because we can end the GL block before switching images and begin a new one after switching, but Quad Strips mode can't work because points cannot be reused across blocks.

jersmi's picture
Re: Quad structure with images.

Nice pic, usefuldesign. Curious, how are you using/animating it?

usefuldesign.au's picture
Re: Quad structure with images.

Hey thanks for the explanation, smokris, it's really nice to get these insights to what's happening behind the curtain every now and then.

Sorry I missed the tool tip, but then I would have missed the reasoning so not sorry after all :)

usefuldesign.au's picture
Re: Quad structure with images.

You mean cwright can rewrite my posts? Hey that's unentropic isn't it. So when you attach a new file and a URL is returned in the description column, can't I copy & paste the URL into an HTML image tag, that used to work for me but last three times it hasn't. It work's in the preview but not the actual post:

Test:

PreviewAttachmentSize
Picture 6.png
Picture 6.png52.98 KB

usefuldesign.au's picture
Re: Quad structure with images.

Thanks for the interest, jersmi.

It's the outside of a brochure for a local (Melbourne .au) not-for-profit conservation group, WCS. I removed the title text on that image. Inside brochure I've used the graphic in geometric/abstract way – no images.

Attempting to connect the abstract of the group's words, policy, philosophy with the real in-on-and-over-the-ground of natural flora & fauna living in this green pocket of a modern city. Using DNA helix as the binding idea. All visible life forms have DNA (rough guess) as a self-organising code. ie. code matters.

I traced off the QC output in InDesign (very time consuming so a QC structures to .dxf/.3dm/.obj Rendering Patch for exporting 3D artwork would be interesting).

When the brochure is done, I'l make the animated Community Service Announcement in HD with QC (if I can get TV 'pre-sale' interest). I have inputs to the JS patch for number of rotations in a given number of segments, DNA major/minor groove factor, angle of the GATC bonds to spiral and so on, so I can get some nice untwisting effects. Haven't done the full chromosome duplication thing yet but would like too :)

Only down side is GLPoints are a bit low-res looking compared to spheres if I use them. Might have to iterate spheres, unless we get a sphere structure patch in the near future: smokris has been productive on the Kineme front lately ;) Maybe I should feature request it? (I have about 20 feature requests backed up so always its always hard to post just one!)

smokris's picture
Re: Quad structure with images.

usefuldesign.au wrote:
Might have to iterate spheres, unless we get a sphere structure patch in the near future

Place a normal QC Sphere inside the new GL Structure Renderer.

smokris's picture
Re: Quad structure with images.

usefuldesign.au wrote:
So when you attach a new file and a URL is returned in the description column, can't I copy & paste the URL into an HTML image tag, that used to work for me but last three times it hasn't.

In theory, yes. There's a bug in the current site though --- it moves uploaded files after you post them, but it shows you the file path before it does the move. I'll try to make sure this gets fixed when we do the site upgrade.

jersmi's picture
Re: Quad structure with images.

Interesting to know someone else's workflow/concept -- thanks for sharing. The look of that "dna" shape cutting across the image inspired me. Nice work...

usefuldesign.au's picture
Re: Quad structure with images.

Ahhh... [sound of metal cylinder hitting soft flesh].

Very nice, can't wait to get to it. Structure Transform patch has me really interested too never liked Replicate in Space too limited and weird.

usefuldesign.au's picture
Re: Quad structure with images.

Thanks jersmi. It was the work of European graphic designer Annette Lenz who inspired me to work with images on image, I think. She came to Australia a couple of years ago. Unfortunately nothing much online about her that I can find. Her work is primo and she is a very sophisticated designer if you can get to see her work, mainly for performing arts companies from what I gather.

usefuldesign.au's picture
Re: Quad structure with images.

The DNA was an excuse for working in QC. I'm always looking for an excuse to work in QC instead of CS4 (haha!)