| We hope you enjoy your visit. You're currently viewing the Ultimate 3D Community as a guest. This means that you can only read posts, but can not create posts or topics by yourself. To be able to post you need to register. Then you can participate in the community active and use many member-only features such as customizing your profile, sending personal messages, and voting in polls. Registration is simple, fast, and completely free. Join our community! If you are already a member please log in to your account to access all of our features: |
- Pages:
- 1
- 2
| Aditive Blending; for making great effects | |
|---|---|
| Tweet Topic Started: Jun 13 2006, 07:44 PM (813 Views) | |
| Haunebu | Jun 13 2006, 07:44 PM Post #1 |
![]()
WW2 games developer
![]() ![]() ![]() ![]() ![]()
|
(I'm not sure that Aditive Blending is the True word) I want to do more realistic fire and explosions with particles. I would do it using simply Flamethower example (first picture), but I haven't seen any idea in the U3D help.Have someone done it? |
![]() I don't like american heroes. | |
![]() |
|
| Zip | Jun 13 2006, 10:01 PM Post #2 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Dr. Best in hes Hovercraft Wars told that he had used a vertex shader for the explosions, maybe he can ask here and post it. That will be useful to whole communuty! :rolleyes: |
|
Sorry if i've made some errors, I'm not english! | |
![]() |
|
| Despellanion | Jun 13 2006, 10:05 PM Post #3 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
The best and easiest solution, which I can think of, which also is very efficient, looks nice and is lag-free is that you can use a 2D texture to draw the explosion. Many commercial games do this and you can make it look nice and realistic if you draw a nice looking explosion texture. Like this: ![]() And just make an animation of it with several images using LoadTexture. |
![]() |
|
| Dr. Best | Jun 14 2006, 04:31 PM Post #4 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
I agree with Despellanion. The only problem is setting up the material options so that it seems actually bright. To realize this I recommend the use of the variable no_light. Set it to true to reach that the colors of the texture get rendered absolutely unchanged. |
![]() |
|
| Zip | Jun 14 2006, 11:49 PM Post #5 |
|
Forum Leader
![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
But how i can make the billboard transparent, like using the blend mode in standard 2D gamemaker? |
|
Sorry if i've made some errors, I'm not english! | |
![]() |
|
| Despellanion | Jun 15 2006, 12:21 AM Post #6 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Use a transparent .png or .tga texture of the explosion. |
![]() |
|
| Haunebu | Jun 15 2006, 07:25 PM Post #7 |
![]()
WW2 games developer
![]() ![]() ![]() ![]() ![]()
|
Yeah, the bilboard graphics are used for exapmle in UT2004. I'm sad, that I wount be able to make effects like in Desert rats vs. Afrika Korps. Maybe bilboard explosion + particle smoke will be good enough. |
![]() I don't like american heroes. | |
![]() |
|
| Haunebu | Jun 23 2006, 11:51 AM Post #8 |
![]()
WW2 games developer
![]() ![]() ![]() ![]() ![]()
|
how can I do simple animated bilboard effect? doesn't support GIF files. I tryed to do that effect by 30 BMP images. But the bilboard was only white.i used this code:
|
![]() I don't like american heroes. | |
![]() |
|
| Dr. Best | Jun 23 2006, 12:26 PM Post #9 |
|
Administrator
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Use this code instead:
|
![]() |
|
| Haunebu | Jun 23 2006, 12:59 PM Post #10 |
![]()
WW2 games developer
![]() ![]() ![]() ![]() ![]()
|
it didn't work. Maybe I've done something wrong in control of explosion object:
|
![]() I don't like american heroes. | |
![]() |
|
| Haunebu | Jun 28 2006, 01:24 PM Post #11 |
![]()
WW2 games developer
![]() ![]() ![]() ![]() ![]()
|
Well, now it's a bit more clear: Information about object: explosion Sprite: <no sprite> Solid: false Visible: false Depth: -1 Persistent: false Parent: <no parent> Mask: <same as sprite> Create Event: texture=20 Create2D () Step Event: texture+=1; if(texture > 39){ texture=20; } Step(); Information about object: control Sprite: Controller Solid: false Visible: false Depth: -9 Persistent: true Parent: <no parent> Mask: <same as sprite> Create Event: LoadTexture('gfx\ex\ex_1.bmp',20); LoadTexture('gfx\ex\ex_2.bmp',21); LoadTexture('gfx\ex\ex_3.bmp',22); LoadTexture('gfx\ex\ex_4.bmp',23); LoadTexture('gfx\ex\ex_5.bmp',24); LoadTexture('gfx\ex\ex_6.bmp',25); LoadTexture('gfx\ex\ex_7.bmp',26); LoadTexture('gfx\ex\ex_8.bmp',27); LoadTexture('gfx\ex\ex_9.bmp',28); LoadTexture('gfx\ex\ex_10.bmp',29); LoadTexture('gfx\ex\ex_11.bmp',30); LoadTexture('gfx\ex\ex_12.bmp',31); LoadTexture('gfx\ex\ex_13.bmp',32); LoadTexture('gfx\ex\ex_14.bmp',33); LoadTexture('gfx\ex\ex_15.bmp',34); LoadTexture('gfx\ex\ex_16.bmp',35); LoadTexture('gfx\ex\ex_17.bmp',36); LoadTexture('gfx\ex\ex_18.bmp',37); LoadTexture('gfx\ex\ex_19.bmp',38); LoadTexture('gfx\ex\ex_20.bmp',39); so what's wrong? All the images are supported. All the images were load. All the images were add to animation. HUH? Did I forget about something else? |
![]() I don't like american heroes. | |
![]() |
|
| Despellanion | Jun 28 2006, 01:39 PM Post #12 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
What's wrong is that you have set visible = false. Visible must always be true when drawing 2D textures. |
![]() |
|
| Haunebu | Jun 28 2006, 01:53 PM Post #13 |
![]()
WW2 games developer
![]() ![]() ![]() ![]() ![]()
|
the explosion is still white.
|
![]() I don't like american heroes. | |
![]() |
|
| Despellanion | Jun 28 2006, 01:57 PM Post #14 |
|
Forum God
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]()
|
Have you added Destroy(); and tried setting no_light=true ? |
![]() |
|
| Haunebu | Jun 28 2006, 02:04 PM Post #15 |
![]()
WW2 games developer
![]() ![]() ![]() ![]() ![]()
|
I didn't find out what was wrong, but if i made another object with the same functions it works!!! It's strange, isn't it?
|
![]() I don't like american heroes. | |
![]() |
|
| Go to Next Page | |
| « Previous Topic · Questions about Ultimate 3D · Next Topic » |
- Pages:
- 1
- 2






![]](http://z1.ifrm.com/static/1/pip_r.png)
particles. I would do it using simply Flamethower example (first picture), but I haven't seen any idea in the U3D help.




10:34 AM Jul 11