Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
3
Question by 3dDude · Dec 08, 2010 at 08:10 PM · particlesparticleemitterfx

Editing particle systems to not disappear when not in view?

Hello,

I dont know any other say this... is there any way to Edit a particle system to not disappear when not in view?

thanks

Edit: Bump

Comment
Add comment · Show 7
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Devin · Dec 08, 2010 at 10:01 PM 0
Share

I'm not in front of unity right now so I can't give a proper answer, but it'll be with either your occlusion culling options or the particle emmiter itself. GL

avatar image 3dDude · Dec 08, 2010 at 10:43 PM 0
Share

Ok im using basic so no occlusion culling.. It has to be something with the emitter.. I don't think that it is a visible setting. I am quite familiar with unity's particle Systems and I have never seen anything that could be the problem.

avatar image zannghast · Jan 05, 2011 at 02:00 AM 0
Share

Hi 3dDude, I'm just curious. What would be the use of telling the particle system to not disappear when you wouldn't be able to see it in the first place? (I'm currently looking for the answer btw, 100 rep ftw! :> )

avatar image 3dDude · Jan 05, 2011 at 02:27 AM 0
Share

Well I am making a rain particle effect, and to make it performance friendly, I am using a small amount of big particles with each texture having a lot of little dots on it. So to make it looked like its stretched I used the stretched particle setting. but when the player looks down. you are not looking at the center of the particle but you should still see it. So the result is that when looking down the rain disappears.

avatar image femi · Jan 05, 2011 at 09:43 AM 0
Share

I can't reproduce the problem, could you make a simple scene with just a camera and a particle system setup such that you problem is apparent? It's not the center, but the bounds of the particle system that are used for culling, so as long as some of your particles reach the camera's frustum they should be visible.

Show more comments

6 Replies

· Add your reply
  • Sort: 
avatar image
1
Best Answer

Answer by femi · Jan 06, 2011 at 10:13 AM

Your particle system disappears when looked at sidewise because the ellipsoid is flat. So now and then you'll manage to look in a direction where there is nothing.

You can have similar effect to what you're trying to achieve using a ball-shaped emitter parented to the camera / character and set to use world space. I made a quick video using your scene as a starting point.

(will edit this when video is online).

Update 1

Well, while vimeo is delaying my video in its encoding queue, here is my suggestions in text:

  • parent the particle system to the camera, so that wherever character looks it sees particles
  • make the particle system use world space. this way rain drops / textures will not "stick to the screen", instead character will be able to move through the rain
  • use the same size for ellipsoid in all direction
  • use wide range of energies (e.g. 0.1-1.0). this way particle system will regenerate quickly while still have enough particles with longer life span to look like rain. as character moves the particle system will regenerate at its new position
  • set the world speed to the direction of the raindrops falling, add small random (x, z) speed for more natural feel.

play with the parameters as you actually moving the character, to find what works best.

Update 2

Video: http://www.vimeo.com/18499332

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image 3dDude · Jan 06, 2011 at 07:54 PM 0
Share

Ok everyone, thank you for all your help... I have found a solution. if I set the stretch length to be lower and add motion blur to the texture then it seems sworks better. With much thought I have decided to accept artm answer, It has helped me the most. you can look at the finished picture here:

http://img208.imageshack.us/i/rainr.png/

avatar image femi · Jan 06, 2011 at 09:26 PM 0
Share

looks great! (and thanks for that 100 :-)

avatar image 3dDude · Jan 06, 2011 at 11:06 PM 0
Share

you deserved it! thank you

avatar image
1

Answer by NinjaSquirrel · Jan 03, 2011 at 07:48 PM

Do you mean when it is outside the camera's field of view? Then no, I don't believe so, however you could temporarily switch to another camera with a larger field of view, maybe?

If you mean behind an object then, no I don't believe Unity has an option for that, sorry.

Comment
Add comment · Show 8 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image 3dDude · Jan 03, 2011 at 08:08 PM 0
Share

Ahh ok.. I did not think so but I was just checking :( anyone else have a idea?

avatar image NinjaSquirrel · Jan 03, 2011 at 08:35 PM 0
Share

NO, nao give me mah 100 reputation!!!! LOL J$$anonymous$$

avatar image 3dDude · Jan 03, 2011 at 10:27 PM 0
Share

LOL, You can gain reputation by answering questions... I got what I got from answering almost 100 questions.

avatar image NinjaSquirrel · Jan 03, 2011 at 10:48 PM 0
Share

:p well technically I DID answer the question. And if no one else answers...+50 rep, boo ya!

avatar image 3dDude · Jan 03, 2011 at 11:44 PM 0
Share

yes and if no one answers it then it will go to you :)

Show more comments
avatar image
1

Answer by efge · Jan 05, 2011 at 09:08 AM

Instead of a particle system you could use a 2D-animated-texture projected on a plane (or cyinder or sphere) in front of your camera. (Maybe a GUITexture could also work.)

The texture could look like this:
- in the upper part falling rain drops seen from bootom up
- the lower part with bubbles and/or ripples
- in the middle standard raindrops
(Not shure how to "paint" that. ;-)

Show only a part of the texture and when the player looks around modify the u coordinates and v for up and down.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image 3dDude · Jan 05, 2011 at 04:37 PM 0
Share

hmmmmm yeah maybe.... I'll have to try that.

avatar image efge · Jan 06, 2011 at 02:15 PM 0
Share

After reading all the other answers I would prefer kennypu's suggestion (separate particle system for looking down) because I like the idea of having an extra visual effect when the raindrops hit the ground.

avatar image
1

Answer by Jeston 1 · Jan 05, 2011 at 08:39 PM

Particles would be cheaper than animating large textures I think. At least to sell the effect of rain effectively. There are many styles to rain though and depending on if your making a racing game or a shooter, would be a different technique. Using a plane emitter allows you to racast to the sky for logical indoor / outdoor checks

Ideally, you would just write a shader for this tho. From standard unity I would attach a particle system to your character and if occulsion is an issue: make a 2nd camera that only renders a weather layer. Rain is discussed here: http://forum.unity3d.com/threads/9965

If you want rain that looks like a cobblestone city, the magic is really in the puddle effects and not in the rain drops :) For some internet digging im sure you can find someone that has this in a prefab already tho. Dig around: http://danim.tv/blog/archives/unity3d-experimental-fx-exemple/

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
1

Answer by kennypu · Jan 06, 2011 at 01:07 AM

One thing you can do that is specific to your situation is to check the player's rotation angle to see if he is looking down. If he is at a point where the particles don't show, have a separate, smaller particle for this and emit that instead. This particle can just drop around the player as he is looking down and won't be able to see far anyways.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
  • 1
  • 2
  • ›

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

No one has followed this question yet.

Related Questions

Set particle emitter direction 2 Answers

How to change particles' view? 2 Answers

How to move direction of particle(s) emitted by ParticleSystem Shuriken 2 Answers

Is it possible to set one particle system equal to another through script? 0 Answers

Can't make black/grey smoke? - Particle Systems 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges