rotating layers problem - rotation order question

Wondering how to accomplish a certain animation task? Ask here.

Moderators: Víctor Paredes, Belgarath, slowtiger

Post Reply
User avatar
neon22
Posts: 51
Joined: Tue Aug 28, 2007 5:41 am
Location: New Zealand

rotating layers problem - rotation order question

Post by neon22 »

I'm trying to construct a number of layers to represent a simple building.
All has gone well except for the sloping roof.

It seems I should be able to rotate the layers in some correct order to get the roof aligned.
But it seems like no...

Can anyone get the roof onto this buidling or is there a bug I need to report ?
Thanks...
Image
anme file is here:
http://www.mediafire.com/?v3e7rb4xdkqrqtm
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

I'll upload a video showing one way it can be done. Will be a few hrs.

Finished, Its rendering now and upload to YT in few.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
neon22
Posts: 51
Joined: Tue Aug 28, 2007 5:41 am
Location: New Zealand

Post by neon22 »

Thanks - using the grid to precisely set origins for sides is a good trick.
However using shear Z instead of a rotation is pretty strange IMHO.
BUT it works - so thats great thanks so much.

Cheers...
User avatar
uddhava
Posts: 315
Joined: Tue Nov 04, 2008 7:24 pm
Location: American back in Hungary

Post by uddhava »


Wow, great little tutorial, sbtamu. You put that house together so quickly. I'll have to give it a try. Thanks for your effort.

udd
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

Thanks guys. Here is the exact same house but with more detail.

Image
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

nice tut - one thing though - if you double click on the group layer and turn on depth sorting (in the depth sorting tab) you don't need to do any manual layer ordering...

*edit
having now tried it, i see depth sorting isn't 100% reliable in some cases... but worth a shot
User avatar
neon22
Posts: 51
Joined: Tue Aug 28, 2007 5:41 am
Location: New Zealand

Post by neon22 »

funksmaname wrote:nice tut - one thing though - if you double click on the group layer and turn on depth sorting (in the depth sorting tab) you don't need to do any manual layer ordering...

*edit
having now tried it, i see depth sorting isn't 100% reliable in some cases... but worth a shot
Yes - I'm not sure but it may be related to which way you rotate the layers.. I need to do some more tests...
Using AS8

Disappointing thing for me is I was hoping to be able to construct the model using rotates only - then I could build a script to take arbitrary quad-only models and build layers with textures on for each plane...
Maybe in a future release...
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

You can reset the origin of the roof after you rotate y 90 degrees and then rotate it on x about 36 degrees but the roof does not line up as good as when using shear z.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
funksmaname
Posts: 3174
Joined: Tue May 29, 2007 11:31 am
Location: New Zealand

Post by funksmaname »

I've not fiddled with 3D in AS much, or texturing it, but would extruding a block with textures work better than constructing it from multiple layers?

Also, the problem with the depth sort is if something is angled, then at certain rotation angles the tilted edge becomes closer to the camera than the wall (or vice versa) so you get odd flipping sometimes
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

I wish it would work like that, Funk, but the texture ends up looking like this.

Image
Sorry for bad animation

http://www.youtube.com/user/sbtamu
User avatar
3deeguy
Posts: 755
Joined: Sun Apr 03, 2011 5:54 pm
Location: Poughkeepsie NY
Contact:

Post by 3deeguy »

Great tutorial Sbtamu. The 3D engine does have limitations. I made a 3D missile with the letters "DDD" on the side which I thought was pretty cool but the problem was I couldn't control the light source. I'll have to learn your technique.
This is what my 3D object looks like; http://youtu.be/RG8sV0Weja4
Cheers, Larry
sbtamu
Posts: 1915
Joined: Tue Dec 15, 2009 5:05 am
Location: Texas
Contact:

Post by sbtamu »

funksmaname wrote:nice tut - one thing though - if you double click on the group layer and turn on depth sorting (in the depth sorting tab) you don't need to do any manual layer ordering...

*edit
having now tried it, i see depth sorting isn't 100% reliable in some cases... but worth a shot
Yeah funk, there seems to be allot of trouble with using the 'depth sorting' function. I have actually never got it to work, that is why I prefer to just do it manually.

I make tutorials w/o really thinking about what I should say.... I just turn on the mic and start recording. After I did this one I almost did not post it because I knew the layer order thing might be an issue. But I think over all, some people did learn a thing or 2 about the grid.
Sorry for bad animation

http://www.youtube.com/user/sbtamu
Post Reply