Jump to content


Photo

Distortion Wave & Ambient Occlusion (baked)


  • Please log in to reply
41 replies to this topic

#21 brett14

brett14

    GMC Member

  • GMC Member
  • 1150 posts
  • Version:GM8

Posted 04 May 2010 - 05:27 AM

Very, very cool effects, all you're example using surface fix. Before these I didn't even know that the Surface Fix dll existed, and this dll will help me alot, and leads to many new effects for 3d. I can finally make a NICE LOOKING portal XD!
  • 0

#22 Schyler

Schyler

    Noskcirderf Derf

  • GMC Member
  • 2445 posts
  • Version:GM8.1

Posted 04 May 2010 - 12:57 PM

Nice work Phantom. The whole surface thing is really unique.

Regards,
Schyler
  • 0

#23 Phantom107

Phantom107

    Engineer

  • GMC Member
  • 2593 posts
  • Version:GM:Studio

Posted 04 May 2010 - 04:18 PM

For anyone who is actually going to use xNormal to bake texture maps, I found out something nice. It's possible to have multiple models in xNormal's rendering environment but still only render the AO to a specific model's texture. Load in multiple models in the "high-definition meshes" section, and put them all on visible. Then in the "low-definition meshes" section just set 1 model to visible and bake. This is extremely useful if you want to divide your level up in sections, and still want to have nice AO on all of them. :P
  • 0

#24 slayer 64

slayer 64

    GMC Member

  • GMC Member
  • 3278 posts
  • Version:GM8.1

Posted 04 May 2010 - 11:59 PM

pretty nice phantom, looks good. just need a texture instead of black and white only.
  • 0

#25 michael pw

michael pw

    GMC Member

  • GMC Member
  • 1488 posts
  • Version:GM8.1

Posted 06 May 2010 - 07:37 PM

i seriously have to get gm8 soon, these effects are amazing!
  • 0

#26 canscaw28

canscaw28

    GMC Member

  • New Member
  • 19 posts

Posted 31 May 2010 - 02:33 AM

love the effect! Sadly I have been trying to undrstand this code for a 2 days now. I hounestly dont know anything about 3d but I would like it if you could help me understand how to use the distortion effect in a 2d game, if posible.

thank you :)
  • 0

#27 Phantom107

Phantom107

    Engineer

  • GMC Member
  • 2593 posts
  • Version:GM:Studio

Posted 31 May 2010 - 08:12 AM

I think this is Hell to anyone new to this stuff, but you'll get a better idea of how it works by holding the CONTROL-button in the example. Basically what I'm doing for the distortion is draw solid triangles with distorted UV coordinates, using the 2d image captured by the surface fix as a texture.
  • 0

#28 link3000

link3000

    Link3000

  • GMC Member
  • 1129 posts
  • Version:GM8

Posted 22 June 2010 - 11:40 PM

I can understand the code, but I can't actually see it in action. It just comes up with a "<name>.exe has stopped working" error; nothing specific. My laptop has 4 gb DDR3 memory and an i3 quad-core, so it's probably to GPU, a weak Intel HD Graphics.

The screenshots look nice, but does this use GLSL shaders somehow? That's the one thing I've know my GPU to not manage correctly.
  • 0

#29 Phantom107

Phantom107

    Engineer

  • GMC Member
  • 2593 posts
  • Version:GM:Studio

Posted 23 June 2010 - 12:24 PM

I can understand the code, but I can't actually see it in action. It just comes up with a "<name>.exe has stopped working" error; nothing specific. My laptop has 4 gb DDR3 memory and an i3 quad-core, so it's probably to GPU, a weak Intel HD Graphics.

Have you tried running my other 3d examples? All I'm doing is using surfaces so those examples should give problems too if this doesn't run.

The screenshots look nice, but does this use GLSL shaders somehow? That's the one thing I've know my GPU to not manage correctly.

Impossible, GLSL are OpenGL shaders and this GM8 exe still runs DirectX 8.

Only way to do GLSL is by running GM OGRE in OpenGL rendering mode.

Tried updating your drivers?

edit

PS: Your i3 isn't a quadcore. All i3's are dualcore.

Edited by Phantom107, 23 June 2010 - 01:28 PM.

  • 0

#30 Dylan93

Dylan93

    GMC Member

  • GMC Member
  • 866 posts
  • Version:GM8

Posted 29 June 2010 - 07:48 PM

I can understand the code, but I can't actually see it in action. It just comes up with a "<name>.exe has stopped working" error; nothing specific. My laptop has 4 gb DDR3 memory and an i3 quad-core, so it's probably to GPU, a weak Intel HD Graphics.

The screenshots look nice, but does this use GLSL shaders somehow? That's the one thing I've know my GPU to not manage correctly.


Just FYI, i3's are dual cores.

Have you tried updating your drivers ?, because I have a Aspire One with a crappier Intel GMA piece of cr*p and it can still run GM games great.
  • 0

#31 Tepi

Tepi

    GMC Member

  • Global Moderators
  • 4201 posts
  • Version:GM8.1

Posted 30 June 2010 - 02:14 PM

PS: Your i3 isn't a quadcore. All i3's are dualcore.

Just FYI, i3's are dual cores.

I'm not exactly an expert in these things but I have i3-330M, and while it is said that this processor is indeed dual-core, nothing in my system information seems to hint in that direction.

Dxdiag reports to find 4 CPUs, and so does the device manager: 4 individual processors. Now what is this?

----------------

On topic: You can also bake ambient occlusion with Blender, among many other things. I wonder if there's something Blender can't do.
  • 0

#32 Phantom107

Phantom107

    Engineer

  • GMC Member
  • 2593 posts
  • Version:GM:Studio

Posted 01 July 2010 - 04:01 PM

Dxdiag reports to find 4 CPUs, and so does the device manager: 4 individual processors. Now what is this?

That's because the i3-330M supports Intel's HyperThreading so a single processing core can do 2 things. That sums it up to 2 x 2 = 4 usable cores. But it's still physically a dual-core.
This is exactly why I bought an i7 for my desktop, due to the HT I get 4 x 2 = 8 usable cores. There's only a few games that currently support threading with so much cores, but it's the future and more and more games will be using this. You are greatly going to take advantage of that with the i3-330M, especially in a notebook. The future's nice. :)

On topic: You can also bake ambient occlusion with Blender, among many other things. I wonder if there's something Blender can't do.

Unfortunately I don't know how to use Blender and since I'm not going to go professional in game design I'll stick with Sketchup + LithUnwrap + xNormal. :P

Does Blender also have the ability to pre-calculate a physics simulation and save it as an animation? I've seen this happen in games (for example: flags) and I'm wondering what they're using.
  • 1

#33 Tepi

Tepi

    GMC Member

  • Global Moderators
  • 4201 posts
  • Version:GM8.1

Posted 01 July 2010 - 06:48 PM

Does Blender also have the ability to pre-calculate a physics simulation and save it as an animation? I've seen this happen in games (for example: flags) and I'm wondering what they're using.

Absolutely. And it's quite easy to do so also. Not sure how you can export it as model frames but I'd be really surprised if it wasn't possible. In fact I just rendered a (physical) flag animation though as 2D for a 2D side project of mine. The steps to it were really easy*, especially since you could just set Blender to animate it as RGBA pngs, and just load all the images from tmp folder to GM.

*A word I wouldn't have believed to be used for describing Blender, but I was a little blown away. Blender is a really excellent software after all.


Dxdiag reports to find 4 CPUs, and so does the device manager: 4 individual processors. Now what is this?

That's because the i3-330M supports Intel's HyperThreading so a single processing core can do 2 things. That sums it up to 2 x 2 = 4 usable cores. But it's still physically a dual-core.
This is exactly why I bought an i7 for my desktop, due to the HT I get 4 x 2 = 8 usable cores. There's only a few games that currently support threading with so much cores, but it's the future and more and more games will be using this. You are greatly going to take advantage of that with the i3-330M, especially in a notebook. The future's nice. :)

Thanks!
  • 0

#34 link3000

link3000

    Link3000

  • GMC Member
  • 1129 posts
  • Version:GM8

Posted 09 July 2010 - 07:04 AM


I can understand the code, but I can't actually see it in action. It just comes up with a "<name>.exe has stopped working" error; nothing specific. My laptop has 4 gb DDR3 memory and an i3 quad-core, so it's probably to GPU, a weak Intel HD Graphics.

Have you tried running my other 3d examples? All I'm doing is using surfaces so those examples should give problems too if this doesn't run.

Yeah; all the others work. Including GMOgre ones. Odd. Maybe my computer just hates ambient occlusion and evil magiks.

And I was going to reply with a screenshot of my device manager showing 4 cores, but then I read the other posts. Thanks for clearing that up!
  • 0

#35 GPro

GPro

    Gun Powder Games

  • GMC Member
  • 293 posts
  • Version:GM8

Posted 24 February 2011 - 07:41 PM

Is ita secret that when you press
Spoiler
you see those waves in red and blue?

edit: nvm u said that too :)

Edited by GPro, 24 February 2011 - 07:50 PM.

  • 0

#36 Qon

Qon

    GMC Member

  • GMC Member
  • 85 posts

Posted 27 February 2011 - 08:53 PM

GM8 can use surfaces and 3d at the same time? Qool, maybe I should buy it then ;D Stopped using GM because I was playing a game Q_Q but now I'm qoming back!

Very Qool example, I absolutely must use baked textures for my 3d engine!
And nice shock-wave effect ^^

(Try Qtrl key if you haven't, guys ^^)
  • 0

#37 GisleAune

GisleAune

    GMC Member

  • New Member
  • 278 posts

Posted 23 April 2011 - 09:32 PM

It avarages 600FPS (500 with spacebar pressed). That's bad for one model. That's good considering it's ran by GM's slow engine.
  • 0

#38 THE_GAME_EDITOR

THE_GAME_EDITOR

    GMC Member

  • GMC Member
  • 798 posts
  • Version:GM8.1

Posted 26 May 2011 - 03:44 PM

The ripple model wont scale in Gamemaker 8.1 because the model isn't dynamic.
How do i make a model dynamic again? :mellow:
  • 0

#39 Phantom107

Phantom107

    Engineer

  • GMC Member
  • 2593 posts
  • Version:GM:Studio

Posted 26 May 2011 - 03:54 PM

I don't have GM8.1 (no GM OGRE) so I can't help you. How do you mean "make a model dynamic"? All the engine does is clear a model of it contents every step, and then re-create the rings!
  • 0

#40 THE_GAME_EDITOR

THE_GAME_EDITOR

    GMC Member

  • GMC Member
  • 798 posts
  • Version:GM8.1

Posted 29 May 2011 - 01:31 PM

I don't have GM8.1 (no GM OGRE) so I can't help you. How do you mean "make a model dynamic"? All the engine does is clear a model of it contents every step, and then re-create the rings!

The new version of gamemaker makes sure that if you start a model with d3d_model_create() the model is static and cannot be scalled dynamicly.
It now has to scale in a different way. Maybe d3d_transform_set_scalling. =/
  • 0




0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users