Jump to content
  • Advertisement
Sign in to follow this  
Naruto-kun

DX11 sprites and slices

This topic is 2035 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

Hi guys

 

So I am working on a weather radar simulation here. A friend of mine helped me capture the cloud sprites from the graphics engine of the simulator and now I want to put them through my own DX11 engine to get the display output.

 

First of all, here is how they look:

 

FSX1_zpsac800710.jpg

FSX2_zps5a66c902.jpg

 

FSX5_zps7d2adc50.jpg

FSX3_zpsc370e62b.jpg

FSX4_zps6819ac58.jpg

 

What I want to do is something like...condense them into a single volume, with a color at the spot where there is the highest density of sprites that kinda spreads but weakens towards the edges.

 

Then I need to take a slice out of that volume that represents the radar beam and display it on a 2D map.

 

Playing on this level with HLSL is new to me...Any ideas?

 

Thanks

JB

Share this post


Link to post
Share on other sites
Advertisement
Sounds similar to MPR rendering, multi-planar reformatting, which is used in medical imaging to render a slice through a volumetric image like a CT scan. You could google that for ideas.

Of course you'll need some way to create the volume from your data set. It's a bit hard to tell what you've got from the pictures. Are they a load of quads arranged in space? What to they define, cloud density?

Share this post


Link to post
Share on other sites

As I said, they are cloud sprites. A lot of quads with a cloud texture on them grouped together in random shapes and rotations to give the cloud appearance when in game:

 

YXhfa.jpg

 

So yeah for heavier clouds there will be more sprites.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

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

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!