Maya Training

Introduction to Hard Surface Modeling

Maya Training

Interiors and Furniture Vol 1 & 2 - Modeling & Cloth

Maya Training

Shading, Lighting and Rendering the Bedroom in MR

Maya Training

Robot volume one - Modeling with animation in mind

Maya Training

Spach-Alspaugh House the complete courseware

Maya Training

Burt The Cartoon Dinosaur Vol 01 - Modeling

New Maya Training

Robot Volume 02 - Hybrid Rigging
You are here > Home > SimplyMaya Community Forums
Loading

Welcome to Simply Maya

Please Sign in or Sign up for an account

Member Login

Lost your password?

Not a member yet? Sign Up!

Old 02-08-2004, 05:04 PM   #1
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default sprite orientation?

I've got a question for once.

Is there a way to control the orientation of sprite particles so that they are not just camera-facing?

Idealy, I'd like to be able to orient them to an axis.

Many thanks in advance.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 02-08-2004, 11:44 PM   #2
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

i believe they're always facing the cam and you can't change that. you can spin them, scale them etc though...
__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
kbrown is offline   Reply With Quote
Old 03-08-2004, 12:06 AM   #3
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

yeah, I might just have to use planes and stuff
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 03-08-2004, 01:09 AM   #4
Dann
Registered User
 
Dann's Avatar
 
Join Date: Feb 2003
Location: Los Angeles
Posts: 695
Thanks: 0
Thanked 2 Times in 2 Posts
Default

Actually, you can fake it with runtime expressions on the spriteScaleXPP and spriteTwistPP attributes. It IS a fake, but depending on what you're going for, it can work.

Try something like this.

Creation expressions:
particleShape1.spriteScaleXPP = rand(-1,1);
particleShape1.spriteScaleYPP = rand(-1,1);
particleShape1.spriteTwistPP = rand(-180,180);

Runtime expressions:
if (particleShape1.spriteScaleXPP > 1)
{
particleShape1.spriteScaleXPP = -1;
}
if (particleShape1.spriteTwistPP > 180)
{
particleShape1.spriteTwistPP = -180;
}

particleShape1.spriteScaleXPP += 0.01;
particleShape1.spriteTwistPP += 2;

Attached is a sample file to see what I mean.

I'm very excited to help Mike after all the times he's helped me. I hope it works.
Attached Files
File Type: mb particlerotatefake.mb (45.9 KB, 31 views)
Dann is offline   Reply With Quote
Old 03-08-2004, 02:07 AM   #5
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

No, 'fraid that's not quite what I'm looking for. Neat affect, though.

I imagine I'll just need to use geometry.

Thanks guys! If anyone comes up with anything, feel free to let me know.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 03-08-2004, 02:14 AM   #6
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

Check out this video for an example of the kind of thing I'm going for:

http://www.mtmckinley.net/private/po..._particles.zip

For example, the waterfall and the "swish" of the character's sword.

(FYI- This is a video of some of my particle fx done for the game Fallen Kingdoms, recently announced. These were done in a custom particle editor developed in-house.)
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote
Old 03-08-2004, 01:07 PM   #7
kbrown
Moderator
 
kbrown's Avatar
 
Join Date: Sep 2002
Location: London, UK
Posts: 3,198
Thanks: 0
Thanked 8 Times in 8 Posts
Default

I don't know what the requirements are but could you not render the particle effects from an angle where they look alright and then take that resulted sequence and map it on a plane as a texture sequence... or something
__________________
Kari
- My Website
- My IMDB

Do a lot, Fail a lot and Learn a lot!
kbrown is offline   Reply With Quote
Old 07-08-2004, 09:50 AM   #8
tathu
Registered User
 
Join Date: Jan 2004
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Default

I found a tutorial here, maybe it help:
http://zj.deathfall.com/Changing_Spr...ientation.html

------------------------
ta thu
tathu is offline   Reply With Quote
Old 07-08-2004, 03:57 PM   #9
mtmckinley
The Maya Mountain
 
mtmckinley's Avatar
 
Join Date: Aug 2002
Location: Seattle, WA
Posts: 8,245
Thanks: 1
Thanked 25 Times in 25 Posts
Default

No, that's not quite what I'm looking for. While it does change the sprite's twist, they still remain camera-facing.

Thanks, though.
__________________
-Mike
www.mtmckinley.net
The Maya Toolbelt
mtmckinley is offline   Reply With Quote

A little bit about who we are
Links you might find useful
Catch up with SimplyMaya
SimplyMaya specialises in Maya tutorials. We offer over 1,000 individual Maya training videos, ranging from basic Maya tutorials through to intermediate Maya tutorials. Our tutorials are created by instructors with industry experience and are designed to get you up and running in Maya quickly without making it seem like hard work.

Copyright © 1999-2015 SimplyMaya - vBulletin® Copyright © 2000-2015, Jelsoft Enterprises Ltd.