Beer glass scene creation
This course contains a little bit of everything with modeling, UVing, texturing and dynamics in Maya, as well as compositing multilayered EXR's in Photoshop.
# 1 17-02-2008 , 07:49 PM
Registered User
Join Date: Jan 2004
Posts: 9

sprite particles

Hi,

given a camera. A sprite particle system. I need that as the sprite particles travel towards the camera, that the size of the sprite particles remain constant as they travel. How is it possible.

BRgds,

kNish

# 2 17-02-2008 , 08:00 PM
bendingiscool's Avatar
Subscriber
Join Date: Jul 2006
Location: London
Posts: 567
Don't sprites do that by default, you would have to put either or a ramp on the particles to change there size towards the camera.

You could always key the size of the sprites in the Attribute Editor under 'render attributes'. You will find attributes for Sprite Scale X & Y.

Chris

# 3 17-02-2008 , 08:34 PM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Heyuser added image
Just so I am clear as to what you are needing:

You want the sprite size to scale UP/DOWN reletive to their distance to the camera correct?

OR, do you wanrt the particles to stay the same size regardless?


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
# 4 18-02-2008 , 01:55 PM
Registered User
Join Date: Jan 2004
Posts: 9

sprite particles

Scene

| |||||||||||||||||||||||||||| 0

camera1 emitter1

when viewed from the camera (say camera1) , as the sprite particles are approaching the camera, they by default, appear to increase in size. Mind you , this happens only from the camera view. If you view from lets say default camera (perspective) then the particles appear same size.

So, when viewed from camera1 the particles should appear as if they are same in size as they were when they started emitting.


BRgds,

kNish

# 5 26-02-2008 , 07:23 AM
ragecgi's Avatar
Registered User
Join Date: Sep 2002
Location: Minnesota, USA
Posts: 3,709
Well, the only thing I can think of without doing a lot of testing myself are one of the following depending on what you are trying to achieve:

1. Use an Orthographic camera to render your sprites.
This will not solve your physical sprite size issue, but it will solve the issue of general lens distortion where items closer to camera seem extra large compared to those behind them.

2. Use a set driven key.
Create a locator and parent it to the camera.
Create a set driven key to drive the SpriteScale x&y to appear the same as the sprites get closer to the locator.

3. A mel script that does the same as the above, but with distance to camera as the constant.

Good luck!


Israel "Izzy" Long
Motion and Title Design for Broadcast-Film-DS
izzylong.com
Posting Rules Forum Rules
You may not post new threads | You may not post replies | You may not post attachments | You may not edit your posts | BB code is On | Smilies are On | [IMG] code is On | HTML code is Off

Similar Threads