Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

cornmuffin

hmm... d3d for parallax effects?

This topic is 6718 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

"Optional 3Dfx and Direct3D support that offers near-perfect perspective, including scaling and parallax effects, to the game play experience." http://www.blizzard.com/press/000607.shtml scaling, okay, but parallax effects? why do you need d3d for parallax? I can imagine bits of explosions and fancy auras and other particle stuff, but parallax in a d3d? are they referring to the same parallax as middleground/foreground scrolling while background stays constant? cheers, muffin

Share this post


Link to post
Share on other sites
Advertisement
It makes some sence.
You can put every Sprite or Background/middleground as an texture onto an Polygon, and D3D takes care of Alphablending them togethr, with 1 Bit Alpha or 8 Bit.
And they could even use the Z-Buffer, so that they don''t need to care anymore which sprite to draw first (except for transparent Effects).


Lars

Share this post


Link to post
Share on other sites
Although I haven''t seen the effect myself I believe that what they are describing is that they shear and scales the tiles so that when scrolling the top of the pillars and walls move a little faster than the bottom. This would require hardware transformation of the polygons, hence the use of Glide and D3D.

- WitchLord

Share this post


Link to post
Share on other sites
Parallax is something that''s done in 2D to SIMULATE a 3D effect. So I think it''s just marketing BS.

You don''t need to actually "do" parallax... it just "happens" when you view something (even in real life) in 3D.

Share this post


Link to post
Share on other sites
Yeah, parallax just makes stuff look more "real" by making stuff farther away smaller while closer things are larger. You can make a 3D scene look 2D-ish by making the FOV really small, like around 10 degrees.

Share this post


Link to post
Share on other sites
I''m lucky enough to be a Diablo II beta tester. :-) The D3D parallax effect is *really* well done, it adds a lot to the scene. From what I can tell, Diablo II uses a 3D card for 2D rendering (I wish I thought that they read my article! My article was, in fact, inspired by an interview with the DII team talking about how they did it). Very impressively implemented. They also have really nice lighting effect, and the rain effect seems to feature some alpha blending.

The game is still good in non-accelerated (DirectDraw) mode, but nowhere near as pretty.

I can''t wait for DirectX 8, it shouldn''t take 8 versions to realise that DDraw and D3D should have been the same API from the start!

Share this post


Link to post
Share on other sites
The parallax effect is an optical effect that means that when you move sideways things that are closer to you seem to move faster than things further away.

I early 2D platform games this effect was simulated by scrolling the background at a slower rate than the platforms.

- WitchLord

Share this post


Link to post
Share on other sites
how would you implement a parallax effect in directx?
so that it''s fast enough?
for example like in "moorhuhnjagd"

Share this post


Link to post
Share on other sites
quote:
Original post by lakibuk

how would you implement a parallax effect in directx?
so that it''s fast enough?
for example like in "moorhuhnjagd"

heh I played that game once....weird. Just do as witchlord says. But isn''t that just another way of saying 3D?

------------------------
Captured Reality

Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!